Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add put method for Collections #219

Merged
merged 5 commits into from
Sep 18, 2024
Merged

Commits on Sep 17, 2024

  1. Add put method for Collections

    Change defaults for checksum-related API method keywords to False in
    order to make behaviour and responsibility for the decision clearer.
    API callers are now responsible for setting these flags to True where
    they are needed.
    
    Separate checksum retrieval, updates and verification more clearly.
    
    Add a checkum keyword to DataObject::list.
    
    Add checksum size/consistency check for zero-length data objects.
    kjsanger committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    efb5b15 View commit details
    Browse the repository at this point in the history
  2. Add local_checksum parameter to Collection::put

    Adding this parameter allows a callable to be supplied which can
    obtain per-file checksums during a recursive put operation. e.g. by
    reading from an accompanying .md5 file or by deciding, based on file
    size, whether to calculate checksums or to insist that an earlier
    process supply one pre-calculated.
    
    Improve test coverage of checksum operations.
    kjsanger committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    1231af1 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. Add an existence check for iRODS groups when setting up tests

    This check make re-running tests more reliable in cases where the test
    teardown has failed to remove test groups from iRODS.
    kjsanger committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    e66dd79 View commit details
    Browse the repository at this point in the history
  2. Remove redundant f-strings

    kjsanger committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    46e21fc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0c9acba View commit details
    Browse the repository at this point in the history