Commit Graph

25 Commits

Author SHA1 Message Date
Richard Feldman
9e304e4b1e
Fix some issues with tarball generation 2022-11-21 02:51:53 -05:00
Richard Feldman
8b75545176
Separate error for multiple content encodings 2022-11-20 20:58:00 -05:00
Richard Feldman
7d2fa63dca
Make roc_cache_dir() panic if it can't find $HOME 2022-11-20 20:54:03 -05:00
Richard Feldman
4987fe1656
Put RocCacheDir::Temp behind #[cfg(test)] 2022-11-20 20:49:26 -05:00
Richard Feldman
60f89f75aa
clippy 2022-11-20 19:54:20 -05:00
Richard Feldman
721841fa1f
Provide roc_cache_dir everywhere 2022-11-20 19:53:48 -05:00
Richard Feldman
581c2f248d
Download files into tempdir if no cache available 2022-11-20 11:29:31 -05:00
Richard Feldman
a6c0bd854f
Revert "Always use a tempdir for caches during tests"
This reverts commit 6572b46983.
2022-11-20 11:10:51 -05:00
Richard Feldman
6572b46983
Always use a tempdir for caches during tests 2022-11-20 11:10:17 -05:00
Richard Feldman
d6fa2acc54
Properly pass around roc_cache_dir during loading 2022-11-20 11:05:53 -05:00
Richard Feldman
f9676098d3
clippy 2022-11-20 10:39:57 -05:00
Richard Feldman
514fa73701
Early return an io::Result 2022-11-20 10:39:24 -05:00
Richard Feldman
2831c0eb5a
Incorporate caching into HTTPS packages 2022-11-20 10:37:55 -05:00
Richard Feldman
066eb38043
Drop unusued tempfile dependency in packaging 2022-11-19 23:47:34 -05:00
Richard Feldman
d654ba77f1
Clippy 2022-11-19 23:46:30 -05:00
Richard Feldman
017fcca641
Fix https write logic (thanks, Clippy!) 2022-11-19 23:46:29 -05:00
Richard Feldman
804a7cb7bf
Fix compile errors for https module 2022-11-19 23:46:29 -05:00
Richard Feldman
7c1c48afa7
Add https module 2022-11-19 23:46:29 -05:00
Richard Feldman
04492ce485
.rp1 -> .tar; let the server handle compression! 2022-11-19 23:46:29 -05:00
Richard Feldman
92b71da633
Make some brotli settings more explicit 2022-11-19 23:46:29 -05:00
Richard Feldman
0fe3a2e1dc
Switch from lz4 to brotli compression 2022-11-19 23:46:29 -05:00
Richard Feldman
58c8722c4d
Only add precompiled hosts and .roc file to bundle 2022-11-19 23:46:28 -05:00
Richard Feldman
32086e25be
Don't recursively create rp1 files! 2022-11-19 23:46:28 -05:00
Richard Feldman
4f34eac1e6
Add roc build --bundle to CLI 2022-11-19 23:46:28 -05:00
Richard Feldman
841d764ca1
Add roc_packaging::rp1 initial implementation 2022-11-19 23:46:28 -05:00