#468: BibAuthorID: make some config parameters user-modifiable
-------------------------+--------------------------------------------------
Reporter: simko | Owner:
Type: enhancement | Status: new
Priority: major | Milestone: v1.0
Component: BibAuthorID | Version:
Keywords: |
-------------------------+--------------------------------------------------
`bibauthorid_config.py` contains many parameters for BibAuthorID that
some Invenio installations may want to tweak. It is not good to have
them living inside "core" config file, as it is not easy to sites to
change and maintain their changes. This file usually contains only
internal parameters of coding interest that users don't want to
change, see for example `CFG_WEBBASKET_SHARE_LEVELS` in
`webbasket_config.py`.
The config variables of BibAuthorID should be split:
(a) Variables that users may want to tweak should be put into main
`invenio.conf` file with the prefix `CFG_BIBAUTHORID_*`, see for
example `CFG_BIBINDEX_*`.
(b) Alternatively, and perhaps preferably in my eyes, we can introduce
a new config file `bibauthorid/etc/bibauthorid.cfg` that would get
installed into `etc` place and that people can modify during runtime
as they see fit; see for example `wrd.cfg`.
If there are chances to have many config files for BibAuthorID module,
the (b) technique is probably preferable; otherwise (a) would be
sufficient. Moreover, if BibAuthorID is to run on grid nodes where
Invenio is not installed, the latter `bibauthorid.cfg` technique may
be more appropriate.
(c) Regardless of choosing (a) or (b), the internal variables that
only programmers may want to change -- see the above-mentioned
`CFG_WEBBASKET_SHARE_LEVELS` example -- should stay in
`bibauthorid_config.py`.
--
Ticket URL: <http://invenio-software.org/ticket/468>
Invenio <http://invenio-software.org>