On 05.04.2012 14:23, Samuele Kaplun wrote: Hello Samuele!
as part of<http://invenio-software.org/ticket/997> I would like to change the syntax of a config variable in invenio.conf, namely: CFG_BATCHUPLOADER_WEB_ROBOT_AGENT This is currently considered as a comma-separated list of authorized user agent strings while I would like to change it into a regular expression that will be used to match incoming user-agent strings. The problem of course is for Invenio users who have customized this variable to know that they will need to update this value.
Wouldn't it be cleaner to use a new variable and let invenio throw a complaint if it finds the old one? E.g. an exception that notifies root about the issue? Or similarly if it finds the wrong syntax... -- Kind regards, Alexander Wagner Subject Specialist Central Library 52425 Juelich mail : [email protected] phone: +49 2461 61-1586 Fax : +49 2461 61-6103 www.fz-juelich.de/zb/DE/zb-fi ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Kennen Sie schon unsere app? http://www.fz-juelich.de/app

