Commit graph

7084 commits

Author SHA1 Message Date
Sylvestre Ledru
78e2fe6ad2
Merge pull request #3090 from rivy/maint.utils
maint ~ configuration and utility clean-up and maintenance
2022-02-13 09:55:37 +01:00
Sylvestre Ledru
bd47c060dc
Merge pull request #3126 from jfinkels/df-same-order
df: always produce the same order in output table
2022-02-13 09:54:28 +01:00
Sylvestre Ledru
913500913b
Merge pull request #3130 from davide125/url
uucore, uucore_procs: use the correct URLs in the crate manifest
2022-02-13 09:53:37 +01:00
Davide Cavalca
11688408a1 uucore, uucore_procs: use the correct URLs in the crate manifest 2022-02-12 21:31:39 -08:00
Jeffrey Finkelstein
3ada6af19d dd: correctly account for partial record written
Correct the accounting for partial records written by `dd` to the
output file. After this commit, if fewer than `obs` bytes are written,
then that is counted as a partial record. For example,

    $ printf 'abc' | dd bs=2 status=noxfer > /dev/null
    1+1 records in
    1+1 records out

That is, one complete record and one partial record are read from the
input, one complete record and one partial record are written to the
output. Previously, `dd` reported two complete records and zero
partial records written to the output in this case.
2022-02-12 22:38:25 -05:00
Jeffrey Finkelstein
b6d1aa3e73 df: always produce the same order in output table
Change the `filter_mount_list()` function so that it always produces
the same order of `MountInfo` objects. This change ultimately results
in `df` printing its table of filesystems in the same order on each
execution. Previously, the table was in an arbitrary order because the
`MountInfo` objects were read from a `HashMap`.

