Commit graph

916 commits

Author SHA1 Message Date
github-actions[bot]
3f271cce2b
release: cargo-binstall v1.6.2 (#1608)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-02-04 01:50:56 +00:00
github-actions[bot]
1f49dcaa28
release: binstalk v0.21.0 (#1606)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-02-03 15:03:04 +00:00
github-actions[bot]
f8bb014705
release: binstalk-registry v0.6.0 (#1605)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-02-03 14:03:24 +00:00
github-actions[bot]
9e57c9cd71
release: binstalk-manifests v0.12.0 (#1602)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-02-03 12:59:58 +00:00
github-actions[bot]
290ebbb7e9
release: binstalk-bins v0.3.0 (#1603)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-02-03 11:55:48 +00:00
github-actions[bot]
3e52d2d0f4
release: binstalk-fetchers v0.3.0 (#1601)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-02-03 10:56:08 +00:00
github-actions[bot]
4ff5700c64
release: binstalk-downloader v0.10.0 (#1600)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-02-03 09:44:13 +00:00
github-actions[bot]
42f2eb834e
release: cargo-toml-workspace v5.0.0 (#1599)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-02-03 07:25:52 +00:00
github-actions[bot]
23a7890db2
release: binstalk-types v0.7.0 (#1598)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-02-03 03:52:00 +00:00
dependabot[bot]
923c317bd4
build(deps): bump the deps group with 3 updates (#1596)
Bumps the deps group with 3 updates: [strum](https://github.com/Peternator7/strum), [strum_macros](https://github.com/Peternator7/strum) and [cargo_toml](https://gitlab.com/lib.rs/cargo_toml).


Updates `strum` from 0.25.0 to 0.26.1
- [Release notes](https://github.com/Peternator7/strum/releases)
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Peternator7/strum/commits/v0.26.1)

Updates `strum_macros` from 0.25.3 to 0.26.1
- [Release notes](https://github.com/Peternator7/strum/releases)
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Peternator7/strum/commits/v0.26.1)

Updates `cargo_toml` from 0.18.0 to 0.19.1
- [Commits](https://gitlab.com/lib.rs/cargo_toml/commits/main)

---
updated-dependencies:
- dependency-name: strum
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: deps
- dependency-name: strum_macros
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: deps
- dependency-name: cargo_toml
  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>
2024-02-03 02:47:42 +00:00
Jiahao XU
6dc2a0a823
Fix: Load system-wide native cert on rustls (#1589)
* Fix: Load system-wide native cert on rustls

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Update `Cargo.lock`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

---------

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-01-31 14:28:34 +00:00
github-actions[bot]
a7c691873d
release: cargo-binstall v1.6.1 (#1586)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-01-21 09:12:02 +00:00
Jiahao XU
01ddf00b54
Fix Unmatched checksum error (#1585)
Fixed #1575

Always consume the stream if a `data_verifier` is provided in
`binstalk_download::Download`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-01-21 06:50:20 +00:00
github-actions[bot]
7f70a4e8ee
release: simple-git v0.2.2 (#1584)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-01-21 00:19:23 +00:00
Jiahao XU
70ebed3702
Update <simple_git::GitUrl as Display>::fmt impl (#1582)
Forward it to `<gix::Url as Display>::fmt` now that `gix::Url`
implements `Display`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-01-20 16:42:49 +00:00
Jiahao XU
32b73b1ee9
Update crates.io description for cargo-binstall (#1583)
Since the one on GitHub has changed.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-01-20 14:46:34 +00:00
dependabot[bot]
412d42001a
build(deps): bump the deps group with 1 update (#1581)
Bumps the deps group with 1 update: [gix](https://github.com/Byron/gitoxide).


Updates `gix` from 0.57.1 to 0.58.0
- [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.57.1...gix-v0.58.0)

---
updated-dependencies:
- 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>
2024-01-20 09:00:04 +00:00
github-actions[bot]
7fc0a333e3
release: binstalk v0.20.1 (#1580)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-01-20 08:06:39 +00:00
github-actions[bot]
0c74d017f9
release: detect-targets v0.1.15 (#1579)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-01-20 06:16:31 +00:00
FlareFlo
857a2caf34
Fix missing spaces in error log (#1577) 2024-01-19 02:20:37 +00:00
Jiahao XU
8befa3d649
Fix detect-targets on android targets (#1576)
* Fix detect-targets on android targets

By enabling linux fallback on Android.

Also add CI regression test for aarch64-linux-android target.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Fix CI: Add job `detect-targets-android-check` as required for merging

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

---------

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-01-15 23:02:40 +00:00
Félix Saparelli
d02776c7fc
detect-target: fallback on targets we don't explicitly have support for (#1574)
See #1573
2024-01-14 11:59:24 +00:00
github-actions[bot]
7d25079422
release: cargo-binstall v1.6.0 (#1571)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-01-13 09:44:33 +00:00
github-actions[bot]
b497939ec6
release: binstalk v0.20.0 (#1570)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-01-13 08:28:22 +00:00
github-actions[bot]
8313dea231
release: binstalk-registry v0.5.0 (#1569)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-01-13 06:42:42 +00:00
github-actions[bot]
338b043354
release: cargo-toml-workspace v4.0.0 (#1568)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-01-13 04:54:16 +00:00
dependabot[bot]
69c5c3714c
build(deps): bump the deps group with 2 updates (#1567)
Bumps the deps group with 2 updates: [vergen](https://github.com/rustyhorde/vergen) and [cargo_toml](https://gitlab.com/lib.rs/cargo_toml).


Updates `vergen` from 8.2.6 to 8.2.7
- [Release notes](https://github.com/rustyhorde/vergen/releases)
- [Commits](https://github.com/rustyhorde/vergen/compare/8.2.6...8.2.7)

Updates `cargo_toml` from 0.17.2 to 0.18.0
- [Commits](https://gitlab.com/lib.rs/cargo_toml/commits/v0.18.0)

---
updated-dependencies:
- dependency-name: vergen
  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
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-13 03:11:53 +00:00
Jiahao XU
c08b8d232a
feat: Impl new option --continue-on-failure (#1559)
* feat: Impl new option `--continue-on-failure`

Resolve #1548

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Add new e2e-tests continue-on-failure

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Rm dup line ion `e2e-tests/live.sh`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Fix shellcheck

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Fix `BinstallError::crate_errors` if `errors.len()` is 1

In that case, it should return `Some(Self::CrateContext(_))` instead of
`Some(Self::Errors(_))`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Add more tests to `e2e-tests/continue-on-failure.sh`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Propagate crate errors on `confirm()` err

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Test having two errors in `e2e-tests/continue-on-failure.sh`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

---------

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-01-08 12:09:45 +00:00
github-actions[bot]
763885b3a5
release: cargo-binstall v1.5.0 (#1558)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-01-07 00:46:33 +00:00
github-actions[bot]
5341d050b9
release: simple-git v0.2.1 (#1557)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-01-06 13:07:50 +00:00
Dustin Blackman
b14f78b982
feat: Add strategies environment variable (#1555) 2024-01-06 12:39:54 +00:00
dependabot[bot]
dca22b6548
build(deps): bump the deps group with 1 update (#1556)
Bumps the deps group with 1 update: [embed-resource](https://github.com/nabijaczleweli/rust-embed-resource).


Updates `embed-resource` from 2.4.0 to 2.4.1
- [Release notes](https://github.com/nabijaczleweli/rust-embed-resource/releases)
- [Commits](https://github.com/nabijaczleweli/rust-embed-resource/compare/v2.4.0...v2.4.1)

---
updated-dependencies:
- dependency-name: embed-resource
  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>
2024-01-06 03:20:08 +00:00
dependabot[bot]
cfb41882a2
build(deps): bump the deps group with 1 update (#1550)
Bumps the deps group with 1 update: [gix](https://github.com/Byron/gitoxide).


Updates `gix` from 0.56.0 to 0.57.0
- [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.56.0...gix-v0.57.0)

---
updated-dependencies:
- 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-12-30 02:23:48 +00:00
github-actions[bot]
b48410fbe8
release: cargo-binstall v1.4.9 (#1546)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2023-12-26 11:04:59 +00:00
github-actions[bot]
c014531bc4
release: binstalk-downloader v0.9.6 (#1545)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2023-12-26 08:36:48 +00:00
dependabot[bot]
2c23023069
build(deps): bump the deps group with 4 updates (#1542)
* build(deps): bump the deps group with 4 updates

Bumps the deps group with 4 updates: [thiserror](https://github.com/dtolnay/thiserror), [async_zip](https://github.com/Majored/rs-async-zip), [futures-util](https://github.com/rust-lang/futures-rs) and [syn](https://github.com/dtolnay/syn).


Updates `thiserror` from 1.0.51 to 1.0.52
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.51...1.0.52)

Updates `async_zip` from 0.0.15 to 0.0.16
- [Release notes](https://github.com/Majored/rs-async-zip/releases)
- [Commits](https://github.com/Majored/rs-async-zip/commits/v0.0.16)

Updates `futures-util` from 0.3.29 to 0.3.30
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.29...0.3.30)

Updates `syn` from 2.0.42 to 2.0.43
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/2.0.42...2.0.43)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: deps
- dependency-name: async_zip
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: deps
- dependency-name: futures-util
  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>

* Fix compilation of `extract_zip_entry`: Relax generic bound

Use `futures_io::AsyncRead`, which is the most relaxed bound possible.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* ENable feature `async_zip/deflate64`

New compression algorithm introduced

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Update transitive deps

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

---------

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>
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-12-26 07:01:59 +00:00
github-actions[bot]
ef85500736
release: cargo-binstall v1.4.8 (#1532)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2023-12-16 04:40:00 +00:00
github-actions[bot]
63179d9993
release: binstalk-registry v0.4.1 (#1531)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2023-12-16 02:23:28 +00:00
dependabot[bot]
f23a619a61
build(deps): bump the deps group with 3 updates (#1530)
Bumps the deps group with 3 updates: [file-format](https://github.com/mmalecot/file-format), [home](https://github.com/rust-lang/cargo) and [thiserror](https://github.com/dtolnay/thiserror).


Updates `file-format` from 0.22.0 to 0.23.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.22.0...v0.23.0)

Updates `home` from 0.5.5 to 0.5.9
- [Changelog](https://github.com/rust-lang/cargo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/cargo/commits)

Updates `thiserror` from 1.0.50 to 1.0.51
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.50...1.0.51)

---
updated-dependencies:
- dependency-name: file-format
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: deps
- dependency-name: home
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: deps
- dependency-name: thiserror
  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-12-16 01:15:39 +00:00
Marcus Griep
b296ac5315
fix: remove a trailing slash in registry index URL (#1528) 2023-12-15 06:14:21 +00:00
github-actions[bot]
f6a95fa733
release: cargo-binstall v1.4.7 (#1523)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2023-12-12 04:02:34 +00:00
github-actions[bot]
3d22e1b8f4
release: binstalk v0.19.0 (#1522)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2023-12-12 02:40:07 +00:00
github-actions[bot]
0e87113cc5
release: binstalk-registry v0.4.0 (#1521)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2023-12-11 23:54:34 +00:00
github-actions[bot]
f0bfa54944
release: simple-git v0.2.0 (#1520)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2023-12-11 22:37:04 +00:00
Jiahao XU
09debccace
freat: Avoid breaking changes due to gix upgrade (#1518)
Wrap all error type in a new type so that we don't have to release new
major versions after upgrading depoendency gix`.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-12-11 14:08:13 +00:00
dependabot[bot]
b2ddd176e3
build(deps): bump the deps group with 2 updates (#1516)
Bumps the deps group with 2 updates: [tokio](https://github.com/tokio-rs/tokio) and [gix](https://github.com/Byron/gitoxide).


Updates `tokio` from 1.34.0 to 1.35.0
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.34.0...tokio-1.35.0)

Updates `gix` from 0.55.2 to 0.56.0
- [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.55.2...gix-v0.56.0)

---
updated-dependencies:
- dependency-name: tokio
  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-12-09 01:29:41 +00:00
dependabot[bot]
c177fd2101
build(deps): bump the deps group with 1 update (#1511)
Bumps the deps group with 1 update: [command-group](https://github.com/watchexec/command-group).

- [Changelog](https://github.com/watchexec/command-group/blob/main/CHANGELOG.md)
- [Commits](https://github.com/watchexec/command-group/compare/v4.1.0...v5.0.1)

---
updated-dependencies:
- dependency-name: command-group
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: deps
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-25 04:00:15 +00:00
github-actions[bot]
05f90e651d
release: cargo-binstall v1.4.6 (#1508)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2023-11-18 10:57:12 +00:00
github-actions[bot]
3738f11f30
release: binstalk v0.18.1 (#1507)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2023-11-18 06:41:26 +00:00
github-actions[bot]
7e6223a8e2
release: binstalk-fetchers v0.2.2 (#1506)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2023-11-18 05:53:27 +00:00