Recent Releases of eprints2bags

eprints2bags - Release 1.10.3

This version fixes a minor error in CITATION.cff.

- Python
Published by mhucka almost 3 years ago

eprints2bags - Release 1.10.2

This version only updates information in CITATION.cff, codemeta.json, and a few other files. There are no functional changes in this release.

- Python
Published by mhucka almost 3 years ago

eprints2bags - Release 1.10.1

Changes in this version: * Fix reference to wrong exception name in network code. * Add missing import of aenum to requirements.txt

- Python
Published by mhucka almost 4 years ago

eprints2bags - Release 1.10.0

Changes in this release:

  • Removed delay option -y. Servers should probably implement throttling if rates are a problem, and anyway, the default value was probably too short to be of any use, so it's unlikely this option was of any use anyway.
  • Switched to using cpu_count() from Python os package instead of our own custom code.
  • Switched to using Sidetrack instead of original internal debug logging code.
  • Switched to using Bun for basic terminal output.
  • Switched to using CommonPy for common utilities.
  • Internally, use different approach to recording version number and other metadata.
  • Updated and refactored Makefile.
  • Added CITATION.cff file.
  • Refactored and update internal code.
  • Renamed branch master to main.

- Python
Published by mhucka almost 4 years ago

eprints2bags - Release 1.9.2

Critical fix – this version fixes a bug that caused eprints2bags to write zero-length data files when used with newer versions of Python. You should upgrade your copy of eprints2bags to this version. This version also reports skipped records separately from missing records (in the final summary at the end of a run).

The file CHANGES contains a more complete change log that includes information about previous releases.

- Python
Published by mhucka over 5 years ago

eprints2bags - Release 1.9.1

This release updates the README file to explain how to install from PyPI, and fixes some internal files related to producing releases on PyPI.

- Python
Published by mhucka over 6 years ago

eprints2bags - Version 1.9.0

Changes in this release:

  • Fixed issue #9: out-of-order id lists are ignored.
  • Added fix by Tom Morrell to files.py for when output is in the current directory.
  • Changed the debug option -@ to accept an argument for where to send the debug output trace. The behavior change of -@ is not backward compatible.
  • Internally, package metadata is now stored in setup.cfg. Also, there is no eprints2bags/__version__.py anymore, and instead, some special code in eprints2bags/__init__.py extracts package-level variables directly from the installation created by pip.
  • Redesigned the icon for eprints2bags to tie into Eprints a little bit better.
  • Changed Caltech logo used on the bottom of the README.md file. The previous logo is only approved by Caltech for use in certain official contexts.
  • Fixed various small errors in the README.md file.
  • Released on PyPI.

The file CHANGES contains a more complete change log that includes information about previous releases.

- Python
Published by mhucka over 6 years ago

eprints2bags - Version 1.8.2

This minor release improves handling of server and network connectivity issues by pausing and retrying a few times before giving up completely.

- Python
Published by mhucka about 7 years ago

eprints2bags - Version 1.8.1

This minor release fixes a performance issue introduced in the previous release, related to how multiple processes were used. The program is back to the speed it was before 1.8.0.

- Python
Published by mhucka about 7 years ago

eprints2bags - Version 1.8.0

This release brings significant changes to the behavior and user interface. First, if desired, eprints2bags can now create a top-level bag containing the archived bags it creates. This top-level bag itself can also be put into a single-file archive if desired. This behavior is controlled by the new option -e in combination with the (renamed) option -b and the new option -t. (The default behavior remains not to create an overall bag or archive.) Along with these changes, several existing command-line arguments have changed names and abbreviations. Please see the help text for the new names. Finally, a new option -c is available for changing the number of processes used during the bagging step to calculate checksums, and eprints2bags now uses multiple processes for that step by default.

The file CHANGES contains a more complete change log that includes information about previous releases.

- Python
Published by mhucka about 7 years ago

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 that eprints2bags will only keep those records whose <eprints_status> field value is not among those given. Examples: eprints2bags -s archive -a ... or eprints2bags -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.)

- Python
Published by mhucka about 7 years ago

eprints2bags - 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.

- Python
Published by mhucka about 7 years ago

eprints2bags - 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 is isVolatileVersionOf. 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.

- Python
Published by mhucka about 7 years ago

eprints2bags - 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 to CODE_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.

- Python
Published by mhucka about 7 years ago

eprints2bags - 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.

- Python
Published by mhucka about 7 years ago

eprints2bags - 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.

- Python
Published by mhucka about 7 years ago