github-actions[bot]
8b314728d8
release: binstalk-registry v0.10.0 ( #1846 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-07-26 09:40:36 +00:00
github-actions[bot]
08d8946dde
release: binstalk-git-repo-api v0.4.0 ( #1845 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-07-26 09:39:17 +00:00
github-actions[bot]
40ec708bd8
release: binstalk-bins v0.5.0 ( #1843 )
...
chore: Release
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-07-26 09:38:04 +00:00
github-actions[bot]
78f26622b2
release: binstalk-downloader v0.12.0 ( #1842 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-07-26 09:11:23 +00:00
github-actions[bot]
24c7c1a4bb
release: cargo-toml-workspace v6.0.1 ( #1840 )
...
chore: Release
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-07-26 08:57:35 +00:00
github-actions[bot]
58d638726b
release: binstalk-types v0.8.0 ( #1841 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-07-26 08:37:08 +00:00
Jiahao XU
eba07fb147
Fix v1 manifest format for git and local path ( #1821 )
...
* Bump simple-git to v0.2.10
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix v1 manifest format for git and local path
Fixed #1815
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix v1 format for custom registry
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Remove unused functions
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix compilation
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Update git.sh
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fixed git.sh for windows
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* fixx git.sh for win
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Update git.sh
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* fix git.sh
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
---------
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-07-17 05:34:12 +00:00
dependabot[bot]
0fe605f7f0
build(deps): bump compact_str from 0.7.1 to 0.8.0 in the deps group ( #1817 )
...
* build(deps): bump compact_str from 0.7.1 to 0.8.0 in the deps group
Bumps the deps group with 1 update: [compact_str](https://github.com/ParkMyCar/compact_str ).
Updates `compact_str` from 0.7.1 to 0.8.0
- [Changelog](https://github.com/ParkMyCar/compact_str/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ParkMyCar/compact_str/commits )
---
updated-dependencies:
- dependency-name: compact_str
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: deps
...
Signed-off-by: dependabot[bot] <support@github.com>
* Fix compilation error and deprecations
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Use `CompactString::const_new` when possible
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-07-13 04:10:11 +00:00
github-actions[bot]
3236512293
release: binstalk v0.26.1 ( #1798 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-06-23 13:17:55 +00:00
github-actions[bot]
27e3b2672d
release: binstalk-fetchers v0.7.1 ( #1797 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-06-23 12:14:44 +00:00
github-actions[bot]
77565d8e40
release: binstalk v0.26.0 ( #1791 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-06-20 00:30:15 +00:00
github-actions[bot]
9fdd1ad32a
release: binstalk-fetchers v0.7.0 ( #1786 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-06-19 08:03:02 +00:00
github-actions[bot]
384789d1c9
release: binstalk-git-repo-api v0.3.0 ( #1785 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-06-18 14:44:56 +00:00
github-actions[bot]
4bd5e79115
release: binstalk-downloader v0.11.5 ( #1784 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-06-18 14:21:59 +00:00
github-actions[bot]
ee16116583
release: binstalk-downloader v0.11.4 ( #1777 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-06-15 16:05:37 +00:00
github-actions[bot]
6ed611c66e
release: binstalk v0.25.0 ( #1773 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-06-15 07:00:10 +00:00
github-actions[bot]
08f66b0083
release: binstalk-fetchers v0.6.0 ( #1772 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-06-15 06:36:08 +00:00
github-actions[bot]
ed31bc17e5
release: binstalk-git-repo-api v0.2.0 ( #1771 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-06-15 06:02:41 +00:00
Jiahao XU
fff6aa8122
Improve use of github token ( #1769 )
...
* Add new dep zeroize
* Use Zeroizing to avoid leaking the token
* Optimize gh-auth-token
Spawn it as a task, and only await it
when using GhApiClient
* Fix binstalk-git-repo-api unit tests
2024-06-15 05:42:09 +00:00
github-actions[bot]
5c9a7b2c80
release: binstalk v0.24.1 ( #1762 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-06-14 13:12:01 +00:00
github-actions[bot]
b71b3ce472
release: binstalk-downloader v0.11.3 ( #1759 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-06-14 12:38:01 +00:00
github-actions[bot]
77b0b68ea9
release: binstalk-registry v0.9.1 ( #1756 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-06-14 10:04:28 +00:00
github-actions[bot]
d3cd0a2ad4
release: binstalk-fetchers v0.5.1 ( #1755 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-06-14 08:13:57 +00:00
Jiahao XU
34cca9f415
Use io::Error::downcast in 1.79 ( #1754 )
...
* Bump msrv of binstalk-downloader, binstalk and cargo-binstall to 1.79
* Update From<io::Error> for DownloadError
to use io::Error::downcast
* Update From<io::Error> for BinstallError
* fix dmt
2024-06-14 08:00:53 +00:00
github-actions[bot]
9a270f03b6
release: binstalk v0.24.0 ( #1743 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-06-13 11:41:33 +00:00
github-actions[bot]
734906d5fd
release: binstalk-git-repo-api v0.1.1 ( #1740 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-06-13 03:41:38 +00:00
github-actions[bot]
f567e3bd9e
release: binstalk-downloader v0.11.2 ( #1739 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-06-13 02:54:38 +00:00
github-actions[bot]
66f303393f
release: binstalk-registry v0.9.0 ( #1736 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-06-13 00:30:42 +00:00
github-actions[bot]
07c8dd7e8a
release: binstalk-fetchers v0.5.0 ( #1735 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-06-12 21:26:20 +00:00
github-actions[bot]
8fe7b92631
release: binstalk-git-repo-api v0.1.0 ( #1728 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-06-12 11:31:53 +00:00
github-actions[bot]
9a0367b3ec
release: binstalk-downloader v0.11.1 ( #1726 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-06-11 13:31:35 +00:00
github-actions[bot]
5bcc243741
release: binstalk-downloader v0.11.0 ( #1722 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-06-10 08:11:05 +00:00
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]
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]
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
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
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
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
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]
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
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]
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