Add --since option to marc_export cl script

Bug #1182253 reported by Mark Cooper
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Confirmed
Wishlist
Unassigned

Bug Description

It's useful to be able to export records from a certain creation or edit date.

1) We have workflows that require periodic record exports
2) Makes testing quick and easy

Only works with the --all flag

Example: marc_export --all --since=$(date -d '2 months ago' +%Y-%m-%d)
Example: marc_export --all --edited --since=$(date -d '2 days ago' +%Y-%m-%d)

And the link:
http://git.evergreen-ils.org/?p=working/Evergreen.git;a=commit;h=16a0b3521d05a8095fa9d55ec38648225288b3ab

Tags: pullrequest
description: updated
description: updated
Ben Shum (bshum)
Changed in evergreen:
status: New → Triaged
importance: Undecided → Wishlist
milestone: none → 2.5.0-m1
Revision history for this message
Ben Shum (bshum) wrote :

Tagging as needing a release note entry. Probably for cataloging, or maybe administration.

tags: added: needsreleasenote
Changed in evergreen:
status: Triaged → Incomplete
Dan Wells (dbw2)
Changed in evergreen:
milestone: 2.5.0-m1 → 2.5.0-m2
Dan Wells (dbw2)
Changed in evergreen:
milestone: 2.5.0-m2 → 2.5.0-alpha1
Remington Steed (rjs7)
Changed in evergreen:
milestone: 2.5.0-alpha1 → 2.5.0-alpha2
Dan Wells (dbw2)
Changed in evergreen:
milestone: 2.5.0-alpha2 → 2.5.0-beta1
Dan Wells (dbw2)
Changed in evergreen:
milestone: 2.5.0-beta1 → 2.5.0-rc
Dan Wells (dbw2)
Changed in evergreen:
milestone: 2.5.0-rc → 2.next
Revision history for this message
Dan Scott (denials) wrote :

Definitely useful functionality. I noticed that this only supports exporting bib records created since a given time; it should handle authority records as well.

Therefore I've pushed a branch to http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/dbs/marc_export_since that also includes a release notes entry.

Revision history for this message
Dan Scott (denials) wrote :

Err, that branch adds support for authority --since functionality along with the release notes entry... sorry for the lack of clarity there.

tags: removed: needsreleasenote
Dan Wells (dbw2)
Changed in evergreen:
milestone: 2.6.0-alpha1 → 2.6.0-beta1
Dan Wells (dbw2)
Changed in evergreen:
status: Incomplete → Confirmed
Revision history for this message
Ben Shum (bshum) wrote :

Fixed with bug 1223903. Marking as duplicate of that bug to link them together and close this one.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.