Feature #850

Global rsb.conf file

Added by Anonymous about 12 years ago. Updated about 12 years ago.

Status:ResolvedStart date:02/03/2012
Priority:NormalDue date:
Assignee:J. Moringen% Done:

100%

Category:Configuration
Target version:0.6

Description

There should be a global rsb.conf configuration file in addition to user-specific and application-specific files as well as environment variables.
The file should be located in /etc/, possibly /etc/rsb/rsb.conf or something similar.

  • C++ ✓, no suitable implementation for MacOS
  • Java (✓), no suitable implementation for Windows, MacOS
  • Common Lisp ✓, no suitable implementation for MacOS
  • Python (✓), no suitable implementation for MacOS

Associated revisions

Revision 1b818ceb
Added by J. Moringen about 12 years ago

Try /etc/rsb.conf in src/configuration.lisp
refs #850
  • src/configuration.lisp (options-from-default-sources): try
    /etc/rsb.conf

Revision d255de28
Added by J. Moringen about 12 years ago

Added processing of system config file in src/rsb/ParticipantConfig.cpp
refs #850
  • src/rsb/ParticipantConfig.cpp: try to process an rsb.conf file in
    the directory returned by rsc::config::systemConfigDirectory

Revision f3315fb1
Added by J. Moringen about 12 years ago

Try to read /etc/rsb.conf in rsb/__init__.py
refs #850
  • rsb/__init__.py: try to read configuration from global configuration
    file /etc/rsb.conf

Revision bb9ee2ea
Added by J. Moringen about 12 years ago

Try to read /etc/rsb.conf in src/rsb/util/Properties.java
fixes #850
  • src/rsb/util/Properties.java: try to read /etc/rsb.conf; fixed
    indentation

Revision 6f1d0bb2
Added by J. Moringen about 12 years ago

Added default-configuration-files in src/variables.lisp
refs #850
  • src/variables.lisp (default-configuration-files): new variable;
    list of default configuration file names
  • src/configuration.lisp (options-from-default-sources): accept
    keyword parameter config-files with default
    `*default-configuration-files*'
  • src/package.lisp (package rsb): added exported symbol
    default-configuration-files

History

#1 Updated by J. Moringen about 12 years ago

  • Category set to Configuration
  • Status changed from New to In Progress
  • Assignee set to J. Moringen
  • Target version set to 0.6

#2 Updated by J. Moringen about 12 years ago

@Stefan: since you also suggested this, do you have any additional thoughts on this?

#3 Updated by S. Herbrechtsmeier about 12 years ago

No, it doesn’t matter if it is under /etc/rsb.conf or /etc/rsb/rsb.conf.
If it will be only one file I would prefer /etc/rsb.conf.

#4 Updated by J. Moringen about 12 years ago

  • % Done changed from 0 to 20

#5 Updated by J. Moringen about 12 years ago

  • % Done changed from 20 to 50

#6 Updated by J. Moringen about 12 years ago

  • Description updated (diff)
  • % Done changed from 50 to 70

#7 Updated by J. Moringen about 12 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 70 to 100

Applied in changeset r3381.

#8 Updated by J. Moringen about 12 years ago

  • Description updated (diff)

Also available in: Atom PDF