Commit graph

10908 commits

Author SHA1 Message Date
Daniel Hofstetter
c15ef242a6
Merge pull request #4951 from uutils/renovate/regex-1.x
chore(deps): update rust crate regex to 1.8.4
2023-06-06 07:00:43 +02:00
Wandering Lethe
1ff4684f8a
Revert accidental removal of skipped deny 2023-06-05 23:01:26 +02:00
Wandering Lethe
2842d1fa0f
Add duplicate packages to deny ban skips
Duplicates of humantime_to_duration and time can be removed when touch
switches from time to chrono
2023-06-05 22:54:26 +02:00
Sylvestre Ledru
2804af2e56
Merge pull request #4931 from cazou/improve-tsort
tsort: Switch to BTreeMap and BTreeSet
2023-06-05 22:33:43 +02:00
Wandering Lethe
42a22c12f1
Remove time dependency from date
Also upgrades humantime_to_duration to the latest version, it switched from time to chrono. Because touch still depends on time, its humantime_to_duration package version deviates from the workspace version.
2023-06-05 21:41:32 +02:00
renovate[bot]
c9f4c5dfb5
chore(deps): update rust crate regex to 1.8.4 2023-06-05 17:46:52 +00:00
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
65a8e1540c Bump getrandom from 0.2.8 to 0.2.9 2023-06-05 10:09:03 +02: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
b6c02c1a23 tail: fix compile error due to fundu update 2023-06-01 15:30:43 +02:00
Daniel Hofstetter
ccee02f025 sleep: fix compile error due to fundu update 2023-06-01 10:57:54 +02:00
Daniel Hofstetter
7a449feaa0 Bump fundu from 0.5.1 to 1.0.0 2023-06-01 10:43:09 +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
09db8d8af9 fmt: adapt defaults to the ones used by GNU fmt 2023-05-31 16:41:56 +02:00
Daniel Hofstetter
42d6604e59 fmt: implement default for FmtOptions 2023-05-31 10:35:54 +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