dependabot[bot]
50bee16581
build(deps): bump tj-actions/changed-files from 44 to 45 ( #1893 )
...
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files ) from 44 to 45.
- [Release notes](https://github.com/tj-actions/changed-files/releases )
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md )
- [Commits](https://github.com/tj-actions/changed-files/compare/v44...v45 )
---
updated-dependencies:
- dependency-name: tj-actions/changed-files
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-22 03:22:31 +00:00
Alejandro González
b599493600
docs: mention quickinstall
telemetry collection in --help
and README ( #1890 )
...
* docs: mention `quickinstall` telemetry collection in `--help` and README
These changes describe the usage statistics collected when the
`quickinstall` strategy is used by default, according to the discussion
and details brought forward on
https://github.com/cargo-bins/cargo-binstall/issues/1884 . Both the
project README and the CLI long help contain clear disclosures of such
statistics collection now.
Signed-off-by: Alejandro González <me@alegon.dev>
* docs: add some more data collection details
Signed-off-by: Alejandro González <me@alegon.dev>
---------
Signed-off-by: Alejandro González <me@alegon.dev>
2024-08-20 10:24:13 +00:00
Jiahao XU
6cb09fd1e2
Add link for all supported pkg-fmt in SUPPORT.md ( #1887 )
...
* Add link for all supported pkg-fmt in SUPPORT.md
Fix #1885
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Update SUPPORT.md
Co-authored-by: pinage404 <pinage404@gmail.com>
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: pinage404 <pinage404@gmail.com>
2024-08-16 22:57:12 +00:00
github-actions[bot]
448bb02a7f
dep: Upgrade transitive dependencies ( #1882 )
...
Co-authored-by: github-actions <github-actions@github.com>
2024-08-16 03:46:47 +00:00
github-actions[bot]
c4abcb90a5
release: cargo-binstall v1.10.2 ( #1881 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-08-13 09:15:54 +00:00
github-actions[bot]
ad67d44ff6
release: cargo-binstall v1.10.1 ( #1880 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-08-12 14:55:46 +00:00
github-actions[bot]
2c00df4c90
chore: release ( #1878 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-12 14:22:35 +00:00
Jiahao XU
d02d7b2a69
Fix setting release to latest in release-cli.yml ( #1879 )
...
* Fix setting release to latest in release-cli.yml
Using gh-release-edit
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Update .github/workflows/release-cli.yml
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
---------
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-08-12 13:57:22 +00:00
Jiahao XU
a8eea5bc72
Enable happy eyeballs when using hickory-dns ( #1877 )
...
* Enable happy eyeballs when using hickory-dns
Ported from seanmonstar/reqwest#2378
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fix imports in resolver.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fix fmt in resolver.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fix fmt in resolver.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fix resolver.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fix import on windows in resolver.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
---------
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-08-11 07:26:09 +00:00
Jiahao XU
43012ceb2c
Fix release-plz.toml ( #1876 )
...
Set git_release_latest=false in workspace
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-08-10 08:40:05 +00:00
github-actions[bot]
d35fecfd64
release: cargo-binstall v1.10.0 ( #1875 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-08-10 08:24:15 +00:00
github-actions[bot]
53512b9271
chore: release ( #1870 )
...
* chore: release
* Bump dependents of binstall-types to next major version
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[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-08-10 07:46:44 +00:00
github-actions[bot]
e9b36b0632
dep: Upgrade transitive dependencies ( #1874 )
...
Co-authored-by: github-actions <github-actions@github.com>
2024-08-10 05:02:06 +00:00
Jiahao XU
96f5445e52
dep: Bump hickory-resolver to 0.25.0-alpha.2 ( #1869 )
...
* dep: Bump hickory-resolver to 0.25.0-alpha.2
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Remove workaround for ring 0.16 on aarc64-pc-windows-msvc
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
---------
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-08-10 04:31:24 +00:00
Jiahao XU
b854f3f52c
feature: Merge disable strategies ( #1868 )
...
* feat: Merge --disable-strategies with ones in cargo manifest
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Update doc
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Update e2e-test-strategies
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix typo in option doc in crates/bin/src/args.rs
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-08-07 14:04:00 +00:00
Jiahao XU
90d47f76b1
Fix release-plz.toml ( #1866 )
...
Do not set release as latest, since that would break installation script/action.
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-08-05 10:42:00 +00:00
github-actions[bot]
23ee8ab6b7
release: cargo-binstall v1.9.0 ( #1863 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-08-04 05:32:22 +00:00
github-actions[bot]
cf7c8f9656
chore: release ( #1853 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-04 03:04:47 +00:00
Jiahao XU
52f2db4f57
Add --maximum-resolution-timeout
( #1862 )
...
* Add --maximum-resolution-timeout
Fixed #1823
* Display default value for `--maximum-resolution-timeout` in help
2024-08-04 02:13:18 +00:00
github-actions[bot]
de55e465f5
dep: Upgrade transitive dependencies ( #1861 )
...
Co-authored-by: github-actions <github-actions@github.com>
2024-08-03 05:48:40 +00:00
Jiahao XU
ee94b8b639
Fix: --strategies on CLI do not seem to override disabled-strategies in the manifest ( #1857 )
...
* Fix cli override in entry.rs
Forward `args.disabled_strategies`
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fix `args::parse`: Do not free disabled_strategies
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fix passing of cli_overrides
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Create strategies-test-override-Cargo.toml
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Add e2e-tests for cli-overrides
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fix entry.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* fix entry.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fix entry.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Update strategies.sh
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Compute cli_overrides in args::parse
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* fix use of args::parse main_impl.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Update entry.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fix args::parse
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fix typo in args.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fix args.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fix fmt in args.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* fix fmt in main_impl.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* update e2e-test-strategies
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Update e2e-tests/strategies.sh
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Update e2e-tests/strategies.sh
Make sure both --strategies and --disable-strategies is tested
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Update strategies.sh
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
---------
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-08-03 05:27:23 +00:00
dependabot[bot]
cdbb121112
build(deps): bump the deps group across 1 directory with 2 updates ( #1859 )
...
* build(deps): bump the deps group across 1 directory with 2 updates
Bumps the deps group with 2 updates in the / directory: [fs4](https://github.com/al8n/fs4-rs ) and [windows-sys](https://github.com/microsoft/windows-rs ).
Updates `fs4` from 0.8.4 to 0.9.1
- [Release notes](https://github.com/al8n/fs4-rs/releases )
- [Commits](https://github.com/al8n/fs4-rs/commits )
Updates `windows-sys` from 0.52.0 to 0.59.0
- [Release notes](https://github.com/microsoft/windows-rs/releases )
- [Commits](https://github.com/microsoft/windows-rs/compare/0.52.0...0.59.0 )
---
updated-dependencies:
- dependency-name: fs4
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>
* Fix use of fs4
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fix windows.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Rm drop impl for LibraryHandle
As unmounting dynlib might cause UB
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Fix clippy in windows.rs
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
---------
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-08-03 05:03:10 +00:00
Jiahao XU
5d57d4506e
Fix CI blocked due to cargo-binstall rate-limit ( #1860 )
...
* Update gh-action.yml
Use CI_RELEASE_TEST_GITHUB_TOKEN if found as that one has less power
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Update install-script.yml
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* RM outdated comment in gh-action.yml
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Pass github token to cargo-bins/cargo-binstall action in release-cli.yml
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Pass github-token to taiki-e/install-action in release-pr.yml
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
---------
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-08-03 04:40:18 +00:00
github-actions[bot]
ad892911c6
dep: Upgrade transitive dependencies ( #1856 )
...
Co-authored-by: github-actions <github-actions@github.com>
2024-08-02 05:04:46 +00:00
Jiahao XU
9f3bfa9ca3
Switch back to macos-latest ( #1855 )
...
macos-latest is now an alias of macos-14 M1
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-07-31 12:49:13 +00:00
Jiahao XU
c635ad6f95
CI: Add release-plz to release library crates ( #1850 )
...
* Create release-plz.yml
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Disable release-plz for cargo-binstall
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Félix Saparelli <felix@passcod.name>
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: Félix Saparelli <felix@passcod.name>
2024-07-29 03:52:03 +00:00
github-actions[bot]
f2a184de0e
release: cargo-binstall v1.8.0 ( #1849 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-07-26 11:34:38 +00:00
github-actions[bot]
40a083f65d
release: binstalk v0.27.0 ( #1848 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-07-26 10:49:28 +00:00
github-actions[bot]
091b39d278
release: binstalk-fetchers v0.8.0 ( #1847 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-07-26 10:21:55 +00:00
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]
75d46eeaab
release: binstalk-manifests v0.14.0 ( #1844 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-07-26 09:25:15 +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
6b4dbb4caa
Fix: Ignore invalid Github Token ( #1839 )
...
* Fix: Ignore empty Github Token
Empty GitHub Token is invalid, it should not be used.
* Fix compilation
And detect more invalid tokens
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* fix
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
---------
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-07-26 08:21:36 +00:00
Jiahao XU
e017be2247
Add env for --disable-strategies ( #1838 )
...
Fixed #1833
2024-07-26 06:46:04 +00:00
Jiahao XU
6809601273
Add new option to --disable-telemetry
to disable quickinstall statistics collection ( #1831 )
...
* Add new option `--disable-quick-install-stats`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Send quickinstall stats in parallel
This commit also make sure'the stats is always sent for
each fetcher, regardless of whether it is picked or not,
to make sure that the quick-install stats collection gets
the full infomration of possible targets.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Rename option to `--disable-telemetry`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Update args.rs
Co-authored-by: Félix Saparelli <felix@passcod.name>
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Update args.rs
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>
Co-authored-by: Félix Saparelli <felix@passcod.name>
2024-07-26 06:03:38 +00:00
Jiahao XU
fa105bb8d7
Update doc in SUPPORT.md for disabled-strategies ( #1830 )
...
* Update doc in SUPPORT.md for disabled-strategies
For #1828 and #1721
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
* Update SUPPORT.md
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
---------
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-07-26 04:26:56 +00:00
github-actions[bot]
6df132a9d5
dep: Upgrade transitive dependencies ( #1837 )
...
Co-authored-by: github-actions <github-actions@github.com>
2024-07-26 03:34:19 +00:00
Jiahao XU
871e1eaf68
Fix 1.80 cargo clippy errors ( #1834 )
...
Fix 1.80 clippy lint errors
Fix 1.80 linting
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-07-25 15:10:59 +00:00
Jiahao XU
53f342ab1c
Enable vendored native-tls if native-tls and static is enabled ( #1832 )
...
Fixed #1694
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-07-25 02:25:43 +00:00
Jiahao XU
3f29fbe83a
Feature: SupportdDisable of strategies for crate using Cargo.toml
( #1828 )
...
* Refactor: Move `Strategy` to `binstalk-types`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Add serialisation test for `Strategy`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Add support to disable strategies via crate `Cargo.toml`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Add e2e-test
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix `Cargo.toml` disabled strategy checking for compile strategy
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Optimize `resolve_inner`: Cache meta override
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Add compile-time length checking for `Strategy`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* More optimization
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix order of override: cli options alwayus takes precedence
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Add missing manifest for e2e-test
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
---------
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2024-07-23 14:05:22 +00:00
dependabot[bot]
09d61d081d
build(deps): bump openssl from 0.10.64 to 0.10.66 in the cargo group ( #1829 )
...
Bumps the cargo group with 1 update: [openssl](https://github.com/sfackler/rust-openssl ).
Updates `openssl` from 0.10.64 to 0.10.66
- [Release notes](https://github.com/sfackler/rust-openssl/releases )
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.64...openssl-v0.10.66 )
---
updated-dependencies:
- dependency-name: openssl
dependency-type: indirect
dependency-group: cargo
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-22 22:12:40 +00:00
github-actions[bot]
fbe6e4c83a
dep: Upgrade transitive dependencies ( #1825 )
...
Co-authored-by: github-actions <github-actions@github.com>
2024-07-19 04:03:34 +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
Jiahao XU
5a316b765f
Fix url link in README.md ( #1820 )
...
Fixed #1819
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-07-15 14:10:12 +00:00
Kristof Mattei
fdfc89c287
fix: normalize GitHub URLs ending in .git to not ending in .git ( #1804 )
...
* fix: normalize GitHub URLs ending in .git to not ending in .git
* Refactor `Data::get_repo_info`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix `get_repo_info` for repo with `.git` suffix
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Add e2e-tests to cover it
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Always try geting the redirected url
This would help:
- redirect public gh repo `.git` to its canonical form
- redirect public gh repo, which has been recently renamed
- cases where redirection is needed to get the real repo
This commit make it fallbacks to the previou surl, if getting
the redirected url fail, in case the repository is private.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Add more e2e-tests
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Optimize: Do not try redirect if gh_get_repo_info fail
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Minor refactor
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>
2024-07-14 14:45:41 +00:00
Jiahao XU
74af0e7f8a
Mark binstalk_manifests::cargo_crates_v1::CratesToml::insert private ( #1818 )
...
It uses a private type so it should not have public visibility.
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-07-13 08:49:45 +00:00