Fixes #3086.
2022-02-12 21:14:14 -05:00
Jeffrey Finkelstein
042e537ca8 df: refactor is_included(), mount_info_lt() funcs
Factor two helper functions, `is_included()` and `mount_info_lt()`,
from the `filter_mount_list()` function.
2022-02-12 21:06:37 -05:00
Roy Ivy III
dc223309e7 maint/util ~ (run-gnu-tests) increase timeout to allow for longer 'debug' test runs 2022-02-12 15:27:00 -06:00
Roy Ivy III
988fd658ae maint/util ~ (run-gnu-tests/docs) fix incorrect comment 2022-02-12 15:26:59 -06:00
Roy Ivy III
02aa5ea784 maint/util ~ (build-gnu) fix missing 'b3sum' for *sum binary creation 2022-02-12 15:26:59 -06:00
Roy Ivy III
40b9ebf90e docs ~ (util) remove outdated GNULIB comments 2022-02-12 15:26:59 -06:00
Roy Ivy III
38ac68ff33 maint/CICD ~ (GnuTests) remove unneeded GNULIB references 2022-02-12 15:26:59 -06:00
Roy Ivy III
ba2bf79099 maint/dev ~ (VSCode) update cspell settings 2022-02-12 15:26:59 -06:00
Roy Ivy III
c2e17e5f37 maint/util ~ improve/refactor 'build-gnu' & 'run-gnu-test'
- add more logging for better fault tracking
- generalize for use in either RELEASE or DEBUG build mode (default to 'release')
- improve variable naming precision/specificity
2022-02-12 15:26:59 -06:00
Roy Ivy III
29679ba337 maint/CICD ~ (GnuTests) refactor GnuTests GHA config
- combine gnu/gnulib into single repository checkout
- code consolidation
- DRY changes
- variable consolidation and renaming
- job/step naming normalization
2022-02-12 15:26:59 -06:00
Roy Ivy III
b7676c07e9 maint/refactor ~ (util) minor refactoring of util shell scripts 2022-02-12 15:26:59 -06:00
Roy Ivy III
f477a41aee maint/dev ~ add *empty* rustfmt configuration prompt devs to use cargo fmt 2022-02-12 15:26:59 -06:00
Roy Ivy III
f75cfbdebc docs ~ (CICD/util) add/revise spell-checker exceptions 2022-02-12 15:26:59 -06:00
Roy Ivy III
a970c8d45d maint/util ~ fix shellcheck complaints 2022-02-12 15:26:59 -06:00
Roy Ivy III
fdd11e0637 maint/polish ~ (util) shfmt -w -i=4 -ci 2022-02-12 15:26:59 -06:00
Roy Ivy III
3a13857dc3 maint/util ~ add dwr (for interactive removal of workflow runs from CLI) 2022-02-12 15:26:59 -06:00
Roy Ivy III
0b8f54b739 maint/dev ~ (VSCode) add shell script formatter to recommendations 2022-02-12 15:26:59 -06:00
Roy Ivy III
1711ea0f5b maint/dev ~ update EditorConfig 2022-02-12 15:26:59 -06:00
Roy Ivy III
fb4b523353 maint/CICD ~ (GnuTests) add 'repo_default_branch' to VARs 2022-02-12 15:26:59 -06:00
Roy Ivy III
ee40e99437 maint/CICD ~ (GnuTests) use last 'completed' GnuTests on default branch as reference 2022-02-12 15:26:59 -06:00
Sylvestre Ledru
4009bf9a89
Merge pull request #3124 from jfinkels/head-enum-self
head: use Self instead of enum name Mode in method
2022-02-12 22:24:44 +01:00
Jeffrey Finkelstein
b13718e742 head: use Self instead of enum name Mode in method 2022-02-12 14:45:45 -05:00
Sylvestre Ledru
25490b2100 gnu/test: add the iso en_us locale to help with some tests 2022-02-12 19:20:17 +01:00
Sylvestre Ledru
f9e04ae5ef
Merge pull request #2966 from allan-silva/wc-files0-from-opt
wc: implement files0-from option
2022-02-12 19:05:05 +01:00
Sylvestre Ledru
0ed5e2c884
Merge pull request #2957 from jfinkels/head-preserve-no-final-newline
head: don't add trailing newline to end of file that didn't originally have one
2022-02-12 19:03:13 +01:00
Sylvestre Ledru
0f17ef2028
Merge pull request #2906 from jfinkels/head-better-mode
head: incorporate "all but last" option into Mode
2022-02-12 19:01:49 +01:00
Sylvestre Ledru
142c24e579
Merge pull request #2982 from Dr-Emann/paste_cleanup
paste: Fixes and cleanup
2022-02-12 19:00:39 +01:00
Sylvestre Ledru
c67a64c9df
Merge pull request #3121 from serhansekman/pr-help-page
pr: add missing about and version to documentation
2022-02-12 18:13:31 +01:00
Sylvestre Ledru
9665088a91
Merge pull request #3115 from tertsdiepraam/remove-docs-make
make: add clean target for docs
2022-02-12 18:12:35 +01:00
alextibbles
d9c2acc2ed
update to sha 0.10.0 (#3110)
* update to sha 0.10.0

* correct formatting
2022-02-12 18:12:02 +01:00
Terts Diepraam
d4a4c5426f make: add clean target for docs 2022-02-12 11:44:07 +01:00
Hanif Ariffin
45a1b7e4bb
ls: refactor out padding calculations (#3072)
* Refactor padding calculations into a function

* Propagate all write and (most) flush errors
2022-02-12 11:39:17 +01:00
Sylvestre Ledru
c2e3f4109c
Merge pull request #2944 from jfinkels/truncate-fifo
truncate: error when trying to truncate a fifo
2022-02-12 11:36:17 +01:00
Sylvestre Ledru
52282740dd
Merge pull request #3078 from ndd7xv/dd-progress-fix
dd: make status=progress rewrite once/sec
2022-02-12 11:34:21 +01:00
Sylvestre Ledru
090fb07361
Merge pull request #3066 from jfinkels/dd-skip-beyond-file
dd: show warning if skipping past end of input
2022-02-12 11:34:06 +01:00
Sylvestre Ledru
6b6d5ee7db
Merge pull request #2827 from jfinkels/split-std-io-copy
split: use std::io::copy() with new writer implementation to improve maintainability and speed
2022-02-12 11:33:12 +01:00
Sylvestre Ledru
cccc6b8524
Merge pull request #3089 from jfinkels/tests-stderr-only-bytes
tests: fix no_stderr check in stderr_only_bytes()
2022-02-12 11:32:35 +01:00
Sylvestre Ledru
e76818bb19
Merge pull request #3083 from jfinkels/df-table-module
df: refactor data table into Row, Header structs
2022-02-12 11:30:28 +01:00
Sylvestre Ledru
463e160d2f
Merge pull request #3117 from jfinkels/touch-no-deref-no-file
touch: show error on -h with nonexistent file
2022-02-12 11:27:46 +01:00
Tevfik Serhan Sekman
ad1954bd16 pr: add missing about and version to documentation 2022-02-12 12:36:28 +03:00
Pat Laster
aacff13ec3 seq: Eliminated special handling of -0.0 2022-02-11 23:02:57 -06:00
Jeffrey Finkelstein
f37e78c25a touch: show error on -h with nonexistent file
Show an error message when running `touch -h` on a nonexistent file.
2022-02-11 20:58:16 -05:00
Terts Diepraam
fd5906f581
Merge pull request #3113 from 353fc443/clippy-ocatal-escapes
Fix clippy octal-escapes warning
2022-02-11 15:21:47 +01:00
353fc443
c2bb9dd433
Fix clippy octal-escapes warning 2022-02-11 13:02:06 +00:00
Sylvestre Ledru
080cb2b6f9
Merge pull request #3108 from DestroyerXyz/blake3
hashsum: Add BLAKE3 to Hashing Algorithms
2022-02-11 11:40:10 +01:00