Commit graph

10883 commits

Author SHA1 Message Date
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
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
Sylvestre Ledru
59f75b0fb3
Merge pull request #5175 from tertsdiepraam/oranda-setup
website: fix `path_prefix` in oranda
2023-08-20 12:03:55 +02:00
Terts Diepraam
c41ccbfcad website: fix path_prefix 2023-08-20 12:03:38 +02:00
Simon Legner
872818607f
Extract uucore::line_ending::LineEnding (#5120)
* Extract uucore::line_ending::LineEnding

Aims to provide consistent newline/zero terminator handling.

* Apply suggestions from code review

Co-authored-by: Terts Diepraam <terts.diepraam@gmail.com>

* cargo fmt

* Use uucore::line_ending::LineEnding

* Remove uucore::line_ending::LineEnding::Space

* Rename LineEnding::from_zero_flag

* Replace LineEnding::None with Option<LineEnding>

* cargo clippy

* assert_eq

* cargo clippy

* cargo clippy

* uucore/line_ending: add more documentation

---------

Co-authored-by: Terts Diepraam <terts.diepraam@gmail.com>
2023-08-20 10:03:29 +02:00
Sylvestre Ledru
3b0bfb10ac
Merge pull request #5172 from tertsdiepraam/docs-platform-support-page
Docs platform support page
2023-08-19 19:21:48 +02:00
Terts Diepraam
1431fb7ae8 docs: remove README.target.md in favor of platform support page in the docs 2023-08-19 18:19:17 +02:00
Terts Diepraam
171f9d660c docs: add platform support page in the docs 2023-08-19 18:19:12 +02:00
Daniel Hofstetter
f9d81b2aa8
Merge pull request #5163 from cakebaker/nl_handle_line_number_overflow
nl: handle line number overflow
2023-08-19 14:37:30 +02:00
Daniel Hofstetter
d604f709ce nl: handle line number overflow 2023-08-19 07:16:06 +02:00
Daniel Hofstetter
15c27cd545
Merge pull request #5169 from uutils/renovate/tempfile-3.x
chore(deps): update rust crate tempfile to 3.8.0
2023-08-19 06:55:32 +02:00
renovate[bot]
370920f0bd
chore(deps): update rust crate tempfile to 3.8.0 2023-08-18 22:40:06 +00:00
Terts Diepraam
9e3d93e7ea
Merge pull request #5152 from tertsdiepraam/cp-prepare-for-nu
`cp`: make more types public and add more documentation (for nushell)
2023-08-19 00:39:23 +02:00