Skip to content

Releases: sdss/sdss_access

sdss_access 1.0.0

07 May 18:26
Compare
Choose a tag to compare

This release is a major refactor that coincides with the release of tree 3.0.0. This release allows for versioning of paths defined in tree for use in sdss_access.

  • Modified sdss_access to use the new versioned tree. Removes input and dependency on single sdss_paths.ini file.
  • sdss_access no longer uses ConfigParser to parse the sdss_paths.ini file
  • path templates are passed in directly from the tree python product
  • The symbol for "special function" path definition has changed from % to @
  • sdss_access now checks for compressed/uncompressed files on disk compared to its path template definition
  • remote access classes, i.e RsyncAaccess, no longer need both public and release to be specified to access DRs. Sets public=True automatically if DR in release name.
  • Added path.changelog module with new compute_changelog and get_path_templates functions to compute changes in paths between releases
  • Moved tests out of sdss_access python package to top level.
  • Deprecated included logger and config in favor of sdsstools logger and config.
  • Simplified python package setup.cfg and consolidated requirements files

What's Changed

  • Updates sdss_access to enable path versioning by @havok2063 in #15

Full Changelog: 0.2.11...1.0.0

sdss_access 0.2.11

07 May 14:28
Compare
Choose a tag to compare

This tag pins the sdss-tree requirement to versions <3.0

sdss_access 0.2.10

23 Apr 14:46
Compare
Choose a tag to compare

Fixed

  • Bug in remote file existence check for following redirects.

sdss_access 0.2.9

06 Dec 15:31
Compare
Choose a tag to compare

This tag primarily fixes a few bugs when using sdss_access on Windows. Tag ahead of DR16.

Fixed

  • bug in rtfd build failures
  • Issue :issue:12 - bug on Windows when HOME drive different than Window temporary directory drive
  • Issue :issue:11 - bug on Windows not creating temporary paths correctly

sdss_access 0.2.8

12 Nov 20:09
Compare
Choose a tag to compare

This tag adds Windows support to sdss_access utilizing curl to enable downloading on Windows machines.

Added

  • new extract method to return extracted keywords from a given filename
  • new tests for sdss_access.path
  • methods to extract and look up source code given a method name
  • sdss_access now has a CurlAccess class to enable use on Windows OS
  • implemented new BaseAccess class to abstract out commonalities between RsyncAccess and CurlAccess
  • added a general Access class which handles the choice between Rsync/CurlAccess
  • added public access for HttpAccess

Changed

  • expanded lookup_keys to also look for keywords inside special % functions
  • moved special function template substitution into a separate method
  • replaced template envvar substitution with os.path.expandvars
  • updating yaml.load to use FullLoaded in compliance with pyyaml 5.1
  • changing disutils.strictversion to parse_versions
  • moved methods from RsyncAccess and CurlAccess into common BaseAccess
  • refactored the test suite to add tests on DR data, and simplify new path entries

Fixed

  • Bug fix for pathlib on 2.7 python systems
  • Issue :issue:9 Bug fix in generate_stream_task for public rsync locations

sdss_access 0.2.7

06 Sep 23:39
Compare
Choose a tag to compare

Added

  • Ability to check for a remote file existence on the SAS

Changed

  • rsync.reset now resets both the initial stream and the real stream
  • rsync.add now accepts the full keyword argument
  • rsync.full now checks for itself in kwargs and returns that

sdss_access 0.2.6

10 Jul 21:37
Compare
Choose a tag to compare

Fixes a bug when checking for missing keys. Removes the formatting syntax from the key before checking against input keyword arguments.

sdss_access 0.2.5

09 Jul 15:04
Compare
Choose a tag to compare

Updates include

  • Bug fixes to ensure proper handling of public data releases
  • new lookup_names method to look up available path names
  • Proper config file closures using with contextmanager
  • sdss_access now replants the tree on init of Path or RsyncAccess with release input