Commit graph

764 commits

Author SHA1 Message Date
Jiahao XU
1dbd2460a3
Support private github repository (#1690)
* Refactor: Create new crate binstalk-git-repo-api

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

* Fix CI lint warnings

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

* Fix `just check`: Rm deleted features from `cargo-hack` check

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

* Refactor: Extract  new mod error

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

* Ret artifact url in `has_release_artifact`

So that we can use it to download from private repositories.

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

* Move `test_graph_ql_error_type` to mod `error`

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

* Fix running `cargo test` in `binstalk-git-repo-api``

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

* Remove unnecessary import in mod `error::test`

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

* Rename mod `request`` to `release_artifacts`

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

* Impl draft version of fetching repo info

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

* Refactor: Move `HasReleaseArtifacts` failure variants into `GhApiError`

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

* Refactor: Use `GhRepo` in `GhRelease`

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

* Fix testing

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

* Refactor: Return `'static` future

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

* Refactor: Make sure `'static` Future is returned

To make it easier to create generic function

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

* Add logging to unit testing

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

* Fix unit testing

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

* Refactor: Extract new fn `GhApiClient::do_fetch`

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

* Rm unused `percent_encode_http_url_path`

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

* Fix `cargo test` run on CI

`cargo test` run all tests in one process.

As such, `set_global_default` would fail on the second call.

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

* Optimize `GhApiClient::do_fetch`: Avoid unnecessary restful API call

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

* Refactor: Rm param `auth_token` for restful API fn

which is always set to `None`

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

* Impl new API `GhApiClient::get_repo_info`

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

* Fix unit test for `GhApiClient::get_repo_info`

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

* Refactor testing: Parameter-ize testing

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

* Parallelise `test_get_repo_info`

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

* Refactor: Create parameter-ised `test_has_release_artifact`

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

* Parallelize `test_has_release_artifact`

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

* Refactor: `gh_api_client::test::create_client` shall not be `async`

as there is no `.await` in it.

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

* Return `Url` in `GhApiClient::has_release_artifact`

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

* Impl new API `GhApiClient::download_artifact`

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

* Remove unused deps added to binstalk-git-repo-api

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

* Fix clippy lints

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

* Add new API `GhApiClient::remote_client`

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

* Add `GhApiClient::has_gh_token`

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

* Add `GhRepo::try_extract_from_url`

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

* Rename `ReleaseArtifactUrl` to `GhReleaseArtifactUrl`

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

* Add new fn `Download::with_data_verifier`

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

* feature: Support private repository

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

* Fix clippy lints

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

* Add e2e-test/private-github-repo

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

* Fix clippy lints

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

* Fix `launch_baseline_find_tasks`: Retry on rate limit

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

* Fix test failure: Retry on rate limit

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

* Temporarily enable debug output for e2e-test-private-github-repo

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

* Fix `get_repo_info`: Retry on rate limit

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

* Improve `debug!` logging

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

* Add more debug logging

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

* Add more debugging

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

* Add more debug logging

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

* Apply suggestions from code review

* Fix compilation

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

* Fix cargo fmt

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

* Add crate binstalk-git-repo-api to release-pr.yml

* Update crates/binstalk-git-repo-api/Cargo.toml

* Apply suggestions from code review

* Update crates/binstalk/Cargo.toml

---------

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-06-10 06:02:12 +00:00
github-actions[bot]
48ee0b0e3e
release: cargo-binstall v1.6.9 (#1719)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-06-08 06:00:33 +00:00
github-actions[bot]
02dbe21500
release: atomic-file-install v1.0.4 (#1718)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-06-08 03:41:59 +00:00
dependabot[bot]
ed173e2b5f
build(deps): bump windows from 0.56.0 to 0.57.0 in the deps group (#1716)
Bumps the deps group with 1 update: [windows](https://github.com/microsoft/windows-rs).


Updates `windows` from 0.56.0 to 0.57.0
- [Release notes](https://github.com/microsoft/windows-rs/releases)
- [Commits](https://github.com/microsoft/windows-rs/compare/0.56.0...0.57.0)

---
updated-dependencies:
- dependency-name: windows
  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-06-08 01:31:46 +00:00
github-actions[bot]
2d221debd8
release: cargo-binstall v1.6.8 (#1710)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-05-25 01:39:17 +00:00
github-actions[bot]
4545b16e0b
release: cargo-binstall v1.6.7 (#1707)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-05-18 06:13:50 +00:00
github-actions[bot]
6cede2e8dc
release: binstalk v0.23.1 (#1706)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-05-18 05:20:48 +00:00
github-actions[bot]
abc0dbee67
release: binstalk-fetchers v0.4.1 (#1705)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-05-18 04:23:54 +00:00
dependabot[bot]
45307909c3
build(deps): bump the deps group with 2 updates (#1704)
Bumps the deps group with 2 updates: [itertools](https://github.com/rust-itertools/itertools) and [thiserror](https://github.com/dtolnay/thiserror).


Updates `itertools` from 0.12.1 to 0.13.0
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.12.1...v0.13.0)

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

---
updated-dependencies:
- dependency-name: itertools
  dependency-type: direct:production
  update-type: version-update:semver-minor
  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>
2024-05-18 03:28:12 +00:00
github-actions[bot]
496eda8439
release: cargo-binstall v1.6.6 (#1697)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-05-11 03:35:50 +00:00
dependabot[bot]
e74127b04e
build(deps): bump file-format from 0.24.0 to 0.25.0 in the deps group (#1696)
Bumps the deps group with 1 update: [file-format](https://github.com/mmalecot/file-format).


Updates `file-format` from 0.24.0 to 0.25.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.24.0...v0.25.0)

---
updated-dependencies:
- dependency-name: file-format
  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-05-11 01:43:39 +00:00
github-actions[bot]
dfdaf6952e
release: cargo-binstall v1.6.5 (#1686)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-05-03 08:19:06 +00:00
github-actions[bot]
11f5feac08
release: binstalk v0.23.0 (#1678)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-05-03 02:07:00 +00:00
github-actions[bot]
27bc4a2d2a
release: detect-targets v0.1.17 (#1682)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-05-03 00:29:20 +00:00
github-actions[bot]
bf077e1e3a
release: binstalk-downloader v0.10.3 (#1684)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-05-03 00:19:19 +00:00
Jiahao XU
6ef3b665f4
Fix clippy lint error in 1.78.0 (#1679)
* Bump msrv of binstalk-downloader to 1.70.0

* Fix trait bound in multiple places

for copy_file_to_mpsc

* Rm super-trait trait bounds for FusedStream

* Bump detect-targets msrv to 1.62.0

* Bump cargo-binstall msrv to 1.70.0
2024-05-02 23:03:12 +00:00
github-actions[bot]
aaaa2b1387
release: atomic-file-install v1.0.3 (#1673)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-05-02 12:06:53 +00:00
github-actions[bot]
ce5f37738f
release: binstalk-registry v0.8.0 (#1677)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-05-02 11:15:21 +00:00
github-actions[bot]
a9fad9fce4
release: cargo-toml-workspace v6.0.0 (#1676)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-05-02 10:22:24 +00:00
github-actions[bot]
d515e11a8b
release: binstalk-downloader v0.10.2 (#1675)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-05-02 09:08:24 +00:00
github-actions[bot]
65a3c2c918
release: detect-targets v0.1.16 (#1674)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-05-02 09:02:44 +00:00
Jiahao XU
fda8cac41a
Bump reqwest to 0.12.4 and enable feature zstd (#1667)
to support compression using zstd.

Also enable `http2` (which is now enabled by other deps of this crate).

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-04-24 07:32:39 +00:00
dependabot[bot]
55024b0771
build(deps): bump the deps group with 2 updates (#1664)
Bumps the deps group with 2 updates: [toml_edit](https://github.com/toml-rs/toml) and [cargo_toml](https://gitlab.com/lib.rs/cargo_toml).


Updates `toml_edit` from 0.22.11 to 0.22.12
- [Commits](https://github.com/toml-rs/toml/compare/v0.22.11...v0.22.12)

Updates `cargo_toml` from 0.19.2 to 0.20.0
- [Commits](https://gitlab.com/lib.rs/cargo_toml/compare/v0.19.2...v0.20.0)

---
updated-dependencies:
- dependency-name: toml_edit
  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-04-20 02:12:40 +00:00
dependabot[bot]
479dd07d14
build(deps): bump the deps group with 2 updates (#1661)
Bumps the deps group with 2 updates: [windows](https://github.com/microsoft/windows-rs) and [either](https://github.com/rayon-rs/either).


Updates `windows` from 0.54.0 to 0.56.0
- [Release notes](https://github.com/microsoft/windows-rs/releases)
- [Commits](https://github.com/microsoft/windows-rs/compare/0.54.0...0.56.0)

Updates `either` from 1.10.0 to 1.11.0
- [Commits](https://github.com/rayon-rs/either/compare/1.10.0...1.11.0)

---
updated-dependencies:
- dependency-name: windows
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: deps
- dependency-name: either
  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-04-13 01:38:03 +00:00
dependabot[bot]
f1b7cd4430
build(deps): bump async_zip from 0.0.16 to 0.0.17 in the deps group (#1659)
* build(deps): bump async_zip from 0.0.16 to 0.0.17 in the deps group

Bumps the deps group with 1 update: [async_zip](https://github.com/Majored/rs-async-zip).


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

---
updated-dependencies:
- dependency-name: async_zip
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: deps
...

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

* Fix `extract_zip_entry` generic bound

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-04-06 03:38:11 +00:00
Jiahao XU
fe2a4d8b0c
Remove dep windows-dll and replace it with manual loading (#1658)
Fixed #1629

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-04-06 02:08:10 +00:00
Jiahao XU
397fa7200f
Bump dep reqwest in binstalk-downloader from 0.11.26 to 0.12.0 (#1655)
* Bump dep reqwest in binstalk-downloader from 0.11.26 to 0.12.0

reqwest 0.11.27 is still used in gix, but it will be upgraded in
next gix release.

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

* Fix feature selection: Forward tls feature to `simple-git`

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

---------

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-04-02 21:26:39 +00:00
github-actions[bot]
d76e2d8d77
dep: Upgrade transitive dependencies (#1651)
* dep: Upgrade transitive dependencies

* Apply clippy suggestions

* Apply clippy suggestion

---------

Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-03-22 05:24:21 +00:00
dependabot[bot]
69a701d12e
build(deps): bump the deps group with 2 updates (#1649)
Bumps the deps group with 2 updates: [clap](https://github.com/clap-rs/clap) and [simple-git](https://github.com/cargo-bins/simple-git).


Updates `clap` from 4.5.2 to 4.5.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.5.2...v4.5.3)

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

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: deps
- dependency-name: simple-git
  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-03-16 01:54:37 +00:00
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]
6d3dcadfee
release: fs-lock v0.1.3 (#1642)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-03-09 03:33:53 +00:00
github-actions[bot]
3d2f72a8c5
release: atomic-file-install v1.0.2 (#1643)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-03-09 03:33:48 +00:00
github-actions[bot]
a5e534224c
release: binstalk-downloader v0.10.1 (#1644)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-03-09 03:33:43 +00:00
dependabot[bot]
fda8f98cdf
build(deps): bump the deps group with 2 updates (#1641)
Bumps the deps group with 2 updates: [reqwest](https://github.com/seanmonstar/reqwest) and [fs4](https://github.com/al8n/fs4-rs).


Updates `reqwest` from 0.11.24 to 0.11.25
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.24...v0.11.25)

Updates `fs4` from 0.8.0 to 0.8.1
- [Release notes](https://github.com/al8n/fs4-rs/releases)
- [Commits](https://github.com/al8n/fs4-rs/commits)

---
updated-dependencies:
- dependency-name: reqwest
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: deps
- dependency-name: fs4
  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-03-09 01:55:36 +00:00
dependabot[bot]
1fd99af959
build(deps): bump the deps group with 3 updates (#1637)
Bumps the deps group with 3 updates: [reflink-copy](https://github.com/cargo-bins/reflink-copy), [windows](https://github.com/microsoft/windows-rs) and [fs4](https://github.com/al8n/fs4-rs).


Updates `reflink-copy` from 0.1.14 to 0.1.15
- [Release notes](https://github.com/cargo-bins/reflink-copy/releases)
- [Commits](https://github.com/cargo-bins/reflink-copy/compare/0.1.14...0.1.15)

Updates `windows` from 0.53.0 to 0.54.0
- [Release notes](https://github.com/microsoft/windows-rs/releases)
- [Commits](https://github.com/microsoft/windows-rs/compare/0.53.0...0.54.0)

Updates `fs4` from 0.7.0 to 0.8.0
- [Release notes](https://github.com/al8n/fs4-rs/releases)
- [Commits](https://github.com/al8n/fs4-rs/commits)

---
updated-dependencies:
- dependency-name: reflink-copy
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: deps
- dependency-name: windows
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: deps
- dependency-name: fs4
  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-03-02 04:11:52 +00:00
dependabot[bot]
5dea671585
build(deps): bump the deps group with 2 updates (#1633)
Bumps the deps group with 2 updates: [windows](https://github.com/microsoft/windows-rs) and [default-net](https://github.com/shellrow/default-net).


Updates `windows` from 0.52.0 to 0.53.0
- [Release notes](https://github.com/microsoft/windows-rs/releases)
- [Commits](https://github.com/microsoft/windows-rs/compare/0.52.0...0.53.0)

Updates `default-net` from 0.21.0 to 0.22.0
- [Release notes](https://github.com/shellrow/default-net/releases)
- [Commits](https://github.com/shellrow/default-net/compare/v0.21.0...v0.22.0)

---
updated-dependencies:
- dependency-name: windows
  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>
2024-02-24 01:58:35 +00:00
Ilkka Poutanen
6dd4a155fb
Typo fix (#1631) 2024-02-23 11:21:05 +00:00
Jiahao XU
1928e2ccb3
Refactor: Mv leon and leon-macros into another repo (#1628)
* Refactor: Mv leon and leon-macros into another repo

It's moved to https://github.com/cargo-bins/leon

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

* Fix CI: Rm `cargo-hack` check for `leon`

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

---------

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-02-20 13:16:47 +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]
22dabf1497
release: binstalk-registry v0.7.0 (#1620)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-02-12 13:17:36 +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
github-actions[bot]
1d783172e3
release: binstalk-fetchers v0.4.0 (#1618)
chore: Release

Co-authored-by: github-actions <github-actions@github.com>
2024-02-12 11:20:24 +00:00
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
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]
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