Jonathan Strong
c2f8d60922
working rough cut using publish log csv and cargo publish command
1 year ago
Jonathan Strong
cc275bacb7
hit a bit of a dead end for now
1 year ago
Jonathan Strong
b02731ecd6
working first iteration for evaluation
1 year ago
Jonathan Strong
8bb8d218c7
load .env file vars
1 year ago
Jonathan Strong
3cbe8997a0
begin work on mass publish tool - scoping out how to build publish meta from index meta + Cargo.toml
1 year ago
Jonathan Strong
3241e2075c
update deps and bump version to v0.4.1
2 years ago
Jonathan Strong
01ce9284bc
bump version to v0.4.0
2 years ago
Jonathan Strong
16d2090bec
fix edge case in output path generation
2 years ago
Jonathan Strong
1892048654
implement template-based output paths (--output-format)
2 years ago
Jonathan Strong
7bb2717612
fix output path generation
2 years ago
Jonathan Strong
eb111aad33
implement url templates
...
in addition to url templates, this also includes special handling for crates.io:
crates.io index config.json dl: "https://crates.io/api/v1/crates "
request to "https://crates.io/api/v1/crates/{crate}/{vers}/download " will
return a 302 redirect to "https://static.crates.io/crates/{crate}/{crate}-{vers}.crate ".
rather than follow the 302, this detects if the dl value is crates.io (`is_crates_io` method)
and performs the redirect preemptively.
in discussion with crates.io team on discord, @carol10cents indicated this would
avoid need to throttle requests as they would go right to cdn instead of
hitting crates.io webserver.
2 years ago
Jonathan Strong
b7621e78ac
implements --filter-crates, --dry-run, --overwrite-existing
...
--filter-crates: limit downloads to crates with names matching supplied regex
--dry-run: don't actually download
--overwrite-existing: re-download even if .crate file already exists in output dir
2 years ago
Jonathan Strong
66420e0a38
enable color feature in clap
2 years ago
Jonathan Strong
c3506f9f59
add metadata fields to [package] section in Cargo.toml
2 years ago
Jonathan Strong
73f5fee409
bump version to v0.2.3
2 years ago
Jonathan Strong
a497ff346e
bump version to v0.2.2
2 years ago
Jonathan Strong
ea7545dc61
fix typo in readme
2 years ago
Jonathan Strong
3a8426f172
adds template-based README.md with script to re-generate
2 years ago
Jonathan Strong
70dc70dbbb
initial commit
2 years ago