Michael Debertol
a91369bbff
cp: fix dead code warnings on windows
2021-06-20 19:10:51 +02:00
Sylvestre Ledru
d3181fa60e
Merge pull request #2440 from rivy/change.CICD
...
CICD ~ refactor + add PR auto-fixes
2021-06-20 18:34:48 +02:00
Anup Mahindre
ffb6b7152f
tests: Fix ls dangling symbolic links test output for windows
...
On windows we do not print inode numbers at all, so skip checking for ?
for dangling symbolic links in expected output
2021-06-20 16:58:28 +05:30
Anup Mahindre
3b641afadc
ls: Fix issue with Windows and dangling symbolic links
...
- Windows hidden file attribute determination would assume symbolic link
to be valid and would panic
- Check symbolic link's attributes if the link points to non-existing
file
2021-06-20 16:56:25 +05:30
Terts Diepraam
5ac0274c13
numfmt: fix doctest and spell check
2021-06-20 11:50:14 +02:00
Anup Mahindre
d0039df8c3
tests: Add test for dangling symlinks with ls
...
Add test similar to gnu dangling symlinks test
2021-06-20 13:50:38 +05:30
Anup Mahindre
f6cb1324b6
ls: Fix problems dealing with dangling symlinks
...
- For dangling symlinks, errors should only be reported if
dereferencing options were passed and dereferencing was applicable to
the particular symlink
- With -i parameter, report '?' as the inode number for dangling
symlinks
2021-06-20 13:31:45 +05:30
Roy Ivy III
f5edc500e0
tests ~ fix spelling errors
2021-06-19 18:40:22 -05:00
Roy Ivy III
c74bc2eedd
maint/CICD ~ add 'GHA-delete-GNU-workflow-logs' shell script utility
2021-06-19 18:40:22 -05:00
Roy Ivy III
b4a06cfdba
maint/CICD ~ refactor; improve logging for outputs
shell script
2021-06-19 18:40:22 -05:00
Sylvestre Ledru
2cb97c81ed
maint/CICD ~ add GHA 'FixPR' to auto-fix issues for merging PRs
...
- auto-fix formatting
- auto-fix incompatible/out-of-date 'Cargo.lock'
2021-06-19 18:40:22 -05:00
Roy Ivy III
b11e9a057e
docs/spell ~ (uucore) add spelling exceptions
2021-06-19 18:37:13 -05:00
Roy Ivy III
c171b13982
docs/spell ~ update cspell dictionaries
2021-06-19 18:37:13 -05:00
Roy Ivy III
dd46c2f03b
maint/CICD ~ (GHA) rename 'GNU' workflow to 'GnuTests'
2021-06-19 18:37:13 -05:00
Roy Ivy III
5682cf3032
maint/CICD ~ (GHA) update 'GNU' workflow
...
- show dashboard warnings only when tests FAIL or ERROR
- improve comments
- fix spelling and spelling exceptions
2021-06-19 18:37:13 -05:00
Roy Ivy III
92630a0690
maint/CICD ~ (GHA) add 'Style/dependencies' checks
2021-06-19 18:37:13 -05:00
Roy Ivy III
db621c7d7a
maint/CICD ~ (GHA) change/refactor CICD (convert most warnings to errors)
...
- adds additional instruction to error message showing how to fix the error
2021-06-19 18:37:13 -05:00
Roy Ivy III
298851096e
maint/CICD ~ (GHA) remove deprecated 'ubuntu-16.04' environment
2021-06-19 18:37:13 -05:00
Sylvestre Ledru
90bf26a51c
maint/CICD ~ (GHA) update to checkout@v2
2021-06-19 18:37:13 -05:00
Terts Diepraam
eaa93e9c27
numfmt: move to common core
2021-06-20 00:25:02 +02:00
Terts Diepraam
3086e95702
numfmt: add round and use C locale style for errors
2021-06-20 00:21:14 +02:00
Sylvestre Ledru
115eb5eb52
Merge pull request #2432 from dezgeg/test-bracket-syntax
...
test: Implement [ expr ] syntax
2021-06-19 19:14:20 +02:00
Michael Debertol
076c7fa501
cp: default to --reflink=auto on linux and macos
2021-06-19 18:59:57 +02:00
Michael Debertol
9fb927aa85
cp: always delete the destination for symlinks
2021-06-19 18:59:57 +02:00
Michael Debertol
6400cded54
cp: fix order of checks in copy_helper
2021-06-19 18:59:57 +02:00
Tuomas Tynkkynen
7b9814c778
test: Implement [ expr ] syntax
...
When invoked via '[' name, last argument must be ']' or we bail out with
syntax error. Then the trailing ']' is simply disregarded and processing
happens like usual.
2021-06-19 18:49:21 +03:00
Sylvestre Ledru
5ba69d4a35
Merge pull request #2412 from syukronrm/du-dereference
...
du: add `--dereference`
2021-06-19 12:05:18 +02:00
Sylvestre Ledru
ac98960f32
Merge pull request #2427 from miDeb/ln/recursive-relative
...
ln: don't return an empty path in `relative_path`
2021-06-19 12:03:59 +02:00
Sylvestre Ledru
65fe9beaad
bring back #[cfg(windows)]
2021-06-19 08:58:33 +02:00
Sylvestre Ledru
e2a00b67ed
Merge pull request #2428 from jhscheer/cut_2424
...
cut: fix `-d=` (#2424 )
2021-06-19 08:46:42 +02:00
Sylvestre Ledru
7739080e6e
Merge pull request #2430 from tertsdiepraam/cp/update-options
...
`cp`: use `options` module and update list op implemented args
2021-06-18 18:50:36 +02:00
Michael Debertol
285eeac1fb
tests/pr: include one more possible minute
2021-06-18 18:49:39 +02:00
Sylvestre Ledru
54ccfdfd9f
Merge pull request #2413 from deantvv/ls-show-control-if-tty
...
ls: set show-control-char if stdout is terminal
2021-06-18 18:26:22 +02:00
Terts Diepraam
f1e043ca1b
Merge pull request #2361 from jhscheer/id_zero_2351
...
id: revamp to pass more of GNU's Testsuite
2021-06-18 18:10:49 +02:00
Terts Diepraam
14520fb64e
cp: remove redundant newline in readme
2021-06-18 18:00:27 +02:00
Terts Diepraam
fdfa44cb5c
Merge branch 'master' into cp/update-options
2021-06-18 17:59:13 +02:00
Terts Diepraam
ab3f2cb672
cp: update list of implemented arguments
2021-06-18 17:56:22 +02:00
Terts Diepraam
cf1a7d0796
cp: use options module
2021-06-18 17:56:04 +02:00
Terts Diepraam
e273cb8e4f
Merge pull request #2426 from miDeb/cp/symlinks
...
cp: improve symlink handling
2021-06-18 17:27:50 +02:00
Terts Diepraam
c915364f67
Merge pull request #2425 from dezgeg/test-sticky
...
test: Implement -k
2021-06-18 17:26:06 +02:00
Michael Debertol
4e62c9db71
install: support target-directory
2021-06-18 16:45:36 +02:00
Jan Scheer
65f47be5ee
cut: fix -d=
( #2424 )
2021-06-18 12:10:40 +02:00
Michael Debertol
3d3af5c8ca
ln: don't return an empty path in relative_path
2021-06-18 11:53:29 +02:00
Michael Debertol
a371c03431
cp: only get the current directory once
2021-06-18 11:48:13 +02:00
Michael Debertol
32526e3048
cp: one more clippy fix
2021-06-18 11:45:04 +02:00
Michael Debertol
315bfd65a3
cp: move symlink check to the right place
2021-06-18 11:44:39 +02:00
Tuomas Tynkkynen
d05964a8cb
test: Implement -k
...
parser.rs already accepts this, finish the implementation.
2021-06-18 00:03:08 +03:00
Michael Debertol
12a1c87cb8
cp: improve symlink handling
2021-06-17 22:26:13 +02:00
Dean Li
c73ba1630e
ls: set show-control-char if stdout is terminal
2021-06-17 19:55:21 +08:00
Terts Diepraam
439b7e0ca5
Merge pull request #2415 from miDeb/touch/date-epoch
...
touch: support @<timestamp> date format
2021-06-17 10:36:03 +02:00