Commit graph

420 commits

Author SHA1 Message Date
github-actions[bot]
be2934e283
release: cargo-binstall v1.6.4 (#1645)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-03-09 05:28:33 +00:00
github-actions[bot]
0c219ebf51
release: cargo-binstall v1.6.3 (#1624)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-02-13 09:05:03 +00:00
github-actions[bot]
83442b013e
release: binstalk v0.22.0 (#1622)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-02-13 07:14:29 +00:00
github-actions[bot]
1c95c73a38
release: binstalk-manifests v0.13.0 (#1619)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-02-12 12:24:16 +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
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]
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
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]
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
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
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]
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
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
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]
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]
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
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
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
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
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]
d345b2c14b
release: cargo-binstall v1.4.5 (#1492)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2023-11-12 10:59:27 +00:00
github-actions[bot]
5b8608d367
release: binstalk v0.18.0 (#1493)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2023-11-11 23:36:51 +00:00
github-actions[bot]
122e64ab25
release: binstalk-manifests v0.11.0 (#1484)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2023-11-11 18:53:10 +00:00
dependabot[bot]
8dff97a0a2
build(deps): bump the deps group with 5 updates (#1482)
Bumps the deps group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap) | `4.4.7` | `4.4.8` |
| [file-format](https://github.com/mmalecot/file-format) | `0.21.0` | `0.22.0` |
| [command-group](https://github.com/watchexec/command-group) | `3.0.0` | `4.1.0` |
| [toml_edit](https://github.com/toml-rs/toml) | `0.20.7` | `0.21.0` |
| [default-net](https://github.com/shellrow/default-net) | `0.19.0` | `0.20.0` |


Updates `clap` from 4.4.7 to 4.4.8
- [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.7...v4.4.8)

Updates `file-format` from 0.21.0 to 0.22.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.21.0...v0.22.0)

Updates `command-group` from 3.0.0 to 4.1.0
- [Changelog](https://github.com/watchexec/command-group/blob/main/CHANGELOG.md)
- [Commits](https://github.com/watchexec/command-group/compare/v3.0.0...v4.1.0)

Updates `toml_edit` from 0.20.7 to 0.21.0
- [Commits](https://github.com/toml-rs/toml/compare/v0.20.7...v0.21.0)

Updates `default-net` from 0.19.0 to 0.20.0
- [Release notes](https://github.com/shellrow/default-net/releases)
- [Commits](https://github.com/shellrow/default-net/compare/v0.19.0...v0.20.0)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: deps
- dependency-name: file-format
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: deps
- dependency-name: command-group
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: deps
- dependency-name: toml_edit
  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
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-11 06:32:43 +00:00
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