#468: BibAuthorID: make some config parameters user-modifiable
--------------------------+----------------------
  Reporter:  simko        |      Owner:  scarli
      Type:  enhancement  |     Status:  assigned
  Priority:  major        |  Milestone:  v1.0
 Component:  BibAuthorID  |    Version:
Resolution:               |   Keywords:
--------------------------+----------------------

Comment (by simko):

 I forgot to add that depending on whether the config option is to
 produce integers, strings, lists, or dicts, you may need to alter
 `convert_conf_option()` in `inveniocfg.py` so that proper Pythonic
 representation would be generated in `config.py` after running
 `inveniocfg --update-all`.

 The idea is that `invenio.conf` should be easily editable by
 humans even without having to know Python syntax, whenever possible.
 So variables like `CFG_BIBAUTHORID_EXTERNAL_CLAIMED_RECORDS_KEY`
 should not be Pythonic lists, but rather strings separated by commas,
 out of which `inveniocfg` will produce desired Pythonic type.  See for
 example how Pythonic `CFG_SITE_LANGS` list in `config.py` is generated
 from easy-to-edit string representation such as `en,fr,de` in
 `invenio.conf`.

-- 
Ticket URL: <http://invenio-software.org/ticket/468#comment:5>
Invenio <http://invenio-software.org>

Reply via email to