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

remote download: Use more of the resource path in the local filename #213

Merged
merged 1 commit into from
Aug 2, 2022

Conversation

tsibley
Copy link
Member

@tsibley tsibley commented Aug 1, 2022

Includes all of the resource path except for the leading namespace part
(if any), e.g. /groups/X or /staging.

This reduces the potential for ambiguous filenames and makes it easier
to copy datasets/narratives between destinations (e.g. from one group to
another) while retaining the same path. It is, however, a
potentially-breaking change if you're relying on the filenames of
the downloaded datasets/narratives (e.g. for automation).

Related issue(s)

Related to #169.

Testing

  • Tried downloading various datasets and narratives and observed filenames
  • Tests pass locally
  • CI passes

Includes all of the resource path except for the leading namespace part
(if any), e.g. /groups/X or /staging.

This reduces the potential for ambiguous filenames and makes it easier
to copy datasets/narratives between destinations (e.g. from one group to
another) while retaining the same path.  It is, however, a
**potentially-breaking change** if you're relying on the filenames of
the downloaded datasets/narratives (e.g. for automation).
@tsibley tsibley requested a review from a team August 1, 2022 22:43
@tsibley tsibley merged commit 2b73091 into master Aug 2, 2022
@tsibley tsibley deleted the trs/remote-download/filenames branch August 2, 2022 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

2 participants