Commit graph

10417 commits

Author SHA1 Message Date
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
John Shin
0465553f6e core: size parser treat 000 as decimal 2023-05-30 13:56:01 +02:00
John Shin
8ef926c6e8 core: refactor num and unit split 2023-05-30 13:56:01 +02:00
John Shin
6cadffc8f1 core: fix clippy warning for size parser 2023-05-30 13:56:01 +02:00
John Shin
3ca003846d shred: add support for hex and octal size 2023-05-30 13:56:01 +02:00
John Shin
6278c6f2d6 core: add octal and hex size parse support 2023-05-30 13:56:01 +02:00
Daniel Hofstetter
1781a5db1d
Merge pull request #4698 from uutils/renovate/windows-sys-0.x
fix(deps): update rust crate windows-sys to 0.48.0
2023-05-30 13:40:49 +02:00
Daniel Hofstetter
62efca6f06
Merge pull request #4803 from uutils/renovate/dns-lookup-2.x
fix(deps): update rust crate dns-lookup to v2
2023-05-30 13:38:06 +02:00
Daniel Hofstetter
e7d95dc362
Merge pull request #4702 from uutils/renovate/terminal_size-0.x
chore(deps): update rust crate terminal_size to 0.2.6
2023-05-30 13:35:40 +02:00
Daniel Hofstetter
5f10ca3302
Merge pull request #4716 from uutils/renovate/is-terminal-0.x
chore(deps): update rust crate is-terminal to 0.4.7
2023-05-30 13:33:28 +02:00
renovate[bot]
b1cfa22455
chore(deps): update rust crate ctrlc to 3.3 2023-05-30 10:01:25 +00:00
John Shin
81871d54a2 core: refactor parse_number in size parser 2023-05-30 00:33:14 -07:00
John Shin
aed8a5759a core: size parser treat 000 as decimal 2023-05-30 00:27:09 -07:00
John Shin
af528ba84e core: refactor num and unit split 2023-05-30 00:26:17 -07:00
Ideflop
f1c943ed31 more: error handling for write_all in function paging_add_back_message 2023-05-30 09:03:00 +02:00
renovate[bot]
2ec70dc05d
fix(deps): update rust crate dns-lookup to v2 2023-05-30 06:37:02 +00:00
renovate[bot]
8f9a328c6a
fix(deps): update rust crate windows-sys to 0.48.0 2023-05-30 06:36:57 +00:00
renovate[bot]
2e070224a5
chore(deps): update rust crate terminal_size to 0.2.6 2023-05-30 06:36:49 +00:00
renovate[bot]
f02b2345ee
chore(deps): update rust crate is-terminal to 0.4.7 2023-05-30 06:36:45 +00:00
Daniel Hofstetter
4f89d860b7
Merge pull request #4881 from uutils/renovate/clap-4.x
chore(deps): update rust crate clap to 4.3
2023-05-30 08:34:36 +02:00
Daniel Hofstetter
191f2380b9
Merge pull request #4905 from sylvestre/mv-n
mv: Show 'skipped' when a file isn't overwriten
2023-05-30 07:27:48 +02:00
renovate[bot]
d98c81802f
chore(deps): update rust crate clap to 4.3 2023-05-30 05:21:01 +00:00
John Shin
6233ad6dd7 core: fix clippy warning for size parser 2023-05-29 20:59:21 -07:00
John Shin
f8a46196ef shred: add support for hex and octal size 2023-05-29 20:17:13 -07:00