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

Persist Globus file size #3256

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Persist Globus file size #3256

wants to merge 1 commit into from

Commits on Jul 19, 2023

  1. Persist Globus file size

    Modify the FetchGlobusJob to use GlobusClient.list_files instead of
    GlobusClient.get_filenames so that it can get access to the file sizes
    as well as the file names.
    
    GlobusService.download_chunk needed to be defined as a no-op or else the
    call to attach the blob throws a NotImplementedError when it tries to
    identify the content type of a blob with a non-zero size.
    
    Also add a cleanup:file_sizes rake task for updating the 0 file sizes
    using the size stored in SDR.
    
    Fixes #3230
    edsu committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    d959428 View commit details
    Browse the repository at this point in the history