Skip to content

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

Merged
tsibley merged 1 commit intomasterfrom
trs/remote-download/filenames
Aug 2, 2022
Merged

remote download: Use more of the resource path in the local filename#213
tsibley merged 1 commit intomasterfrom
trs/remote-download/filenames

Conversation

@tsibley
Copy link
Contributor

@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