Commit graph

12287 commits

Author SHA1 Message Date
Akmal
052f38f14d
unexpand: remove crash! macro (#5588)
* unexpand_macro_fixed

* unexpand

* Remove crash

* Passed local test case

* Small changes

* unexpand: remove #[allow(clippy::cognitive_complexity)]

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2023-12-17 16:43:00 +01:00
Sylvestre Ledru
35ae43e71f
Merge pull request #5620 from lcheylus/openbsd-utmpx
Support unix feature on OpenBSD (utmpx not supported)
2023-12-16 18:15:11 +01:00
Daniel Hofstetter
9167a84358 ls: enable "colors" feature 2023-12-16 17:17:44 +01:00
Daniel Hofstetter
be9b675ec1
Merge pull request #5659 from sylvestre/build-gnu
build-gnu.sh: build in debug by default. Easier for local dev
2023-12-16 16:23:15 +01:00
Sylvestre Ledru
ba0c89fc5e build-gnu.sh: build in debug by default. Easier for local dev 2023-12-16 15:06:58 +01:00
Sylvestre Ledru
28111407a3
Merge pull request #5657 from cakebaker/docs_remove_notes
docs: remove two notes
2023-12-16 14:48:10 +01:00
Daniel Hofstetter
5c37df6e46 docs: remove two notes 2023-12-16 14:31:41 +01:00
Daniel Hofstetter
8e3e6d38bf
Merge pull request #5654 from uutils/sylvestre-patch-3
ignore-intermittent.txt: adjust the renamed test name
2023-12-16 13:50:16 +01:00
Daniel Hofstetter
792bf557bb
Merge pull request #5655 from sylvestre/clippy
fix two minor clippy warnings
2023-12-16 13:45:35 +01:00
Sylvestre Ledru
afc6ac8114
Apply change from c32e730a1f 2023-12-16 10:30:47 +01:00
Sylvestre Ledru
6621a1d6d6
Apply the change from c32e730a1f too 2023-12-16 10:30:17 +01:00
Sylvestre Ledru
1bfac9b25a
Merge branch 'main' into openbsd-utmpx 2023-12-16 10:29:16 +01:00
Sylvestre Ledru
98625b57c9
Merge pull request #5637 from cakebaker/bump_xattr
Bump xattr from 1.1.1 to 1.1.3 & adapt deny.toml
2023-12-16 10:26:06 +01:00
Sylvestre Ledru
57cd69b466
Merge pull request #5639 from lcheylus/openbsd-fix
tests/hostname: disable failing test_hostname::test_hostname_ip on OpenBSD
2023-12-16 10:25:52 +01:00
Sylvestre Ledru
25ea3bac6a
Merge pull request #5642 from uutils/redox-ci
Add Redox OS CI
2023-12-16 10:25:29 +01:00
Sylvestre Ledru
f6d3f9afbf ls: manages the COLOR and COLORTERM variables
Should fix GNU tests/ls/color-term.sh
2023-12-16 09:50:37 +01:00
Sylvestre Ledru
01000a37a3 fix two minor clippy warnings 2023-12-16 09:40:38 +01:00
Sylvestre Ledru
cc0a0fdb20
ignore-intermittent.txt: adjust the renamed test name 2023-12-16 09:17:29 +01:00
Sylvestre Ledru
ec35d9ea93
Merge pull request #5652 from cakebaker/ci_rename_test_summary_names
ci: rename test summary names for busybox & toybox
2023-12-16 09:16:19 +01:00
Daniel Hofstetter
c2276f4f6b ci: rename test summary names for busybox & toybox 2023-12-15 17:10:24 +01:00
Daniel Hofstetter
f5b228d876
Merge pull request #5651 from tertsdiepraam/remove-parsemode
`mknod`: remove `parsemode.rs`
2023-12-15 16:36:32 +01:00
Daniel Hofstetter
88428cf5d7
Merge pull request #5649 from tertsdiepraam/remove-collect-lossy-and-ignore
all: remove `collect_{lossy,ignore}` calls where possible
2023-12-15 16:30:08 +01:00
Terts Diepraam
9512c6ec4f
Merge pull request #5650 from cakebaker/docs_installation
docs: remove scoop badge, adapt links to repos
2023-12-15 16:06:39 +01:00
Terts Diepraam
30c27c143c mknod: remove parsemode.rs
This file was entirely unused, so it's probably safe to remove it
2023-12-15 15:56:41 +01:00
Daniel Hofstetter
8ce6fdc195 docs: remove scoop badge, adapt links to repos 2023-12-15 15:35:22 +01:00
Terts Diepraam
92692c815d
docs: add winget installer (#5648)
* docs: add winget installer

* docs: add "winget" to spell-checker:ignore

---------

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2023-12-15 15:02:46 +01:00
Terts Diepraam
c32e730a1f all: remove collect_{lossy,ignore} calls where possible 2023-12-15 14:38:27 +01:00
Arpit Bhadauria
3a7a3bf639
fmt: remove crash! macro (#5589)
* fmt: remove crash! macro

* Fix styling in fmt

* Revert "Fix styling in fmt"

This reverts commit 002e02f50c.

* Revert "fmt: remove crash! macro"

This reverts commit d65a3f85a1.

* Replace crash! with unreachable! macro

* Remove crash! import

* Remove unreachable! from fmt

* keep the helpful comment

* Fix lint and format issues

* review fixes
2023-12-15 12:14:31 +01:00
Daniel Hofstetter
2e6005a902
Merge pull request #5646 from uutils/renovate/actions-upload-artifact-4.x
chore(deps): update actions/upload-artifact action to v4
2023-12-15 06:57:47 +01:00
renovate[bot]
97857d5be0
chore(deps): update actions/upload-artifact action to v4 2023-12-14 17:51:36 +00:00
Sylvestre Ledru
f248cc641c
Merge pull request #5614 from Arp-1/feat-refactor-expr
expr: Optimizing for integer values
2023-12-14 18:50:50 +01:00
Terts Diepraam
66bd065835
Merge pull request #5641 from cakebaker/ls_block_size_si_human_readable
ls: make --block-size and --human-readable/--si override each other
2023-12-14 17:04:34 +01:00
Terts Diepraam
7f23faf899 expr: clean up conversion from bigint to usize 2023-12-14 16:35:56 +01:00
Jeremy Soller
ebe5c51cee
Format case statements 2023-12-13 08:47:16 -07:00
Sylvestre Ledru
60fbf1db84
Merge pull request #5645 from cakebaker/mv_rename_two_tests
mv: rename two tests
2023-12-13 14:59:28 +01:00
Daniel Hofstetter
6fb3bbb8a0 mv: rename two tests 2023-12-13 14:27:19 +01:00
Daniel Hofstetter
818719e62c
Merge pull request #5644 from uutils/renovate/dawidd6-action-download-artifact-3.x
chore(deps): update dawidd6/action-download-artifact action to v3
2023-12-13 11:02:18 +01:00
renovate[bot]
5d57fdc7f8
chore(deps): update dawidd6/action-download-artifact action to v3 2023-12-13 09:25:44 +00:00
Daniel Hofstetter
116245b8ef deny.toml: allow three versions of windows-sys 2023-12-13 06:56:27 +01:00
Daniel Hofstetter
c32fb25b1f Bump xattr from 1.1.1 to 1.1.3 2023-12-13 06:56:27 +01:00
Daniel Hofstetter
42558344f1 ls: enable "args override self" 2023-12-12 14:23:51 +01:00
Daniel Hofstetter
89cb4acb99 ls: encode path when using --hyperlink 2023-12-12 10:03:55 +01:00
Jeremy Soller
1919b3ba17
Add Redox OS CI 2023-12-11 13:57:48 -07:00
Arpit Bhadauria
3bf966df56 remove from trait for NumOrStr 2023-12-11 20:47:36 +00:00
Laurent Cheylus
e1032e1f06 who: tool unsupported on OpenBSD
- utmpx not supported on OpenBSD

  - add src/uu/who/src/platform directory and platform/mod.rs for conditional compilation according
    to target_os
  - platform/openbsd.rs: implementation on OpenBSD (unsupported tool)
  - platform/unix.rs: implementation on other OS
  - src/uu/who/src/who.rs: use platform module for uucore::main function
2023-12-11 18:23:35 +01:00
Laurent Cheylus
fdd6ecb713 users: tool unsupported on OpenBSD
- utmpx not supported on OpenBSD

  - add src/uu/users/src/platform directory and platform/mod.rs for conditional compilation
    according to target_os
  - platform/openbsd.rs: implementation on OpenBSD (unsupported tool)
  - platform/unix.rs: implementation on other OS
  - src/uu/users/src/users.rs: use platform module for uucore::main function
2023-12-11 18:23:35 +01:00
Laurent Cheylus
8c6d722916 uptime: tool unsupported on OpenBSD
- utmpx not supported on OpenBSD

  - add src/uu/uptime/src/platform directory and platform/mod.rs for conditional compilation
    according to target_os
  - platform/openbsd.rs: implementation on OpenBSD (unsupported tool)
  - platform/unix.rs: implementation on other OS
  - src/uu/uptime/src/uptime.rs: use platform module for uucore::main function
2023-12-11 18:23:35 +01:00
Laurent Cheylus
d3e6e7a947 pinky: tool unsupported on OpenBSD
- utmpx not supported on OpenBSD

  - add src/uu/pinky/src/platform directory and platform/mod.rs for conditional compilation
    according to target_os
  - platform/openbsd.rs: implementation on OpenBSD (unsupported tool)
  - platform/unix.rs: implementation on other OS
  - src/uu/pinky/src/pinky.rs: use platform module for uucore::main function
2023-12-11 18:23:35 +01:00
Laurent Cheylus
e6d12732f5 uucore: disable utmpx feature on OpenBSD
- See issue uutils/coreutils#5596 for details
2023-12-11 18:23:35 +01:00
Laurent Cheylus
38ea40d0bf nohup: fix for OpenBSD with _vprocmgr_detach_from_console function 2023-12-11 18:23:35 +01:00