Jiahao XU
4687726c66
Improve derbugg logging ( #1738 )
...
* Improve derbugg logging
Make it more readable
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix excessive logging
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
---------
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-06-13 00:25:24 +10: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
Jiahao XU
52f172c713
Fix binstalk_fetchers::FetchError definition ( #1711 )
...
Rm useless cfg on it
2024-06-10 12:17:45 +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]
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]
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]
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
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
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]
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]
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
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]
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]
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
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
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]
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
github-actions[bot]
7dfb617c95
release: binstalk-downloader v0.9.5 ( #1505 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-11-18 04:50:46 +00:00
dependabot[bot]
a62f22050b
build(deps): bump the deps group with 4 updates ( #1502 )
...
Bumps the deps group with 4 updates: [windows](https://github.com/microsoft/windows-rs ), [itertools](https://github.com/rust-itertools/itertools ), [default-net](https://github.com/shellrow/default-net ) and [windows-sys](https://github.com/microsoft/windows-rs ).
Updates `windows` from 0.51.1 to 0.52.0
- [Release notes](https://github.com/microsoft/windows-rs/releases )
- [Commits](https://github.com/microsoft/windows-rs/compare/0.51.1...0.52.0 )
Updates `itertools` from 0.11.0 to 0.12.0
- [Changelog](https://github.com/rust-itertools/itertools/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-itertools/itertools/compare/v0.11.0...v0.12.0 )
Updates `default-net` from 0.20.0 to 0.21.0
- [Release notes](https://github.com/shellrow/default-net/releases )
- [Commits](https://github.com/shellrow/default-net/compare/v0.20.0...v0.21.0 )
Updates `windows-sys` from 0.48.0 to 0.52.0
- [Release notes](https://github.com/microsoft/windows-rs/releases )
- [Commits](https://github.com/microsoft/windows-rs/compare/0.48.0...0.52.0 )
---
updated-dependencies:
- dependency-name: windows
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: deps
- dependency-name: itertools
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: windows-sys
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-18 03:04:12 +00:00
github-actions[bot]
c874f2e0dc
release: binstalk-downloader v0.9.4 ( #1485 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-11-11 08:05:41 +00:00
github-actions[bot]
61748689b3
release: binstalk-downloader v0.9.3 ( #1471 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-10-22 12:20:39 +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
github-actions[bot]
6f6426c247
release: binstalk-fetchers v0.2.1 ( #1448 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-10-07 08:39:55 +00:00
github-actions[bot]
113e9d40a3
release: binstalk-downloader v0.9.2 ( #1447 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-10-07 07:50:55 +00:00
github-actions[bot]
71764ca62c
release: binstalk-types v0.6.1 ( #1446 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-10-07 07:08:48 +00:00
Jiahao XU
ceba74870e
Fix clippy errors in cargo v1.73.0 ( #1439 )
...
It actually improves the quality of our code!
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-10-06 12:10:42 +00:00
github-actions[bot]
4344148566
release: binstalk-downloader v0.9.1 ( #1416 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-09-27 22:31:01 +00:00
github-actions[bot]
ac357069a3
release: binstalk-fetchers v0.2.0 ( #1390 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-09-25 09:00:55 +00:00
github-actions[bot]
4ec44749f1
release: binstalk-downloader v0.9.0 ( #1387 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-09-25 05:32:33 +00:00
github-actions[bot]
d39bb918df
release: binstalk-types v0.6.0 ( #1384 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-09-25 02:31:02 +00:00
Félix Saparelli
680accd0d3
Check quickinstall signatures ( #1382 )
...
* Check quickinstall signatures
* e2e test
* We can no longer check presence of signing section early
* Improve UI a little
2023-09-23 08:35:49 +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
github-actions[bot]
3f3fdd565d
release: binstalk-fetchers v0.1.1 ( #1370 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-09-17 06:04:55 +00:00
github-actions[bot]
53234e81ab
release: binstalk-downloader v0.8.0 ( #1369 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-09-17 03:53:11 +00:00
github-actions[bot]
52b81aad2b
release: binstalk-fetchers v0.1.0 ( #1322 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-08-24 10:24:07 +00:00
github-actions[bot]
94ac906caa
release: binstalk-downloader v0.7.1 ( #1320 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-08-24 05:28:59 +00:00
Jiahao XU
6cc22b2c51
binstalk-fetchers: Add feature quickinstall ( #1315 )
...
Also fixed `package.metadata.docs.rs` for `binstalk-registry`.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-08-24 00:05:27 +00:00
Jiahao XU
0c5a65fb35
Refactor: Extract new crate binstalk-bins
( #1294 )
...
To reduce `binstalk` codegen and enable reuse of it.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-08-15 21:48:42 +00:00
Jiahao XU
76c72469eb
Refactor: Extract new crate binstalk-fetchers
( #1291 )
...
To reduce `binstalk` codegen and enable better reuse.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-08-14 03:20:34 +00:00