Jiahao XU
ee3af57f4d
Fix SparseRegistery::url
return type
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-06 13:30:12 +10:00
Jiahao XU
4c1d6b45fe
Fix GitRegistry::url
ret type
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-06 13:29:45 +10:00
Jiahao XU
9298511d05
Fix Registery::crate_source
...
Match sparse/git crates.io registry to standardrised `CrateSource::cratesio_registry()`.
Also optimize it to avoid unnecessary `.to_string()` and `Url::parse` for sparse registry.
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-06 13:29:17 +10:00
Jiahao XU
31a88f4124
cargo fmt crate_version_source.rs
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-06 01:06:37 +10:00
Jiahao XU
563daa2bdd
Fix lifetime of CratesToml<'::add_crate
API
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-06 01:00:17 +10:00
Jiahao XU
cf3e7f4113
Fix lifetime of CrateToml::add_crate
API
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-06 00:50:12 +10:00
Jiahao XU
01d5dbf234
Fix crate_version_source.rs
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-06 00:48:25 +10:00
Jiahao XU
8f13d324c4
Fix <Source as Display>::fmt
impl for Source::Sprase
...
Add `/` to the end of the url if it doesn't have one
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-06 00:44:19 +10:00
Jiahao XU
2d7feab356
Refactor: Extract new fn CratesToml::add_crate
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-06 00:34:24 +10:00
Jiahao XU
742ab8c1e0
Fix fmt in cargo_crates_v1.rs
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-04 01:10:01 +10:00
Jiahao XU
769ba9276b
Fix fmt in binstalk-registry/src/lib.rs
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-04 00:43:32 +10:00
Jiahao XU
f5a4b70be4
Fix fmt in cargo_crates_v1.rs
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-04 00:42:09 +10:00
Jiahao XU
c929883e47
Fix unused variable in Registry::crate_source
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-04 00:41:06 +10:00
Jiahao XU
ce87169b26
Fix Registry::url
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-04 00:34:57 +10:00
Jiahao XU
a356179804
Fix typing in cargo_crates_v1.rs and optimize append_to_file
...
Use `Vec::reserve_exact ` in `append_to_file` to avoid unnecessary allocation
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-04 00:17:18 +10:00
Jiahao XU
a2df287683
Optimize CratesToml::append_to_file
...
Bulkify remove
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-03 01:24:37 +10:00
Jiahao XU
68b9519527
Add support for Source::Sparse
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-03 01:11:43 +10:00
Jiahao XU
fc32a1ca61
Use `Registry::crate_siouy
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-03 01:09:25 +10:00
Jiahao XU
b909001d4b
Add Registry::crate_source
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-03 01:08:03 +10:00
Jiahao XU
85ae0e7cee
Add SourceType::Sparse
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-03 00:58:01 +10:00
Jiahao XU
c83aa46c3c
Add either v1.15.0 to binstalk-registry
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-06-03 00:51:45 +10:00
github-actions[bot]
e8c9cc3599
release: cargo-binstall v1.12.6 ( #2174 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2025-05-31 06:15:47 +00:00
github-actions[bot]
0aa114bfe0
chore: release ( #2164 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-31 03:49:59 +00:00
github-actions[bot]
12373e5c3f
dep: Upgrade transitive dependencies ( #2173 )
...
Co-authored-by: github-actions <github-actions@github.com>
2025-05-30 16:12:05 +00:00
dependabot[bot]
8c0e1b27a3
build(deps): bump tj-actions/changed-files from 6f67ee9ac810f0192ea7b3d2086406f97847bcf9 to 050a3d3360d29711ee9d8210fc639d902d23ad07 ( #2169 )
...
build(deps): bump tj-actions/changed-files
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files ) from 6f67ee9ac810f0192ea7b3d2086406f97847bcf9 to 050a3d3360d29711ee9d8210fc639d902d23ad07.
- [Release notes](https://github.com/tj-actions/changed-files/releases )
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md )
- [Commits](6f67ee9ac8...050a3d3360
)
---
updated-dependencies:
- dependency-name: tj-actions/changed-files
dependency-version: 050a3d3360d29711ee9d8210fc639d902d23ad07
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-30 15:49:06 +00:00
Jiahao XU
a42083c146
fix ci: temporarily disable bitbucket testing as bitbucket is down ( #2171 )
...
* fix ci: temporarily disable bitbucket testing as bitbucket is down
fix ci
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fix other-repos.sh
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fix other-repos.sh (#2172 )
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
---------
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-05-30 15:41:30 +00:00
Jiahao XU
a333bb922d
deps: Upgrade reqwest to 0.12.17 ( #2168 )
...
* Upgrade reqwest to 0.12.18
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Enable bbr and early data for http3
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* fix dep reqwest 0.12.18 does not exist
use reqwest 0.12.17
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fix builder
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fix setting tls early data
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Add reqwest_unstable as checked-cfg
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
---------
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-05-28 14:59:21 +00:00
github-actions[bot]
268643a6b5
dep: Upgrade transitive dependencies ( #2163 )
...
Co-authored-by: github-actions <github-actions@github.com>
2025-05-23 10:19:12 +00:00
Álvaro Mondéjar Rubio
3cdba561a3
Safer GH action execution for sh shells ( #2159 )
...
* Safer GH action execution for sh shells
Signed-off-by: Álvaro Mondéjar Rubio <mondejar1994@gmail.com>
* Remove o and pipefail
Signed-off-by: Álvaro Mondéjar Rubio <mondejar1994@gmail.com>
* Use sh instead of bash
Signed-off-by: Álvaro Mondéjar Rubio <mondejar1994@gmail.com>
* Revert change
Signed-off-by: Álvaro Mondéjar Rubio <mondejar1994@gmail.com>
* Fix error
Signed-off-by: Álvaro Mondéjar Rubio <mondejar1994@gmail.com>
---------
Signed-off-by: Álvaro Mondéjar Rubio <mondejar1994@gmail.com>
2025-05-18 14:10:26 +00:00
Jiahao XU
3b64237893
Add --retry 10 to curl call in install-from-binstall-release.sh ( #2158 )
...
* Add --retry 10 to curl call in install-from-binstall-release.sh
Fix #2157
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fix install-from-binstall-release.sh
Use do_curl() instead of function do_curl as the latter is non standard
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
---------
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-05-18 03:08:47 +00:00
github-actions[bot]
5cbf019d8c
release: cargo-binstall v1.12.5 ( #2156 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2025-05-16 15:46:21 +00:00
github-actions[bot]
205aaa5a4f
chore: release ( #2155 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-16 15:14:11 +00:00
github-actions[bot]
8d438736eb
dep: Upgrade transitive dependencies ( #2154 )
...
* dep: Upgrade transitive dependencies
* Simplify download.rs using io::Error::other
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fix utils.rs in io::Error::other
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fix typo in download.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Use io::Error::other in errors.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Use TempDir::keep instead of deprecated into_path in entry.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Use io::Error::other in gh_token.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fmt gh_token.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fmt utils.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
---------
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>
2025-05-16 13:29:39 +00:00
dependabot[bot]
277269fc8e
build(deps): bump file-format from 0.26.0 to 0.27.0 in the deps group ( #2149 )
...
Bumps the deps group with 1 update: [file-format](https://github.com/mmalecot/file-format ).
Updates `file-format` from 0.26.0 to 0.27.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.26.0...v0.27.0 )
---
updated-dependencies:
- dependency-name: file-format
dependency-version: 0.27.0
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>
2025-05-10 01:49:27 +00:00
github-actions[bot]
45abf0e827
dep: Upgrade transitive dependencies ( #2148 )
...
Co-authored-by: github-actions <github-actions@github.com>
2025-05-09 10:15:25 +00:00
github-actions[bot]
13f9d60d53
release: cargo-binstall v1.12.4 ( #2146 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2025-05-07 12:19:04 +00:00
github-actions[bot]
f95e90d82c
chore: release ( #2123 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-05-07 11:42:02 +00:00
github-actions[bot]
15dc05f12b
dep: Upgrade transitive dependencies ( #2145 )
...
Co-authored-by: github-actions <github-actions@github.com>
2025-05-07 11:12:21 +00:00
Jiahao XU
1394d1bbda
Fix glibc detection on ubuntu 24.02 ( #2143 )
...
* Fix glibc detection on ubuntu 24.02
On ubuntu 24.02, glibc are installed in:
```
/usr/lib/aarch64-linux-gnu/libc.so.6
/usr/lib/aarch64-linux-gnu/libc.so
```
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Add tests for ubuntu-24.02-arm
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fix CI: Add detect-targets-ubuntu-arm-test
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Bump ubuntu-20.04 to ubuntu-22.04
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Update outdated comment in detect-targets-ubuntu-arm-test in ci.yml
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
---------
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-05-07 08:43:36 +00:00
github-actions[bot]
20e9b25913
dep: Upgrade transitive dependencies ( #2142 )
...
Co-authored-by: github-actions <github-actions@github.com>
2025-05-05 14:24:40 +00:00
Jiahao XU
38e42845bc
Bump ziglang to latest version ( #2139 )
...
* Bump ziglang to latest version
to fix the erorr in 4154918965
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Disable icf on linux
since latest zig-cc does not support it
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Disable cargo-auditable
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
---------
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-05-05 13:52:01 +00:00
github-actions[bot]
b4df017ff7
dep: Upgrade transitive dependencies ( #2133 )
...
Co-authored-by: github-actions <github-actions@github.com>
2025-04-25 03:59:01 +00:00
github-actions[bot]
a803508dbf
dep: Upgrade transitive dependencies ( #2130 )
...
Co-authored-by: github-actions <github-actions@github.com>
2025-04-18 04:02:19 +00:00
github-actions[bot]
acc44cb207
dep: Upgrade transitive dependencies ( #2122 )
...
Co-authored-by: github-actions <github-actions@github.com>
2025-04-11 08:26:47 +00:00
dependabot[bot]
b288890787
build(deps): bump tj-actions/changed-files from 0b975f61488402a699abcebd6a1e25924cf85218 to 6f67ee9ac810f0192ea7b3d2086406f97847bcf9 ( #2115 )
...
build(deps): bump tj-actions/changed-files
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files ) from 0b975f61488402a699abcebd6a1e25924cf85218 to 6f67ee9ac810f0192ea7b3d2086406f97847bcf9.
- [Release notes](https://github.com/tj-actions/changed-files/releases )
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md )
- [Commits](0b975f6148...6f67ee9ac8
)
---
updated-dependencies:
- dependency-name: tj-actions/changed-files
dependency-version: 6f67ee9ac810f0192ea7b3d2086406f97847bcf9
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-07 01:52:11 +00:00
github-actions[bot]
63aaa5c193
release: cargo-binstall v1.12.3 ( #2114 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2025-04-06 04:47:09 +00:00
github-actions[bot]
e986d53f05
chore: release ( #2106 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-05 11:02:32 +00:00
github-actions[bot]
d7a1d1aeac
dep: Upgrade transitive dependencies ( #2113 )
...
Co-authored-by: github-actions <github-actions@github.com>
2025-04-05 10:31:27 +00:00
github-actions[bot]
96d8992410
dep: Upgrade transitive dependencies ( #2110 )
...
Co-authored-by: github-actions <github-actions@github.com>
2025-04-04 14:57:01 +00:00
Jiahao XU
b49bcb7a16
Fix clippy lints ( #2111 )
...
* Fix indentation of docs in extracted_files.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Optimize parse_header_retry_after
Use next_back instead of last
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fix doc indentation in cargo_config.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
---------
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2025-04-04 14:14:17 +00:00