-
Notifications
You must be signed in to change notification settings - Fork 7
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
Create XZ-compressed Git repos and download from them #91
Comments
anthonyfok
added
Enhancement
New feature or request
Priority: Should Have
Severity: Major
Task
labels
Apr 29, 2021
NotesRepos to compress
(inside brackets are the rough time for compression with Quickly verifying checksum
Corner casesOpenDRR/opendrr-api/python/add_data.sh currently fetches some historic CSV files that may have already been deleted in HEAD.
|
anthonyfok
changed the title
Create compressed versions of repos (and/or HTTP proxy?)
Create XZ-compressed Git repos and download from them
May 10, 2021
anthonyfok
added a commit
that referenced
this issue
May 20, 2021
to download from xz-compressed repos for speed and cost-saving (no LFS) See #91
anthonyfok
added a commit
to anthonyfok/opendrr-api
that referenced
this issue
May 21, 2021
to download from xz-compressed repos for speed and cost-saving (no LFS) See OpenDRR#91
anthonyfok
added a commit
to anthonyfok/opendrr-api
that referenced
this issue
May 21, 2021
to download from xz-compressed repos for speed and cost-saving (no LFS) See OpenDRR#91
23 tasks
anthonyfok
added a commit
that referenced
this issue
Jun 3, 2021
to download from xz-compressed repos for speed and cost-saving (no LFS) See #91
anthonyfok
added a commit
that referenced
this issue
Jun 7, 2021
to download from xz-compressed repos for speed and cost-saving (no LFS) See #91
anthonyfok
added a commit
that referenced
this issue
Jun 14, 2021
to download from xz-compressed repos for speed and cost-saving (no LFS) See #91
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tasks
Edit theAdd newfetch_csv
functionfetch_csv_xz
function in OpenDRR/opendrr-api/python/add_data.sh to download from these compressed reposfetch_csv
function asfetch_csv_lfs
fetch_csv
function to callfetch_csv_xz
and fallback tofetch_csv_lfs
Description
Git LFS file download failure (Issue #90) might have been caused by we running out of our GitHub monthly bandwidth quota, especially with my frequent run of
docker-composer up --build
anddocker-composer down -v
in recent days.Create compressed equivalents of LFS repos, e.g. model-inputs →
model-inputs-gz ormodel-inputs-xz, etc. (2021-05-10 update: xz is chosen for its SHA-256 sum feature which matchesoid sha256
entries in Git LFS pointer files.)Or perhaps use our B2 or S3 bucket? (populate manually or using GitHub Actions)Or can some kind of HTTP proxy be used? Anyway to use B2 or S3 for such a proxy?2021-05-10 update: Downloading directly from https://raw.githubusercontent.com/ seems fast enough, so the use of buckets might not be necessary.
And what about local cache?
The text was updated successfully, but these errors were encountered: