This is an automated notification sent by LCG Savannah.
It relates to:
task #14017, project CDS Invenio
==============================================================================
LATEST MODIFICATIONS of task #14017:
==============================================================================
Follow-up Comment #1, task #14017 (project cdsware):
If we do this the generic way, hence offering pre/post/error execution call
backs, given the proposal of using plugins... and given the branch, not yet
merged, bitasklets, what about making the two efforts joint?
==============================================================================
OVERVIEW of task #14017:
==============================================================================
URL:
<http://savannah.cern.ch/task/?14017>
Summary: Add a "callback" function to BibUpload tasks
Project: CDS Invenio
Submitted by: jcaffaro
Submitted on: 2010-02-17 13:53
Should Start On: 2010-02-17 00:00
Should be Finished on: 2010-02-17 00:00
Category: BibUpload
Priority: 5 - Normal
Status: None
Privacy: Public
Percent Complete: 0%
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Effort: 0.00
_______________________________________________________
It is sometimes needed to run some jobs after a BibUpload task has completed.
For eg. one could want to immediately run BibIndex or WebColl tasks without
having to wait for these periodic tasks to wake up. Or one might want to send
an email notification once a record has been inserted.
This could be done by adding some sort of callback argument to BibUpload, for
eg:
$bibupload -i rec.xml
--post-process=bibindex,webcoll(c:Theses),email(to:[email protected])
(argument name and syntax for the callback to be re-worked...)
where 'bibindex', 'webcoll' and 'email' are defined as possible actions (for
eg. under the form of plugins available in some
/opt/cds-invenio/lib/python/invenio/bibupload_callbacks/ directory), taking
some input parameters (including the original BibUpload task?)
This could even be implemented at the level of BibTask/BibSched, so that the
concept could be extended to any other task.
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: 2010-02-25 09:35 By: Samuele Kaplun <skaplun>
If we do this the generic way, hence offering pre/post/error execution call
backs, given the proposal of using plugins... and given the branch, not yet
merged, bitasklets, what about making the two efforts joint?
_______________________________________________________
Carbon-Copy List:
CC Address | Comment
------------------------------------+-----------------------------
2195 | -COM-
2407 | -SUB-
==============================================================================
This item URL is:
<http://savannah.cern.ch/task/?14017>
_______________________________________________
Message sent via/by LCG Savannah
http://savannah.cern.ch/