Releases: caltechlibrary/eprints2bags
Version 1.7.0
The following are the main changes in this release:
- The new command-line option
--status
(-s
for short) allows you to specify values of the<eprint_status>
field that should be used to filter candidate records. When this option is given,eprints2bags
will only keep those records having a status value that appears in the comma-separated argument to-s
. Putting a caret character (^
) in front of the status (or status list) negates the sense, so thateprints2bags
will only keep those records whose<eprints_status>
field value is not among those given. Examples:eprints2bags -s archive -a ...
oreprints2bags -s ^inbox,buffer,deletion -a ...
. - The file comments written to the ZIP archive file have been corrected to state the version of the BagIt format that is actually being used. (It's v0.97, not v1.0, though I don't think the differences matter for this program.)
Version 1.6.0
The following are the main changes in this release:
- This release adds a new command-line option
--lastmod
(-l
for short) that allows the user to specify a date/time stamp, to return only those records whose last-modified date/time stamp is no older than the given description. Valid descriptors are those accepted by the Python dateparser library. Example:eprints2bags --lastmod "yesterday at noon" -a ...
. - This release also fixes a bug in parsing the values handed to
--id-list
.
The file CHANGES contains a more complete change log that includes information about previous releases.
Version 1.5.0
Main changes in this release:
eprints2bags
now determines which derived files to ignore for a given record by looking at the<relation>
element for each<document>
listed in the<documents>
element of a record , and checking if the relationship isisVolatileVersionOf
. This makes it possible to ignore thumbnail images no matter what format or file name they have.eprints2bags
also now stores user login & password information on a per-server basis, instead of (as previously) using a single login & password for all servers.- Some newly-discovered bugs fixed.
The file CHANGES contains a more complete change log that includes information about previous releases.
Version 1.4.0
This release has numerous important bug fixes and other changes.
- fixes an important network handling bug that could cause incomplete records to be saved
- fixes bugs in handling network exceptions while downloading content from servers
- improves detection of file system limitations
- fixes bugs in handling some command-line arguments
- makes
-o
an optional command-line argument - fixes several Python package import issues
- renames
CONDUCT.md
toCODE_OF_CONDUCT.md
so that GitHub can find it - adds
CONTRIBUTING.md
- updates the documentation.
This release also fixes some other minor bugs and includes some internal code refactoring.
Version 1.3.0
Major user-visible changes in this release:
-
eprints2bags
now generates uncompressed ZIP archives of bags by default, instead of using the compressed tar format. This was done in the belief that ZIP format is more widely supported and because compressed archive file contents may be more difficult to recover if the archive file becomes corrupted. Using uncompressed ZIP hopefully reduces the chances of problems over the long term. -
eprints2bags
now uses the operating system's keychain/keyring services to store the user name and password between runs, for convenience and (hopefully) better security. -
Some of the the command-line options have been changed.
Version 1.2.1
This is the first full release of eprints2bags, a program that encapsulates the processes needed to gather EPrints materials and bundle them up in BagIt bags. The program works over a network using an EPrints server's REST API. It downloads a subset of records or all records, and bags them up individually. Eprints2bags is a command-line tool written in Python 3.
Features include support for different ways of supplying the list of records to be bagged, and the ability to store login & password credentials using the normal keychain/keyring functionality provided by the user's operating system.