Skip to content

Releases: caltechlibrary/eprints2archives

Release 1.3.5

24 Mar 16:50
Compare
Choose a tag to compare

Changes in this version:

  • Fix bug in definition of Service class in services/base.py.
  • Update some package versions in requirements.txt.
  • Pin more versions of packages in requirements.txt.
  • Change name of runnable program to have dash between the name eprints2archives and the version number.
  • Updated copyright year in file headers and other places.

Release 1.3.4

26 Apr 00:31
Compare
Choose a tag to compare

Changes in this version:

  • Fix handling of occasionally unexpected timemap result from InternetArchive.
  • Update versions of some dependencies in requirements.txt.
  • Add of CITATION.cff file.

Release 1.3.3

20 Jul 20:04
Compare
Choose a tag to compare

Changes in this release (relative to previous release)

  • Define console_scripts for setuptools to produce a better wrapper script.
  • Update all requirement versions to latest versions of packages. This was not done for over a year and it showed...
  • Add requirement for a certain package imported by another requirement but that does not, for some reason, get imported properly when a clean virtual environment is created in the process of making pyz apps.

New: self-contained binary distributions

This release includes standalone, runnable binaries for macOS and Linux. These experimental binaries were built using shiv. They only need a copy of Python 3.6, 3.7, 3.8 or 3.9 on your system to run – they don't require installation of additional Python packages using (e.g.) pip. They should work on macOS 10.13–11.1, Ubuntu 18+, CentOS 7.5, and probably others. To use them:

  1. Download the zip file for either the Python 3.6, 3.7, 3.8 or the 3.9 version, depending on the version of Python you have installed on your computer. (Use python3 --version to find out the version you have.)

  2. Unzip the resulting file (if your web browser did not automatically unzip it).

  3. Move the file eprints2archives to a location where your terminal shell looks for programs. A popular location is /usr/local/bin.

Thereafter, you should be able to type eprints2archives in your shell and it should run. (If it does not, please report the problem using the issue tracker.) Note that the first time you run it, eprints2archives will take longer than usual to start because it does a one-time configuration step, but on subsequent runs, startup times should be shorter.

Release 1.3.2

19 Jul 18:10
Compare
Choose a tag to compare

Changes in this release

  • Fix a mixhandled exception when a server returns a code 500.
  • Improve catching interrupts on Windows.
  • Use CommonPy network utilities, file utilities, and data utilities instead of internal copies.
  • Use Bun user interface code instead of internal copy. Also change some colors of messages printed by eprints2archives.
  • Update internal imports and some requirements.
  • Update copyright year.

New: self-contained binary distributions

This release includes standalone, runnable binaries for macOS. These experimental binaries were built using shiv. They only need a copy of Python 3.7, 3.8 or 3.9 on your system to run – they don't require installation of additional Python packages using (e.g.) pip. They should work on macOS 10.13–11.1. To use them:

  1. Download the zip file for either the Python 3.7, 3.8 or the 3.9 version, depending on the version of Python you have installed on your computer

  2. Unzip the resulting file (if your web browser did not automatically unzip it)

  3. Move the file eprints2archives to a location where your terminal shell looks for programs. A popular location is /usr/local/bin.

Thereafter, you should be able to type eprints2archives in your shell and it should run. (If it does not, please report the problem using the issue tracker.) Note that the first time you run it, eprints2archives will take longer than usual to start because it does a one-time configuration step, but on subsequent runs, startup times should be shorter.

Release 1.3.1

02 Oct 19:15
Compare
Choose a tag to compare

This version has no functional or user-interface changes. It brings only some minor documentation updates to README.md and the following internal changes:

  • Use Sidetrack instead of internal debug.py version of the same.
  • Internally, use different approach to recording version number and other metadata.
  • Use updated release procedure codified in Makefile.

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

Version 1.3.0

11 Sep 19:03
Compare
Choose a tag to compare

The following are the main changes in this release:

  • Check that URLs obtained from EPrints records appear to be valid URLs, before trying to send them to web archives. (This is mostly to catch bad values in the official_url record field.)
  • Be more careful about which /view/X/N.html pages are sent.
  • Do a better job with HTTP code 400 from Internet Archive.
  • Add some more debug log statements.
  • Some more internal network code refactoring.

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

Version 1.2.2 – Minor bug fix

09 Sep 17:12
Compare
Choose a tag to compare

Changes in this release:

  • Retry network operations one time if get HTTP code 400.
  • Internal network code refactoring.

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

Version 1.2.1 – Minor bug fixes

03 Sep 18:00
Compare
Choose a tag to compare

Changes in this release:

  • Add missing requirements.txt dependency for h2 package.
  • Make parsing of malformed id ranges slightly more robust.
  • Fix incorrect pluralization of an info message.
  • Remove accidentally left-in invocation of pdb upon errors even if debugging not enabled.
  • Edit the README.md file slightly.

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

Version 1.2.0 – Coverage improvements and use of HTTP/2

02 Sep 17:55
Compare
Choose a tag to compare

Changes in this release:

  • In addition to the record pages, eprints2archives now also harvests general URLs from the server, including the top-level URL and /view and 2 levels of pages underneath it. However, if a subset of records is requested, only gets those particular /view/X/N.html pages rather than all pages under /view/X/.
  • Internal changes allow it to use protocol HTTP/2, which was necessary to communicate with Archive.Today (because it appears to have stopped accepting save requests unless HTTP2 is used).
  • Now tries to add https:// or http:// if the user forgets to provide it, and also removes /eprint and adds /rest if needed. This makes it possible for the user to just provide a host name and eprints2archives will figure out the rest.
  • Minor improvements to some of the run-time status messages.
  • More progress bars!
  • Improvements to debug logging.
  • Improvements to README.md.
  • Internal code refactoring.

Version 1.1.0 – Better coverage of /view pages

21 Aug 20:06
Compare
Choose a tag to compare

The main change in this release is the addition of some simple web-scraping code to extract the pages under /view (as well as the subpages of those pages) from an EPrints site. The approach looks for some common HTML/CSS constructs in EPrints pages and should work for normal EPrints 3.x sites.