Skip to content

remote.nextstrain_dot_org: Yield resource URL before deletion not after#209

Merged
tsibley merged 1 commit intomasterfrom
trs/remote/nextstrain.org-delete-order
Jul 29, 2022
Merged

remote.nextstrain_dot_org: Yield resource URL before deletion not after#209
tsibley merged 1 commit intomasterfrom
trs/remote/nextstrain.org-delete-order

Conversation

@tsibley
Copy link
Contributor

@tsibley tsibley commented Jul 27, 2022

A pre-action yield matches the messaging of the remote delete command
as of "remote delete: Update messaging to match pre-deletion behaviour"
(bb4ab4c) and the behaviour of the S3 remote as of "remote.s3: Rework
delete() to have a similar API to the other commands" (cc86a1a).

The post-action yield was an oversight and bug in the initial remote
implementation.

Testing

  • Ran updated command locally
  • CI passes

@tsibley tsibley requested a review from a team July 27, 2022 18:28
A pre-action yield matches the messaging of the `remote delete` command
as of "remote delete: Update messaging to match pre-deletion behaviour"
(bb4ab4c) and the behaviour of the S3 remote as of "remote.s3: Rework
delete() to have a similar API to the other commands" (cc86a1a).

The post-action yield was an oversight and bug in the initial remote
implementation.
@tsibley tsibley force-pushed the trs/remote/nextstrain.org-delete-order branch from 2aff0a0 to 244b530 Compare July 27, 2022 18:30
@tsibley tsibley merged commit 244b530 into master Jul 29, 2022
@tsibley tsibley deleted the trs/remote/nextstrain.org-delete-order branch July 29, 2022 18:39
@tsibley
Copy link
Contributor Author

tsibley commented Jul 29, 2022

Whoops, I forgot #210 was based on this one and merged it first, thus merging this. I'm ok with that, given the scope of this change. My thinking for splitting them is that this obvious fix could get merged quickly and the --dry-run stuff might take more time, but it didn't!

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.

1 participant