Homec4science

BibCheck: new ticket creation policies

Authored by Dimitrios Semitsoglou-Tsiapos <dsemitso@cern.ch> on Oct 13 2014, 15:43.

Description

BibCheck: new ticket creation policies

  • Adds the --ticket-creation-policy option which can be either per-rule, per-record, per-rule-per-record or no-tickets. These control how tickets are dispatched, if at all. --no-tickets is preserved for backwards compatibility. (closes #2383) (PR #2841)
  • Turns errors, amendments and warnings of records into instances of the new Issue class. This allows for a more coherent way of storing and extracting this information.
  • Changes the call to BIBCATALOG_SYSTEM.ticket_submit to pass recordid only if the ticket concerns a single record.
  • Replaces hard-coded value with CFG_SITE_RECORD.
  • Discourages editing of record.errors, record.amendments and record.warnings by prepending them with _.

Co-authored-by: Samuele Kaplun <samuele.kaplun@cern.ch>
Signed-off-by: Samuele Kaplun <samuele.kaplun@cern.ch>

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Mar 24 2016, 18:36
Parents
R3600:3a52966f9d9d: BibCheck: support for bibupload --notimechange
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:15d36f06521d: BibCheck: new ticket creation policies (authored by Dimitrios Semitsoglou-Tsiapos <dsemitso@cern.ch>).Mar 24 2016, 18:36