Commit graph

1851 commits

Author SHA1 Message Date
github-actions[bot]
4cde7f075d
release: binstalk-bins v0.4.0 (#1617)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-02-12 10:27:28 +00:00
github-actions[bot]
e8934cdc8a
release: leon-macros v1.0.1 (#1616)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-02-12 09:50:11 +00:00
Jiahao XU
add9310d5e
Fix release-pr.yml: Do not run semver-checks for leon-macros (#1614)
leon-macros is a proc-macro crate and cargo-semver-checks cannot perform semver checks on proc-macro crates.
2024-02-12 07:14:02 +00:00
github-actions[bot]
5a8af0fb99
release: leon v3.0.0 (#1613)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-02-12 04:31:10 +00:00
dependabot[bot]
42215f774a
build(deps): bump the deps group with 5 updates (#1612)
* build(deps): bump the deps group with 5 updates

Bumps the deps group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [file-format](https://github.com/mmalecot/file-format) | `0.23.0` | `0.24.0` |
| [miette](https://github.com/zkat/miette) | `5.10.0` | `7.0.0` |
| [supports-color](https://github.com/zkat/supports-color) | `2.1.0` | `3.0.0` |
| [simple-git](https://github.com/cargo-bins/simple-git) | `0.2.2` | `0.2.3` |
| [toml_edit](https://github.com/toml-rs/toml) | `0.21.1` | `0.22.4` |


Updates `file-format` from 0.23.0 to 0.24.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.23.0...v0.24.0)

Updates `miette` from 5.10.0 to 7.0.0
- [Release notes](https://github.com/zkat/miette/releases)
- [Changelog](https://github.com/zkat/miette/blob/main/CHANGELOG.md)
- [Commits](https://github.com/zkat/miette/compare/miette-derive-v5.10.0...miette-derive-v7.0.0)

Updates `supports-color` from 2.1.0 to 3.0.0
- [Release notes](https://github.com/zkat/supports-color/releases)
- [Changelog](https://github.com/zkat/supports-color/blob/main/CHANGELOG.md)
- [Commits](https://github.com/zkat/supports-color/compare/v2.1.0...v3.0.0)

Updates `simple-git` from 0.2.2 to 0.2.3
- [Commits](https://github.com/cargo-bins/simple-git/commits)

Updates `toml_edit` from 0.21.1 to 0.22.4
- [Commits](https://github.com/toml-rs/toml/compare/v0.21.1...v0.22.4)

---
updated-dependencies:
- dependency-name: file-format
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: deps
- dependency-name: miette
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: deps
- dependency-name: supports-color
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: deps
- dependency-name: simple-git
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: deps
- dependency-name: toml_edit
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: deps
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix compilation of `leon` when feature `cli` is enabled

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>
2024-02-11 12:55:47 +00:00
Jiahao XU
c450f442cb
Refactor: Move simple-git into a new repo (#1611)
Moved to https://github.com/cargo-bins/simple-git

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-02-09 05:38:28 +00:00
github-actions[bot]
8e29d416b4
dep: Upgrade transitive dependencies (#1610)
Co-authored-by: github-actions <github-actions@github.com>
2024-02-09 04:33:20 +00:00
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]
76611ebef3
dep: Upgrade transitive dependencies (#1607)
Co-authored-by: github-actions <github-actions@github.com>
2024-02-03 21:37:12 +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
github-actions[bot]
c300d8cd35
dep: Upgrade transitive dependencies (#1593)
Co-authored-by: github-actions <github-actions@github.com>
2024-02-02 03:37:30 +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
Jiahao XU
9cf7b15df8
CI: Use runner macos-14 which uses M1 machine (#1590)
* CI: Use runner `macos-14` which uses M1 machine

`macos-14` provides 3-core M1, 7G mem and 14G stroage, while `macos-latest`
(`macos-13` as of writing) provides 4-core intel, 14G mem and 14G
storage.

While the memory is cut by half and core count reduce by 1, I believe
that it would still speedup the CI since M1 is much more powerful than
previous Intel CPU used in `macos-13`.

It would also allow us to run tests on aarch64-apple-darwin and on
universal-apple-darwin, if necessary.

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

* CI: Fix `e2e-test-subcrate`: Bump `cargo-audit` ver to v0.18.3

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

---------

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-01-31 14:26:57 +00:00
Jiahao XU
dba9dd5ff0
build(deps): bump actions/{up, down}load-artifact from 3 to 4 (#1591)
Revert "Revert "build(deps): bump actions/{up, down}load-artifact from 3 to 4…"

This reverts commit f5da25cc56.
2024-01-31 14:26:11 +00:00
github-actions[bot]
12b2824a3b
dep: Upgrade transitive dependencies (#1587)
Co-authored-by: github-actions <github-actions@github.com>
2024-01-26 04:04:15 +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
github-actions[bot]
87f71b76cd
dep: Upgrade transitive dependencies (#1578)
Co-authored-by: github-actions <github-actions@github.com>
2024-01-19 03:42:30 +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
Jacob Hummer
b415b0d7e6
Fix install-from-binstall-release.sh for Git Bash users on Windows (#1562)
* Update install-from-binstall-release.sh

* Update install-from-binstall-release.sh

* Update install-from-binstall-release.sh

Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>

* Update install-from-binstall-release.sh

Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>

* Update install-script.yml

* Update install-from-binstall-release.sh

* Update install-script.yml

---------

Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-01-13 02:22:51 +00:00
github-actions[bot]
7222a8279d
dep: Upgrade transitive dependencies (#1563)
Co-authored-by: github-actions <github-actions@github.com>
2024-01-13 02:02:37 +00:00
Jiahao XU
9df18b1a48
Disable zlib-ng for aarch64 linux and re-enable it for x64 linux (#1565)
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-01-13 00:51:42 +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
Jiahao XU
f5da25cc56
Revert "build(deps): bump actions/{up, down}load-artifact from 3 to 4" (#1561)
Revert "build(deps): bump actions/{up, down}load-artifact from 3 to 4 (#1533)"

This reverts commit fea489032a.
2024-01-07 14:46:30 +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
github-actions[bot]
5d030ffc8b
dep: Upgrade transitive dependencies (#1553)
Co-authored-by: github-actions <github-actions@github.com>
2024-01-05 14:19:52 +00:00