#941: Truncated history revision for revisions
--------------------+-----------------------------
Reporter:  adeiana  |       Owner:
    Type:  defect   |      Status:  assigned
Priority:  major    |   Component:  *installation*
 Version:           |  Resolution:
Keywords:           |
--------------------+-----------------------------
Changes (by simko):

 * status:  in_merge => assigned


Comment:

 Thanks.  Can you please do the following:

 * update Makefile.am's target `update-db-from-v1.0-to-v1.1` with
 appropriate ALTER TABLE statement;

 * turn your `clean_history_tables` script into a new CLI option for the
 bibedit tool, such as `bibedit --check-revisions [recid]`, that would
 detect bad revisions for given record (or for all records if given
 asterisk, say) and that would not only list troublesome revisions, but
 perhaps also interactively ask whether to delete any found troublesome
 revisions.  (BTW, when checking, beware that there may be  bibupload
 processes running.) See `bibedit --help` for other existing options WRT
 record revisions; you can emulate what these do and edit `bibeditcli.py`
 in this respect.

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

Reply via email to