This is an automated notification sent by LCG Savannah.
It relates to:
                task #14845, project CDS Invenio

==============================================================================
 OVERVIEW of task #14845:
==============================================================================

URL:
  <http://savannah.cern.ch/task/?14845>

                 Summary: Dumping/loading configuration
                 Project: CDS Invenio
            Submitted by: skaplun
            Submitted on: 2010-04-06 12:11
         Should Start On: 2010-04-06 00:00
   Should be Finished on: 2010-04-06 00:00
                Category: BibSched
                Priority: 3 - Low
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                  Effort: 0.00

    _______________________________________________________


BibSched tasks that are scheduled with the -s option can be thought to be a
kind of BibSched configuration for a system.

E.g. one installation of Invenio would typically set up default bibtasks such
as bibindex, bibrank, webcoll and so on, with options that are suited to their
typical usage. 

Moreover once bibtasklets will be part of the system, very specific tasks can
become part of the setup of a given Invenio installation.

A way to dump the current configuration of -s tasks, and to load it back,
would be a very nice feature to have, so that in anytime this configuration
can be stored.

We can ship a default bibsched.conf ini file such as:

[default_bibindex]
id=1 ## optional see below
priority=1 ## optional default 0
proc=bibindex
user=admin ## optional default admin
sleeptime=5m
arguments=-u admin -o HB -s 5m
host=localhost ## optional default localhost

...


We can choose to either let the system to choose the id when loading or
letting the dump/user to specify the id. In case the id already exist
bibsched should: 

* either complain with an error
* or substitute the existing task with the one coming from the config
* or allocate a new id

Probably the most common behaviour would be the second one, as admin might
wish to keep important tasks to have small id numbers.

We can ship Invenio with a default configuration in bibsched.conf
representing what comes with the HOWTO-RUN guide
<http://invenio-demo.cern.ch/help/admin/howto-run>, and allow for a
bibsched-local.conf file to be customized by Invenio users, by owerwriting
specific sections (e.g. they might customize the specific default_bibindex
section).



    _______________________________________________________

Carbon-Copy List:

CC Address                          | Comment
------------------------------------+-----------------------------
2195                                | -SUB-




==============================================================================

This item URL is:
  <http://savannah.cern.ch/task/?14845>

_______________________________________________
  Message sent via/by LCG Savannah
  http://savannah.cern.ch/

Reply via email to