Jiahao XU
d76a40bf7d
Rm unnecessary warning msg "Failed to read git credential file" ( #1479 )
...
* Rm unnecessary warning msg "Failed to read git credential file"
Fixed #1476
If `gh auth token` executed successfully and binstall obtained a gh
token from it, then there's no reason to issue any warning msg.
Only when binstall cannot read from `.git-credential` and
`gh auth token` failed does binstall need to issue warning.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix clippy warning
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
---------
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-11-08 22:06:32 +00:00
dependabot[bot]
b86bf5f2e1
build(deps): bump the deps group with 2 updates ( #1475 )
...
Bumps the deps group with 2 updates: [tracing-log](https://github.com/tokio-rs/tracing ) and [toml_edit](https://github.com/toml-rs/toml ).
Updates `tracing-log` from 0.1.4 to 0.2.0
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-log-0.1.4...tracing-log-0.2.0 )
Updates `toml_edit` from 0.20.5 to 0.20.7
- [Commits](https://github.com/toml-rs/toml/compare/v0.20.5...v0.20.7 )
---
updated-dependencies:
- dependency-name: tracing-log
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: deps
- dependency-name: toml_edit
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: deps
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-28 01:41:46 +00:00
github-actions[bot]
dc20cb7eb3
release: cargo-binstall v1.4.4 ( #1473 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-10-22 13:29:59 +00:00
dependabot[bot]
4de2d0f49c
build(deps): bump the deps group with 6 updates ( #1465 )
...
Bumps the deps group with 6 updates:
| Package | From | To |
| --- | --- | --- |
| [tracing](https://github.com/tokio-rs/tracing ) | `0.1.37` | `0.1.39` |
| [async-compression](https://github.com/Nullus157/async-compression ) | `0.4.3` | `0.4.4` |
| [flate2](https://github.com/rust-lang/flate2-rs ) | `1.0.27` | `1.0.28` |
| [zstd](https://github.com/gyscos/zstd-rs ) | `0.12.4` | `0.13.0` |
| [default-net](https://github.com/shellrow/default-net ) | `0.17.0` | `0.18.0` |
| [gix](https://github.com/Byron/gitoxide ) | `0.54.1` | `0.55.2` |
Updates `tracing` from 0.1.37 to 0.1.39
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.37...tracing-0.1.39 )
Updates `async-compression` from 0.4.3 to 0.4.4
- [Release notes](https://github.com/Nullus157/async-compression/releases )
- [Changelog](https://github.com/Nullus157/async-compression/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Nullus157/async-compression/compare/async-compression-v0.4.3...async-compression-v0.4.4 )
Updates `flate2` from 1.0.27 to 1.0.28
- [Release notes](https://github.com/rust-lang/flate2-rs/releases )
- [Commits](https://github.com/rust-lang/flate2-rs/compare/1.0.27...1.0.28 )
Updates `zstd` from 0.12.4 to 0.13.0
- [Release notes](https://github.com/gyscos/zstd-rs/releases )
- [Commits](https://github.com/gyscos/zstd-rs/compare/v0.12.4...v0.13.0 )
Updates `default-net` from 0.17.0 to 0.18.0
- [Release notes](https://github.com/shellrow/default-net/releases )
- [Commits](https://github.com/shellrow/default-net/compare/v0.17.0...v0.18.0 )
Updates `gix` from 0.54.1 to 0.55.2
- [Release notes](https://github.com/Byron/gitoxide/releases )
- [Changelog](https://github.com/Byron/gitoxide/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Byron/gitoxide/compare/gix-v0.54.1...gix-v0.55.2 )
---
updated-dependencies:
- dependency-name: tracing
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: deps
- dependency-name: async-compression
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: deps
- dependency-name: flate2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: deps
- dependency-name: zstd
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: deps
- dependency-name: default-net
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: deps
- dependency-name: gix
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: deps
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-14 10:01:27 +00:00
dependabot[bot]
449a3973d9
build(deps): bump tracing-core from 0.1.31 to 0.1.32 ( #1461 )
...
Bumps [tracing-core](https://github.com/tokio-rs/tracing ) from 0.1.31 to 0.1.32.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-core-0.1.31...tracing-core-0.1.32 )
---
updated-dependencies:
- dependency-name: tracing-core
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-14 02:12:29 +00:00
github-actions[bot]
e47b908a05
release: cargo-binstall v1.4.3 ( #1452 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-10-08 08:21:00 +00:00
github-actions[bot]
3b42aa3d0f
release: binstalk v0.17.1 ( #1449 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-10-07 22:52:35 +11:00
dependabot[bot]
59963c712f
build(deps): bump the deps group with 2 updates ( #1433 )
...
Bumps the deps group with 2 updates: [file-format](https://github.com/mmalecot/file-format ) and [gix](https://github.com/Byron/gitoxide ).
Updates `file-format` from 0.20.0 to 0.21.0
- [Release notes](https://github.com/mmalecot/file-format/releases )
- [Changelog](https://github.com/mmalecot/file-format/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mmalecot/file-format/compare/v0.20.0...v0.21.0 )
Updates `gix` from 0.53.1 to 0.54.1
- [Release notes](https://github.com/Byron/gitoxide/releases )
- [Changelog](https://github.com/Byron/gitoxide/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Byron/gitoxide/compare/gix-v0.53.1...gix-v0.54.1 )
---
updated-dependencies:
- dependency-name: file-format
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: deps
- dependency-name: gix
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: deps
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-30 14:08:07 +00:00
github-actions[bot]
6ce60225d4
release: cargo-binstall v1.4.2 ( #1418 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-09-28 02:59:25 +00:00
github-actions[bot]
e41db2a297
release: cargo-binstall v1.4.1 ( #1406 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-09-26 23:42:26 +00:00
Félix Saparelli
216d548fd4
Use explicit write permissions ( #1404 )
...
* Use explicit write permissions
* Revert "release: cargo-binstall v1.4.1 (#1403 )"
This reverts commit 00941d8b43
.
2023-09-26 21:57:51 +00:00
github-actions[bot]
00941d8b43
release: cargo-binstall v1.4.1 ( #1403 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-09-26 13:31:47 +00:00
github-actions[bot]
3f29e13e42
release: cargo-binstall v1.4.0 ( #1399 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-09-26 07:46:42 +00:00
Félix Saparelli
49b37ff1e2
Revert "release: cargo-binstall v1.4.0" and fix ( #1398 )
...
* Revert "release: cargo-binstall v1.4.0 (#1397 )"
This reverts commit 99e8256018
.
* --allow-dirty on publish
* Remove private key file after generation
* Write public key file to bin crate and to package
* Upload public key file to release
2023-09-26 06:47:25 +00:00
github-actions[bot]
99e8256018
release: cargo-binstall v1.4.0 ( #1397 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-09-26 03:42:59 +00:00
github-actions[bot]
bf30d73f53
release: binstalk v0.17.0 ( #1396 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-09-25 12:29:23 +00:00
github-actions[bot]
1d8dfff3ba
release: binstalk-manifests v0.10.0 ( #1388 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-09-25 05:49:14 +00:00
Tamir Duberstein
2db8e254bc
Investigate incorrect target detection ( #1376 )
...
* detect-targets: add debug tracing
See #1375 .
* Add new feature `tracing` & `cli-tracing` to `detect-targets
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix clippy lints
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
---------
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-09-23 10:45:44 +00:00
Félix Saparelli
32beba507b
Initial signing support ( #1345 )
...
* Add CLI options
* Add manifest types
* Thread signature policy through to fetchers
* Thread signing section through from metadata
* Implement signing validation
* Clippy
* Attempt testing
* Yes and
* Why
* fmt
* Update crates/bin/src/args.rs
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
* Update crates/binstalk-fetchers/src/gh_crate_meta.rs
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
* Update crates/bin/src/args.rs
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
* Update crates/binstalk-fetchers/src/signing.rs
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
* Update crates/binstalk-fetchers/src/signing.rs
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
* Update crates/binstalk-fetchers/src/signing.rs
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
* Update crates/binstalk-fetchers/src/signing.rs
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
* fixes
* Finish feature
* Document
* Include all fields in the signing.file template
* Readme document
* Review fixes
* Fail on non-utf8 sig
* Thank goodness for tests
* Run test in ci
* Add rsign2 commands
* Log utf8 error
* Update e2e-tests/signing.sh
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix `e2e-tests/signing.sh` MacOS CI failure
Move the tls cert creation into `signing.sh` and sleep for 10s to wait
for https server to start.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Refactor e2e-tests-signing files
- Use a tempdir generated by `mktemp` for all certificates-related
files
- Put other checked-in files into `e2e-tests/signing`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fixed `e2e-tests-signing` connection err in MacOS CI
Wait for server to start up by trying to connect to it.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix `e2e-tests-signing` passing `-subj` to `openssl` on Windows
Use single quote instead of double quote to avoid automatic expansion
from bash
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix `e2e-tests-signing` waiting for server to startup
Remove `timeout` since it is not supported on MacOS.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Try to fix windows CI by setting `MSYS_NO_PATHCONV=1` on `openssl` cmds
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fixed `e2e-tests-signing` on windows
By using double `//` for the value passed to option `-subj`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fixed infinite loop in `signing/wait-for-server` on Windows
Pass `--ssl-revoke-best-effort` to prevent schannel from checking ssl
revocation status.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Add cap on retry attempt in `signing/wait-for-server.sh`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Let `singing/server.py` print output to stderr
so that we can see the error message there.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix running `signing/server.py` on MacOS CI
use `python3` since macos-latest still has python2 installed and
`python` is a symlink to `python2` there.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
---------
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-09-23 04:02:56 +00:00
github-actions[bot]
82e5fc4781
release: cargo-binstall v1.3.1 ( #1374 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-09-17 10:16:35 +00:00
github-actions[bot]
e4d4b15536
release: binstalk v0.16.1 ( #1373 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-09-17 07:53:35 +00:00
github-actions[bot]
2c81b749ef
release: binstalk-manifests v0.9.0 ( #1368 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-09-17 01:53:04 +00:00
dependabot[bot]
e711bcd404
build(deps): bump the deps group with 8 updates ( #1361 )
...
Bumps the deps group with 8 updates:
| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap ) | `4.4.2` | `4.4.3` |
| [mimalloc](https://github.com/purpleprotocol/mimalloc_rust ) | `0.1.38` | `0.1.39` |
| [vergen](https://github.com/rustyhorde/vergen ) | `8.2.4` | `8.2.5` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.105` | `1.0.107` |
| [async-compression](https://github.com/Nullus157/async-compression ) | `0.4.2` | `0.4.3` |
| [cargo_toml](https://gitlab.com/lib.rs/cargo_toml ) | `0.15.3` | `0.16.0` |
| [proc-macro2](https://github.com/dtolnay/proc-macro2 ) | `1.0.66` | `1.0.67` |
| [syn](https://github.com/dtolnay/syn ) | `2.0.31` | `2.0.33` |
Updates `clap` from 4.4.2 to 4.4.3
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.4.2...v4.4.3 )
Updates `mimalloc` from 0.1.38 to 0.1.39
- [Release notes](https://github.com/purpleprotocol/mimalloc_rust/releases )
- [Commits](https://github.com/purpleprotocol/mimalloc_rust/compare/v0.1.38...v0.1.39 )
Updates `vergen` from 8.2.4 to 8.2.5
- [Release notes](https://github.com/rustyhorde/vergen/releases )
- [Commits](https://github.com/rustyhorde/vergen/compare/8.2.4...8.2.5 )
Updates `serde_json` from 1.0.105 to 1.0.107
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.105...v1.0.107 )
Updates `async-compression` from 0.4.2 to 0.4.3
- [Release notes](https://github.com/Nullus157/async-compression/releases )
- [Changelog](https://github.com/Nullus157/async-compression/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Nullus157/async-compression/compare/async-compression-v0.4.2...async-compression-v0.4.3 )
Updates `cargo_toml` from 0.15.3 to 0.16.0
- [Commits](https://gitlab.com/lib.rs/cargo_toml/commits/main )
Updates `proc-macro2` from 1.0.66 to 1.0.67
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.66...1.0.67 )
Updates `syn` from 2.0.31 to 2.0.33
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/2.0.31...2.0.33 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: deps
- dependency-name: mimalloc
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: deps
- dependency-name: vergen
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: deps
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: deps
- dependency-name: async-compression
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: deps
- dependency-name: cargo_toml
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: deps
- dependency-name: proc-macro2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: deps
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: deps
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-14 23:11:33 +00:00
Jiahao XU
f31db762b4
dep: Bump gix from v0.52.0 => v0.53.1 ( #1354 )
...
* dep: Bump gix from v0.52.0 => v0.53.1
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix `gix` compilation: Enable `gix/max-performance-safe`
without this feature, `ThreadSafeRepository` does not implement `Sync`,
causes the `binstalk-registry` compilation to fail.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Enable `gix/comfort` for progress tracing
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fixed gix progress tracking: Enable `gix/progress-tree`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Rm feature `gix/{comfort, progress-tree}`
Since they do not enable progress support and merely adds bloat.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix gix progress logging: Allow logging from simple-git
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Re-enable feature `gix/comfort` for more readable logging
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
---------
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-09-14 13:31:00 +00:00
dependabot[bot]
c6c36316fd
build(deps): update file-format requirement from 0.19.0 to 0.20.0 in /crates/bin ( #1349 )
...
build(deps): update file-format requirement in /crates/bin
Updates the requirements on [file-format](https://github.com/mmalecot/file-format ) to permit the latest version.
- [Release notes](https://github.com/mmalecot/file-format/releases )
- [Changelog](https://github.com/mmalecot/file-format/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mmalecot/file-format/compare/v0.19.0...v0.20.0 )
---
updated-dependencies:
- dependency-name: file-format
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-08 04:08:18 +00:00
Jiahao XU
3c5641610a
feat: Improve resolution logging and verbose logging ( #1341 )
...
* feat: Improve resolution logging
Fixed #1336
Log target of the pre-built binaries which will be installed.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix args parsing: `quiet` & `verbose` cannot be set at the same time
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* feat: Implies `--log-level debug` if `--verbose` is set
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
---------
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-09-02 09:38:24 +00:00
Jiahao XU
8a08cdda6f
Fix GitHub token auto discovery ( #1335 )
...
* Fix GitHub token auto discovery
Fixed #1333
- Rm dep `gh-token` since it is broken and we can simply run
`gh auth token` in `cargo-binstall` instead.
- binstalk-downloader: Make sure GitHub token is at least 40B long
and other than the `_`, composes of only alphanumeric characters.
- Warn on failure to read `git/credential` files
- Optimize `try_from_home` to avoid heap allocation of `PathBuf`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix typo and clippy
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Simplify `is_valid_gh_token` & `is_ascii_alphanumeric` impl
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Improve err msg in `get_inner`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Improve err msg of `cargo_binstall::gh_token::get`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
---------
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-09-01 01:14:59 +00:00
github-actions[bot]
d2c3377388
release: cargo-binstall v1.3.0 ( #1326 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-08-25 10:52:36 +00:00
github-actions[bot]
d768b8c029
release: binstalk v0.16.0 ( #1324 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-08-24 12:51:55 +00:00
github-actions[bot]
187a016468
release: binstalk-manifests v0.8.1 ( #1317 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-08-24 05:30:01 +00:00
dependabot[bot]
c19ee50130
build(deps): update file-format requirement from 0.18.0 to 0.19.0 in /crates/bin ( #1307 )
...
build(deps): update file-format requirement in /crates/bin
Updates the requirements on [file-format](https://github.com/mmalecot/file-format ) to permit the latest version.
- [Release notes](https://github.com/mmalecot/file-format/releases )
- [Changelog](https://github.com/mmalecot/file-format/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mmalecot/file-format/compare/v0.18.0...v0.19.0 )
---
updated-dependencies:
- dependency-name: file-format
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 13:10:20 +00:00
Jiahao XU
43973d7e86
Refactor cargo-binstall
( #1302 )
...
- Move implementation of `main` into the library part of
`cargo-binstall` to speedup codegen.
- Move `manifests.rs` into `binstalk-manifests`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-08-18 01:59:48 +00:00
Jiahao XU
0c5a65fb35
Refactor: Extract new crate binstalk-bins
( #1294 )
...
To reduce `binstalk` codegen and enable reuse of it.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-08-15 21:48:42 +00:00
Jiahao XU
76c72469eb
Refactor: Extract new crate binstalk-fetchers
( #1291 )
...
To reduce `binstalk` codegen and enable better reuse.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-08-14 03:20:34 +00:00
Jiahao XU
623f7ff4ed
Refactor: Extract new crate binstalk-registry
( #1289 )
...
To speedup codegen of `binstalk` and enable it to be reused.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-08-13 07:16:53 +00:00
Jiahao XU
2375ba48b6
Refactor to reduce compilation time ( #1284 )
...
- Make `binstalk::bins` private.
- Move mod `signal` into `crates/bin`
- Make items in `crates/bin/src/lib.rs` private if possible to reduce
its API generation time.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-08-12 14:25:41 +00:00
Jiahao XU
ef99dd795f
Refactor: Extract mod fs
as crate atomic-file-install
( #1286 )
...
Refactor: Extract mod `fs` as crate `atomic-install`
To speedup codegen of `binstalk` and also publish a new crate that could
be reused.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-08-12 13:24:26 +00:00
Jiahao XU
8ff13c1b36
Refactor: Extract cargo_toml_workspace
as a new crate ( #1287 )
...
To reduce codegen time of `binstalk` and also enable others to reuse
this crate.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-08-12 12:05:10 +00:00
github-actions[bot]
6a1d317fde
release: cargo-binstall v1.2.1 ( #1282 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-08-11 06:44:15 +00:00
github-actions[bot]
ea1a34b4a1
release: cargo-binstall v1.2.0 ( #1275 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-08-10 11:33:39 +00:00
github-actions[bot]
cf3e3c25b0
release: binstalk v0.15.0 ( #1274 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-08-10 07:54:29 +00:00
Jiahao XU
3e80b12748
feat: Verify cksum of crate tarball from cargo registry ( #1260 )
...
Fixed #1183
Since the crate tarball could be downloaded from a different set of
servers than where the cargo registry is hosted, verifying the checksum
is necessary to verify its integrity.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-08-09 10:57:47 +00:00
Jiahao XU
7f1ddd1dd7
Reduce public interface of binstalk
( #1265 )
...
To reduce amount of breaking changes.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-08-09 07:46:12 +00:00
Jiahao XU
9c521d162a
Enable unstable feature reqwest/http3
in CI ( #1261 )
...
For dev and release build, so that pre-built binaries of
`cargo-binstall` can utilize http3 protocol.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-08-09 07:44:10 +00:00
Jiahao XU
a9e2ef11f1
Fix reading env CARGO_REGISTRIES_{registry_name}_INDEX
( #1258 )
...
Try bogth original and upper-case version.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-08-09 07:41:20 +00:00
Jiahao XU
435df675b3
Fix too many 429 response ( #1231 )
...
Fixed #1229
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-08-08 00:53:15 +00:00
github-actions[bot]
38d37c69b2
release: cargo-binstall v1.1.2 ( #1227 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-07-21 10:14:47 +00:00
github-actions[bot]
992ac08dfc
release: binstalk v0.14.1 ( #1226 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-07-21 07:57:28 +00:00
github-actions[bot]
3d6a93fe8e
release: cargo-binstall v1.1.1 ( #1219 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-07-19 05:07:52 +00:00
github-actions[bot]
494ff844e6
release: binstalk-manifests v0.8.0 ( #1218 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-07-19 03:46:01 +00:00