Commit graph

10440 commits

Author SHA1 Message Date
Detlev Casanova
43a8d62b90 tsort: Add test for ordered floating nodes
Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>
2023-06-05 11:06:53 -04:00
Detlev Casanova
b070506255 tsort: Switch to BTreeHash and BTreeSet
Using HashMap and HashSet give a valid topological sort, but the output
will change randomly at each run.

BTree based structures will guarantee that the output is always ordered
in the same way.

This also makes the ouptut similar to the output of the C version of the
tools, on which some applications rely.
2023-06-05 11:06:53 -04:00
Daniel Hofstetter
82f5fec688
Merge pull request #4948 from miles170/install-remove-time-crate
install: remove time crate
2023-06-05 14:25:23 +02:00
Miles Liu
1c4d7b2f87
install: remove time crate 2023-06-05 16:34:50 +08:00
Daniel Hofstetter
e85382cff1
Merge pull request #4944 from uutils/renovate/once_cell-1.x
chore(deps): update rust crate once_cell to 1.18.0
2023-06-05 07:02:32 +02:00
Sylvestre Ledru
3d220513e3
Merge pull request #4942 from x-dune/pr-use-chrono
`pr` use chrono instead of time
2023-06-04 18:46:38 +02:00
Sylvestre Ledru
1895d1bc3a
Merge pull request #4943 from cakebaker/remove_users_crate
Remove users crate
2023-06-04 18:45:04 +02:00
Sylvestre Ledru
abfceda12d
Merge pull request #4926 from sylvestre/new-release
New release
2023-06-04 16:09:04 +02:00
renovate[bot]
ee2aa85cd8
chore(deps): update rust crate once_cell to 1.18.0 2023-06-04 14:03:47 +00:00
Tracy
126bbba17a
pwd: Fixes #4855 (#4937)
Based on testing with GNU's pwd, it seems like the -P flag should
take precedence over the use of the POSIXLY_CORRECT flag.

Co-authored-by: Terts Diepraam <terts.diepraam@gmail.com>
2023-06-04 16:03:01 +02:00
Daniel Hofstetter
29f011e28c Remove users crate 2023-06-04 14:55:16 +02:00
x-dune
7958c5d061 pr: use chrono instead of time 2023-06-04 20:17:52 +08:00
Daniel Hofstetter
112f1ee8be
Merge pull request #4940 from uutils/revert-4939-sccache2
Revert "specify the sccache version "
2023-06-04 13:55:15 +02:00
Sylvestre Ledru
29027405d7
Revert "specify the sccache version " 2023-06-04 13:03:31 +02:00
Sylvestre Ledru
99fa504257
Merge pull request #4928 from granquet/cp_preserve
cp: makes --preserve requires =
2023-06-04 12:28:26 +02:00
Sylvestre Ledru
9f38142522 add uuhelp to the ignore spell 2023-06-04 11:27:50 +02:00
Sylvestre Ledru
c6ad9846f9 update of the version script 2023-06-04 09:46:59 +02:00
Sylvestre Ledru
204d9b64f9 uuhelp_parser: update of the version 2023-06-04 09:46:59 +02:00
Sylvestre Ledru
e3cb5a111d Rename help_parser => uuhelp_parser 2023-06-04 09:46:59 +02:00
Sylvestre Ledru
c8b4e06828 add uuhelp_parser to the publish script 2023-06-04 09:46:59 +02:00
Sylvestre Ledru
a13d7f4060 uuhelp_parser: add the desc 2023-06-04 09:46:59 +02:00
Sylvestre Ledru
830b7d5ce1 New release 2023-06-04 09:46:59 +02:00
Sylvestre Ledru
a0f4576f8a update of the release doc 2023-06-04 09:46:59 +02:00
Guillaume Ranquet
ee4691f4a2 cp: makes --preserve requires =
prevents --preserve to eat the next argument when no value is passed.

default value for --preserve is set to mode,ownership(unix only),timestamps

before the patch:
cp --preserve foo bar
error: invalid value 'foo' for '--preserve [<ATTR_LIST>...]'
  [possible values: mode, ownership, timestamps, context, link, links, xattr, all]

