Commit graph

10894 commits

Author SHA1 Message Date
Sylvestre Ledru
bd82d678ef
Merge pull request #5215 from tertsdiepraam/fix-oranda-changelog
website: fix changelog config
2023-08-28 05:47:06 -04:00
Terts Diepraam
71c4d9f407 website: fix changelog config 2023-08-28 10:36:01 +02:00
Yury Zhytkou
1eae064e5c
split: better handle numeric and hex suffixes, short and long, with and without values (#5198)
* split: better handle numeric and hex suffixes, short and long, with and without values
Fixes #5171

* refactoring with overrides_with_all() in args definitions

* fixed comments

* updated help on suffixes to match GNU

* comments

* refactor to remove value_parser()

* split: refactor suffix processing + updated tests

* split: minor formatting
2023-08-28 10:09:52 +02:00
Daniel Hofstetter
e4ea64af5c
Merge pull request #5211 from tertsdiepraam/nushell-expose-uucore-args
`cp`: re-export `uucore::{BackupMode, UpdateMode}`
2023-08-28 07:29:49 +02:00
Terts Diepraam
ab859f4efa cp: re-export uucore::{BackupMode, UpdateMode}
This allows other projects to construct values for these types
which in turn allows them to construct Options.

This is implemented at the request of nushell
2023-08-28 00:19:10 +02:00
Daniel Hofstetter
1f081f3716
Merge pull request #5208 from uutils/renovate/regex-1.x
chore(deps): update rust crate regex to 1.9.4
2023-08-27 11:19:01 +02:00
renovate[bot]
b3e994b360
chore(deps): update rust crate regex to 1.9.4 2023-08-26 16:50:39 +00:00
Terts Diepraam
6f515965c2
Merge pull request #5207 from cakebaker/fix_unused_self
parse_size,dd: turn instance fns to associated fns
2023-08-26 15:54:56 +02:00
Daniel Hofstetter
2e2387d434 parse_size,dd: turn instance fns to associated fns 2023-08-26 14:35:35 +02:00
Sylvestre Ledru
f0602b0ce6
Merge pull request #5204 from cakebaker/fix_clippy_warnings
Fix clippy warnings with Rust 1.72.0
2023-08-25 13:21:38 -04:00
Sylvestre Ledru
e8ed65f4fa
Merge pull request #5206 from cakebaker/fix_bool_to_int_with_if
uucore,comm: fix warnings from bool_to_int_with_if
2023-08-25 13:20:00 -04:00
Sylvestre Ledru
055537e831
Merge pull request #5187 from Benjscho/jwalk-investigation
Add benchmarking for `rm`
2023-08-25 13:19:14 -04:00
Sylvestre Ledru
14d6002663
Merge pull request #5205 from cakebaker/remove_author_copyright_notices
Remove the author copyright notices
2023-08-25 09:37:45 -04:00
Daniel Hofstetter
79a44d768c uucore,comm: fix warnings from bool_to_int_with_if 2023-08-25 15:29:15 +02:00
Daniel Hofstetter
b9c05ed4e3 Remove the author copyright notices
from files missed by https://github.com/uutils/coreutils/pull/5184
and https://github.com/uutils/coreutils/pull/5197
2023-08-25 15:03:19 +02:00
Daniel Hofstetter
01b2834f2e Fix clippy warnings with Rust 1.72.0 2023-08-25 13:22:02 +02:00
Ben Schofield
4d78ca47b1 Add Spell ignore
Add `samply` and `flamegraph` to spell ignore lists.
2023-08-24 11:15:03 -06:00
Sylvestre Ledru
ffbfea4fa4
Merge pull request #5199 from tertsdiepraam/normalize-license-notice
All: normalize license notice in all `*.rs` files
2023-08-24 06:46:06 -04:00
Terts Diepraam
c3f9e19a3b all: normalize license notice in all *.rs files 2023-08-24 12:21:09 +02:00
Ben Schofield
903490a9c8 spelling 2023-08-23 13:05:06 -07:00
Sylvestre Ledru
3fc36ee3cf
Merge pull request #5197 from cakebaker/remove_author_copyright_notices
Remove the author copyright notices
2023-08-23 06:21:47 -04:00
Daniel Hofstetter
774180bb09 Remove the author copyright notices
from files missed by #5184
2023-08-23 10:54:00 +02:00
Daniel Hofstetter
2e60b73d1e
Merge pull request #5196 from uutils/renovate/num-bigint-0.x
chore(deps): update rust crate num-bigint to 0.4.4
2023-08-23 07:45:13 +02:00
renovate[bot]
079f7f9258
chore(deps): update rust crate num-bigint to 0.4.4 2023-08-23 00:11:14 +00:00
Ben Schofield
9ddf218ed9 Add samply url 2023-08-22 07:59:11 -07:00
Ben Schofield
181261beef Add samply to sampling options
Add samply to the sampling options for `rm` benchmarking.
2023-08-22 07:56:42 -07:00
Sylvestre Ledru
f1ec8e6fed
Merge pull request #5192 from cakebaker/factor_refactor_loop
factor: simplify loop in test
2023-08-22 05:35:30 -04:00
Daniel Hofstetter
1b705ae07c factor: simplify loop in test 2023-08-22 09:45:17 +02:00
Daniel Hofstetter
0f0f59269f
Merge pull request #5190 from tertsdiepraam/readme-fix-docs
README: update links to docs
2023-08-22 08:12:28 +02:00
Terts Diepraam
cd9c97f705 README: update links to docs 2023-08-21 22:52:28 +02:00
Sylvestre Ledru
0b9c829bce
Merge pull request #5182 from sylvestre/clippy_
Fix some of the recent clippy warnings
2023-08-21 16:21:02 -04:00
Ben Schofield
76eea583b4 Add benchmarking for rm
Add benchmarking script and guide for `rm`, mostly copied from `ls` benchmarking
guide. Tested `rm` using `jwalk` instead of `walkdir`, and saw a slight performance
regression, if any change.
2023-08-21 12:10:31 -07:00
Daniel Hofstetter
32461cdd94
Merge pull request #5185 from tertsdiepraam/add-conda-installer
docs: add conda installer
2023-08-21 15:56:42 +02:00
Terts Diepraam
93a5b161ae docs: add conda installer 2023-08-21 15:02:51 +02:00
Sylvestre Ledru
bf5b765cba
Remove the author copyright notices (#5184)
* Remove the author copyright notices

Rational:
* not maintained
* does not reflect reality
* don't provide any value (the info can be found in the git log)
* we don't have rules to update them
  (ex: should you update it after one line, two lines, etc)

Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2023-08-21 12:23:18 +02:00
Sylvestre Ledru
d8f28364f0
Merge pull request #5168 from cakebaker/chown_remove_duplication_in_tests
chown: remove some duplication in tests
2023-08-21 12:22:32 +02:00
Daniel Hofstetter
675db9186e id: remove mutable reference when calling id_print 2023-08-21 11:39:18 +02:00
Sylvestre Ledru
eb52732f1a
Merge pull request #5183 from sylvestre/license
Add license headers on all files
2023-08-21 11:07:48 +02:00
Daniel Hofstetter
ba8e9366f6 stdbuf: fix get_preload_env doesn't need a mutable reference 2023-08-21 10:56:17 +02:00
Daniel Hofstetter
808f9e2fd6 uucore: add missing "!" 2023-08-21 10:56:17 +02:00
Sylvestre Ledru
bfca6bf70f Add license headers on all files 2023-08-21 10:49:27 +02:00
Sylvestre Ledru
7fa685485e
Merge pull request #4641 from sylvestre/fuzz-test
Fuzz the test command
2023-08-21 10:45:27 +02:00
Sylvestre Ledru
57a2a8323c fuzz the test command 2023-08-21 09:09:09 +02:00
Sylvestre Ledru
9aa59ef915 Don't warn too_many_lines for generated map 2023-08-21 08:41:43 +02:00
Sylvestre Ledru
7c9f4ba92a Fix some clippy warnings 2023-08-21 08:41:40 +02:00
Daniel Hofstetter
682f488720
Merge pull request #5179 from tertsdiepraam/unix-include-hostid-by-default
`Cargo.toml`: add `feat_require_unix_hostid` to `feat_os_unix`
2023-08-21 07:52:00 +02:00
tommady
b5746f794c
date: fix panic when input will cause overflow (#5160)
* fix issue 5149

* fix clippy style issue

* fix spell issue

* address comment

* address comments

* fix cspell
2023-08-20 16:55:38 +02:00
Terts Diepraam
abffe6c768
Merge pull request #5178 from cakebaker/docs_add_missing_word
docs: add missing "not"
2023-08-20 15:09:34 +02:00
Terts Diepraam
6c5274512d Cargo.toml: add feat_require_unix_hostid to feat_os_unix 2023-08-20 15:06:08 +02:00
Daniel Hofstetter
2e27305261 docs: add missing "not" 2023-08-20 14:49:22 +02:00