Jiahao XU
2e6fe97857
Fix fmt in entry.rs
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-11-09 14:56:29 +11:00
Jiahao XU
36109cbcb4
Fix fmt in bin_util.rs
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-11-09 14:54:36 +11:00
Jiahao XU
e0c646e5b4
fix entry.rs
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-11-09 12:47:20 +11:00
Jiahao XU
2af41d0316
Fix compilation in entry.rs
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-11-09 12:43:11 +11:00
Jiahao XU
b06d6a22a9
Fix parsing semver number in entry.rs
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-11-09 12:31:28 +11:00
Jiahao XU
5cc8d051d4
Fix entry::self_install
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-11-08 00:44:36 +11:00
Jiahao XU
5e7d54ee2c
Fix --self-install
clap doc
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-11-08 00:43:19 +11:00
Jiahao XU
91e3b4c9b4
Fix call of self_install
in main_impl
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-11-08 00:42:45 +11:00
Jiahao XU
90ab7d44aa
Fix import in mod entry
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-11-08 00:42:26 +11:00
Jiahao XU
fdc4a1fbb4
Merge branch 'main' into feature/self-install
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-11-07 23:35:59 +10:00
Jiahao XU
173cda5504
Impl self-install mode in main_impl.rs
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-11-07 22:47:09 +11:00
Jiahao XU
142d53db38
Accept no duration in MainExit::new
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-11-07 22:46:36 +11:00
Jiahao XU
65ca3d57c0
Make --self-install
a boolean flag
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-11-06 17:13:31 +11:00
Jiahao XU
40a9033375
Impl self_install
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-11-06 17:13:12 +11:00
Jiahao XU
273a4e8f7f
Add dep atomic-file-install to cargo-binstall
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-11-06 17:08:04 +11:00
Jiahao XU
2d68adee77
Impl manifest update and basic API of self_install
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-11-06 16:06:17 +11:00
Jiahao XU
38f15ee660
--self-install
should include a path to a binary
...
On windows, we cannot just copy an executable with process running from it, so better to copy it to a temporary location.
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-11-06 13:32:54 +11:00
Jiahao XU
9c20b3c0ec
Optimize: Only call LazyJobserverClient::new
when necessary
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-11-06 12:11:50 +11:00
Jiahao XU
040068864c
Fix typo
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-11-06 12:03:58 +11:00
Jiahao XU
d8464acc1a
Add new hidden option --self-install
...
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-11-06 12:03:36 +11:00
github-actions[bot]
02e9225fbd
release: cargo-binstall v1.10.11 ( #1960 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-11-05 20:34:55 +00:00
github-actions[bot]
674f04f95f
chore: release ( #1958 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-05 12:18:49 +00:00
github-actions[bot]
2c1f156332
release: cargo-binstall v1.10.10 ( #1951 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-11-02 02:45:51 +00:00
github-actions[bot]
8644e54e84
chore: release ( #1944 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-02 01:25:13 +00:00
pepa65
81a8218794
Yes/NO defaults to "no" when just enter is pressed ( #1948 )
...
* yes/NO in interface
* Implement No as default (when only Enter is pressed)
* Update README.md
Mark the default as [yes]
Signed-off-by: pepa65 <pepa65@passchier.net>
* Update ui.rs
Mark the default as [yes]
Signed-off-by: pepa65 <pepa65@passchier.net>
* Update ui.rs
Do not break on yes/y/YES/Y/"", break on no/n/NO/N, and keep asking otherwise
Signed-off-by: pepa65 <pepa65@passchier.net>
* Update ui.rs
After testing empty didn't work correctly
Signed-off-by: pepa65 <pepa65@passchier.net>
---------
Signed-off-by: pepa65 <pepa65@passchier.net>
2024-10-30 13:00:56 +00:00
github-actions[bot]
c16790a16f
release: cargo-binstall v1.10.9 ( #1941 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-10-26 02:51:55 +00:00
github-actions[bot]
afd20e9396
chore: release ( #1937 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-26 01:49:47 +00:00
github-actions[bot]
4675f622c9
release: cargo-binstall v1.10.8 ( #1931 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-10-13 00:45:03 +00:00
github-actions[bot]
731592f357
chore: release ( #1933 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-12 15:08:00 +00:00
github-actions[bot]
a8227ae6a4
chore: release ( #1928 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-12 03:58:24 +00:00
github-actions[bot]
3ed2912cc1
release: cargo-binstall v1.10.7 ( #1926 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-10-04 12:03:43 +00:00
github-actions[bot]
a7794f08a6
chore: release ( #1924 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-04 10:54:17 +00:00
github-actions[bot]
3a99ae3c15
release: cargo-binstall v1.10.6 ( #1922 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-09-22 10:17:00 +00:00
github-actions[bot]
4a15b12fd1
chore: release ( #1916 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-22 08:59:21 +00:00
John Vandenberg
2917b32788
allow setting no_confirm via envvar ( #1921 )
2024-09-22 07:06:01 +00:00
github-actions[bot]
f9144d57df
release: cargo-binstall v1.10.5 ( #1914 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-09-11 09:06:06 +00:00
github-actions[bot]
8c9e183587
chore: release ( #1911 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-11 08:37:44 +00:00
David Laban
c8dec953cc
report to new stats server (with status) ( #1912 )
...
* docstrings for things that I was curious about
* report to new stats server, with status
* Arc<Self> needs a clone
* fix stats url in docs
* fix stats url handling
2024-09-11 08:15:15 +00:00
github-actions[bot]
780584e44b
release: cargo-binstall v1.10.4 ( #1908 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-09-06 22:43:53 +00:00
github-actions[bot]
89203c196c
chore: release ( #1902 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-06 13:37:48 +00:00
Jiahao XU
3331364a65
reduce default for maximum_resolution_timeout to 15s ( #1900 )
...
If then default is too long, then users would still have to wait a long time if they hit rate limit.
Signed-off-by: Jiahao XU <30436523+NobodyXu@users.noreply.github.com>
2024-08-29 12:45:33 +00:00
github-actions[bot]
9330730a2a
release: cargo-binstall v1.10.3 ( #1898 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2024-08-25 09:18:31 +00:00
github-actions[bot]
05bfcbce0e
chore: release ( #1883 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-25 08:37:25 +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
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
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
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