Signed-off-by: Guillaume Ranquet <granquet@baylibre.com>
2023-06-04 09:46:35 +02:00
Sylvestre Ledru
ea3e4c5ca6
Merge pull request #4939 from sylvestre/sccache2
specify the sccache version
2023-06-04 09:46:02 +02:00
Sylvestre Ledru
ca9cf3757b specify the sccache version because of https://github.com/mozilla/sccache/issues/1789 2023-06-04 09:15:37 +02:00
Sylvestre Ledru
160952a42c
Merge pull request #4918 from shinhs0506/core-size
shred: add support for octal and hex size
2023-06-03 10:48:19 +02:00
Sylvestre Ledru
e8effd0d0a
Merge pull request #4914 from Ideflop/more_implement_arguments_lines_and_number
more: implement arguments -n/--lines and --number
2023-06-02 20:20:20 +02:00
Daniel Hofstetter
bbfa77dcad cp: replace assert!(false) with panic!() 2023-06-02 16:43:45 +02:00
Daniel Hofstetter
d2bf531a7b
Merge pull request #4925 from sylvestre/cp-i
cp: -i prompts in the right place and other improv
2023-06-02 11:41:58 +02:00
Sylvestre Ledru
20ce7accf2 cp: -i prompts in the right place
Should fix tests/cp/cp-i.sh
2023-06-01 21:42:35 +02:00
Sylvestre Ledru
4eb1e847e9 cp --no-clobber should fail 2023-06-01 21:42:32 +02:00
Daniel Hofstetter
0b4a91744d Bump io-lifetimes from 1.0.5 to 1.0.11 2023-05-31 22:14:47 +02:00
Daniel Hofstetter
7a706d3719 deny.toml: remove io-lifetimes from skip list 2023-05-31 22:14:47 +02:00
Terts Diepraam
77e183955b head: use OsStringExt::from_vec instead of std::from_utf8_unchecked
This no longer triggers the `invalid_from_utf8_unchecked` lint. It
is also a bit cleaner and no longer requires `unsafe` because
OsString is not guaranteed to be valid UTF-8.
2023-05-31 21:18:13 +02:00
Terts Diepraam
701f30a15e
Merge pull request #4909 from sylvestre/test_debug
Add support for `cp --debug`
2023-05-31 20:27:02 +02:00
Daniel Hofstetter
8940018833
Merge pull request #4897 from sylvestre/platform-info
update to platform-info 2.0.1
2023-05-31 09:29:57 +02:00
Daniel Hofstetter
0802630e14
Merge pull request #4921 from uutils/renovate/ctrlc-3.x
chore(deps): update rust crate ctrlc to 3.4
2023-05-31 07:07:31 +02:00
Daniel Hofstetter
832387ef98
Merge pull request #4922 from uutils/renovate/chrono-0.x
chore(deps): update rust crate chrono to ^0.4.26
2023-05-31 07:03:58 +02:00
John Shin
4b09b917cd shred: use exact if size is given 2023-05-30 15:08:22 -07:00
renovate[bot]
a4baca01c9
chore(deps): update rust crate chrono to ^0.4.26 2023-05-30 21:02:52 +00:00
John Shin
f10059db02 shred: refactor get_size 2023-05-30 13:40:41 -07:00
John Shin
b93bae2964 tail: fix parsing logic and add quote 2023-05-30 13:34:00 -07:00
John Shin
f10faf21bc head: interpret size as decimal 2023-05-30 13:32:48 -07:00
renovate[bot]
abff446691
chore(deps): update rust crate ctrlc to 3.4 2023-05-30 18:41:48 +00:00
John Shin
a8219403a6 Merge branch 'core-size' of https://github.com/shinhs0506/coreutils into core-size 2023-05-30 10:56:26 -07:00
Sylvestre Ledru
f830b6e68f update to platform-info 2.0.1 2023-05-30 17:43:54 +02:00
Sylvestre Ledru
58bf998919
Ignore some words 2023-05-30 15:49:53 +02:00
Daniel Hofstetter
4d2cfd9db9
Merge pull request #4907 from uutils/renovate/ctrlc-3.x
chore(deps): update rust crate ctrlc to 3.3
2023-05-30 15:38:39 +02:00
John Shin
a397920183 core: refactor parse_number in size parser 2023-05-30 13:56:01 +02:00