johnnychen94 / StorageMirrorServer.jl

As I want it be available, fast, complete and persistent
MIT License
7 stars 0 forks source link

refactor gen_static #1

Closed johnnychen94 closed 4 years ago

johnnychen94 commented 4 years ago

features:

TODO:

johnnychen94 commented 4 years ago

Time spent building tarballs for registry and FFTW_jll@3.3.9+5:

using StorageServer

registry = "General"
pkgs = read_packages(registry; recursive=false, latest_versions_num=1) do pkg
    occursin("FFTW_jll", pkg.url)
end

@time make_tarball("General"; packages=pkgs)
codecov[bot] commented 4 years ago

Codecov Report

Merging #1 into master will increase coverage by 78.19%. The diff coverage is 78.09%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master       #1       +/-   ##
===========================================
+ Coverage    0.00%   78.19%   +78.19%     
===========================================
  Files           1        6        +5     
  Lines           1      211      +210     
===========================================
+ Hits            0      165      +165     
- Misses          1       46       +45     
Impacted Files Coverage Δ
src/StorageServer.jl 100.00% <ø> (+100.00%) :arrow_up:
src/utils.jl 64.70% <64.70%> (ø)
src/artifact.jl 72.72% <72.72%> (ø)
src/gittree.jl 74.19% <74.19%> (ø)
src/package.jl 81.17% <81.17%> (ø)
src/registry.jl 96.29% <96.29%> (ø)
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update fdd5930...e6d38d6. Read the comment docs.

johnnychen94 commented 4 years ago

The current version works for 95% times. I've observed some hash mismatch when creating tarballs for BinaryBuilder, not sure if that's expected. My best guess for this is the extremely terrible network connection to AWS from China.