Jiahao XU
|
11fe943a11
|
Fix parse_abi for gnu_ilp32 and gnuspe
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-06-07 11:30:00 +10:00 |
|
Jiahao XU
|
1df135f4c0
|
Fix target::linux::parse_abi : Remove const
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-06-07 00:20:52 +10:00 |
|
Jiahao XU
|
44b1bdbfe5
|
Fix use of ends_with
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-06-06 23:20:09 +10:00 |
|
Jiahao XU
|
3f7f293b78
|
Fix bugs
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-06-06 23:17:07 +10:00 |
|
Jiahao XU
|
c9c3cffb25
|
Fix detect_targets for win and other targets
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-06-06 23:08:00 +10:00 |
|
Jiahao XU
|
6b764b0b3f
|
Add fallbacks for get_targets_from_rustc
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-06-06 23:07:25 +10:00 |
|
Jiahao XU
|
cce378e2c5
|
Add get_targets_from_rustc to detect_targets
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-06-06 23:00:33 +10:00 |
|
Jiahao XU
|
8bf4d187ee
|
Rename parse_libc_version to parse_libc_version_from_ldd_output
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-06-06 22:53:12 +10:00 |
|
Jiahao XU
|
7232f32428
|
Use ArrayVec to avoid heap alloc in detect_targets
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-06-06 22:52:11 +10:00 |
|
Jiahao XU
|
b74139f457
|
Support for other platforms in detect_targets
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-06-06 22:42:43 +10:00 |
|
Jiahao XU
|
9a8b28afcf
|
Fix invocation of linux::detect_targets_linux
in `detect_targets`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-06-06 22:41:36 +10:00 |
|
Jiahao XU
|
4157f20b99
|
Support for macos in detect_targets
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-06-06 22:40:52 +10:00 |
|
Jiahao XU
|
8bd4b9b6a1
|
Impl detect_targets for linux
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-06-06 22:32:15 +10:00 |
|
Jiahao XU
|
69f2a56595
|
Move TARGET in lib.rs into new mod target.rs
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-06-06 22:00:01 +10:00 |
|
Félix Saparelli
|
e3754de7f7
|
Formatting
|
2022-06-01 01:11:53 +12:00 |
|
Félix Saparelli
|
23f05f3985
|
Clippy in tests
|
2022-06-01 01:11:26 +12:00 |
|
Félix Saparelli
|
7ce1ac4ee6
|
Fix syntax
|
2022-06-01 01:11:26 +12:00 |
|
Félix Saparelli
|
f2905dd46e
|
Update src/helpers.rs
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-06-01 01:11:26 +12:00 |
|
Félix Saparelli
|
ac74da4a27
|
Clippy suggestions
|
2022-06-01 01:11:26 +12:00 |
|
Félix Saparelli
|
b79d8d7fec
|
Warn on non-HTTPS url
|
2022-06-01 00:43:41 +12:00 |
|
Félix Saparelli
|
77b331f97c
|
Add error codes to documentation
|
2022-06-01 00:29:18 +12:00 |
|
Félix Saparelli
|
529781a9a9
|
Format and link version mismatch warning
|
2022-06-01 00:29:18 +12:00 |
|
Félix Saparelli
|
aa4339e07d
|
Expose crate::errors module
|
2022-06-01 00:29:17 +12:00 |
|
Félix Saparelli
|
1cac046ffd
|
Formatting
|
2022-06-01 00:29:17 +12:00 |
|
Félix Saparelli
|
dee45f4b81
|
Correct HTTP error for remote_exists() helper
|
2022-06-01 00:29:17 +12:00 |
|
Félix Saparelli
|
c83c184983
|
Default to no if nothing is entered on confirm
|
2022-06-01 00:29:17 +12:00 |
|
Félix Saparelli
|
52c0213d98
|
Show prompt for confirm
|
2022-06-01 00:29:17 +12:00 |
|
Félix Saparelli
|
7f0c818313
|
Don’t print "Fatal error" for UserAbort
|
2022-06-01 00:29:17 +12:00 |
|
Félix Saparelli
|
33f4c76826
|
Add help text for when a crate is not found
|
2022-06-01 00:29:17 +12:00 |
|
Félix Saparelli
|
84ebc0039e
|
Pretty-print errors
|
2022-06-01 00:29:17 +12:00 |
|
Félix Saparelli
|
02c8c0af00
|
Avoid bare url
|
2022-06-01 00:29:17 +12:00 |
|
Félix Saparelli
|
bd35c473a9
|
Use new Termination trait
|
2022-06-01 00:29:17 +12:00 |
|
Félix Saparelli
|
f56ed6fc4c
|
Add per-error exit codes
|
2022-06-01 00:29:17 +12:00 |
|
Félix Saparelli
|
f9e69503b0
|
Document the library error types
|
2022-06-01 00:29:17 +12:00 |
|
Félix Saparelli
|
c0eaffb05d
|
Refactor for rich errors, split user abort and genuine error
|
2022-06-01 00:29:14 +12:00 |
|
Jiahao XU
|
5b6634def6
|
Add new variant PkgFmt::Tzstd and update helpers::extract
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
|
2022-05-31 16:50:55 +10:00 |
|
Lea Fairbanks
|
19d0616324
|
Add cli overrides
|
2022-05-31 18:00:07 +12:00 |
|
Félix Saparelli
|
fbf26634c9
|
Formatting
|
2022-05-31 17:37:40 +12:00 |
|
Félix Saparelli
|
e8464aba3d
|
Use tempfile over tempdir
Closes #135
|
2022-05-31 17:37:34 +12:00 |
|
Christof Weickhardt
|
256e695aa5
|
feat: remove crates-index dependency
|
2022-05-01 07:45:23 +00:00 |
|
Ryan
|
26711f3ae6
|
Merge pull request #125 from somehowchris/fix/package-version-abort-logic
fix: abort install for specific version if not confirmed
|
2022-05-01 11:44:01 +12:00 |
|
Christof Weickhardt
|
42e327477b
|
fix: abort install for specific version if not confirmed
|
2022-04-30 09:20:15 +00:00 |
|
Christof Weickhardt
|
5f9c673ea5
|
fix: ignore crate version if yanked
|
2022-04-29 11:10:05 +00:00 |
|
Félix Saparelli
|
eeaba76b5f
|
Fallback to installing from source (#114)
Closes #108
|
2022-04-29 10:15:43 +12:00 |
|
Félix Saparelli
|
d68b0a209a
|
Clarify --version usage and add a warning at runtime (#116)
Fixes #113
|
2022-04-29 09:33:54 +12:00 |
|
Félix Saparelli
|
1757dc5344
|
Make fetcher creating infallible (#118)
Fixes #109
|
2022-04-29 09:24:46 +12:00 |
|
Félix Saparelli
|
62ec23e6f4
|
Use the correct link name (#117)
On windows, but also use templating to render it correctly everywhere.
Fixes #106
Fixes #111
|
2022-04-29 09:24:19 +12:00 |
|
наб
|
f76791b9b9
|
Direct the symlink the right way in symlink info!(), point at actual destination
|
2022-03-13 16:32:58 +01:00 |
|
наб
|
5b4909f9eb
|
Link to basename instead of absolute path on unix
This renders the link (a) more likely to fit in an ext4 inode
and more importantly (b) makes the bindir impervious to being moved
around
|
2022-03-13 16:32:55 +01:00 |
|
Félix Saparelli
|
b5d6d68d6d
|
Fix quickinstall failing when packages are not wrapped in a folder
|
2022-02-16 22:42:37 +13:00 |
|