cargo-binstall/crates/binstalk/src
Jiahao XU 0261d12d9d
Support subcrate in repo (#991)
Fixed #838

 - Add new key `subcrate` for rendering `pkg-url`
 - Add new release paths in GitHub, GitLab & SourceForge using key `subcrate` for auto-detection
 - Add subcrate detection for GitHub and GitLab
 - Add `debug!` when using gh api token in `GhApiClient::new`
 - Add subcrate testing to `e2e-tests/subcrate.sh`
 - Bump cargo-release to 0.24.9 in e2e-tests/live.sh
   to fix test failure on MacOS without libssl installed in `/usr/local/`.
 - Optimize GhCrateMeta: Detect subcrate and repo-host in `Data::get_repo_info`
    to cache the result and avoid duplicate works, this also makes the code
    more ergonomic by removing the need to some `unwrap()` plus making it
    more efficient since we don't need to clone the url just to modify it.
 - Add instrument to `Data::get_repo_info`
 - Fix `shellcheck` err in `e2e-tests/*.sh`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-04-24 19:41:20 +10:00
..
drivers Obey crates.io crawler policy: Only make one request per sec (#908) 2023-03-14 17:11:22 +11:00
fetchers Support subcrate in repo (#991) 2023-04-24 19:41:20 +10:00
helpers Add new crate leon-macros that provide template! with identical syntax as runtime parsing (#946) 2023-04-17 14:50:58 +10:00
ops Use leon for template in binstalk & detect malformed pkg-url/pkg-fmt early (#933) 2023-03-26 16:11:10 +11:00
bins.rs Use leon for template in binstalk & detect malformed pkg-url/pkg-fmt early (#933) 2023-03-26 16:11:10 +11:00
drivers.rs Replace dep crates_io_api with in-house solution (#846) 2023-03-02 18:25:34 +11:00
errors.rs Use leon for template in binstalk & detect malformed pkg-url/pkg-fmt early (#933) 2023-03-26 16:11:10 +11:00
fetchers.rs Support subcrate in repo (#991) 2023-04-24 19:41:20 +10:00
fs.rs Fix #728: fallback to copy when symlinking on windows (#763) 2023-02-04 14:14:08 +13:00
helpers.rs Use Quickinstall new release schema (#867) 2023-03-06 08:13:08 +00:00
lib.rs Refactor: Extract new crate binstalk-types plus other misc refactor and optimization (#535) 2022-11-17 13:46:27 +13:00
ops.rs Obey crates.io crawler policy: Only make one request per sec (#908) 2023-03-14 17:11:22 +11:00