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

Make data download URLs default-branch-name agnostic [#6] #7

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

genehack
Copy link
Contributor

@genehack genehack commented Nov 19, 2024

Description of proposed changes

Swap master in data download URLs for @.

This is in preparation for renaming the default branch from master to main, and provides some insulation against any future default branch name changes, should that ever happen.

Related issue(s)

#6
nextstrain/private#118

Checklist

  • Checks pass

This is in preparation for renaming the default branch from `master`
to `main`, and provides some insulation against any future default
branch name changes, should that ever happen.
Copy link
Contributor

@j23414 j23414 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ohh, I didn't know the @ feature. Looks good to me:

nextflow run nextstrain/zika-tutorial-nextflow \
  -r rename-master-to-main-6 \
  -profile docker 
  
N E X T F L O W  ~  version 23.04.4
Launching `https://github.com/nextstrain/zika-tutorial-nextflow` [extravagant_archimedes] DSL2 - revision: eb89ed0514 [rename-master-to-main-6]
WARN: Access to undefined parameter `help` -- Initialise it to a default value eg. `params.help = some_value`
executor >  local (10)
[92/d4f72f] process > fetch_zika_tutorial [100%] 1 of 1 ✔
[8c/2def5a] process > index (1)           [100%] 1 of 1 ✔
[6d/a95f37] process > filter (1)          [100%] 1 of 1 ✔
[27/6de525] process > align (1)           [100%] 1 of 1 ✔
[40/066c9e] process > tree (1)            [100%] 1 of 1 ✔
[1e/eda5a1] process > refine (1)          [100%] 1 of 1 ✔
[3b/b4e0a9] process > ancestral (1)       [100%] 1 of 1 ✔
[14/13ac15] process > translate (1)       [100%] 1 of 1 ✔
[e7/587524] process > traits (1)          [100%] 1 of 1 ✔
[e2/16afbf] process > export (1)          [100%] 1 of 1 ✔

nextstrain view results

@genehack genehack merged commit 46b460a into master Nov 19, 2024
@genehack genehack deleted the rename-master-to-main-6 branch November 19, 2024 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants