Skip to content

Commit

Permalink
Update fetch-from-rki-*
Browse files Browse the repository at this point in the history
- Use the github.com URL to auto redirect to the Git LFS location
- add `--location` flag to follow redirect
- updated branch to `HEAD` to always point to the default branch

Resolves <#487>
  • Loading branch information
joverlee521 committed Jan 23, 2025
1 parent e359b7e commit b5f4c8d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Binary file added SARS-CoV-2-Sequenzdaten_Deutschland.tsv.xz
Binary file not shown.
4 changes: 2 additions & 2 deletions bin/fetch-from-rki-metadata
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
set -euo pipefail

curl "https://raw.githubusercontent.com/robert-koch-institut/SARS-CoV-2-Sequenzdaten_aus_Deutschland/main/SARS-CoV-2-Sequenzdaten_Deutschland.tsv.xz" \
--fail --silent --show-error --http1.1 \
curl "https://github.com/robert-koch-institut/SARS-CoV-2-Sequenzdaten_aus_Deutschland/raw/HEAD/SARS-CoV-2-Sequenzdaten_Deutschland.tsv.xz" \
--fail --silent --show-error --http1.1 --location \
--header 'User-Agent: https://github.com/nextstrain/ncov-ingest ([email protected])'
4 changes: 2 additions & 2 deletions bin/fetch-from-rki-sequences
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
set -euo pipefail

curl "https://raw.githubusercontent.com/robert-koch-institut/SARS-CoV-2-Sequenzdaten_aus_Deutschland/master/SARS-CoV-2-Sequenzdaten_Deutschland.fasta.xz" \
--fail --silent --show-error --http1.1 \
curl "https://github.com/robert-koch-institut/SARS-CoV-2-Sequenzdaten_aus_Deutschland/raw/HEAD/SARS-CoV-2-Sequenzdaten_Deutschland.fasta.xz" \
--fail --silent --show-error --http1.1 --location \
--header 'User-Agent: https://github.com/nextstrain/ncov-ingest ([email protected])'

0 comments on commit b5f4c8d

Please sign in to comment.