Terts Diepraam
84f9879e5c
util/update-version: fix update of uu_base32 dependency
2022-10-11 23:03:18 +02:00
Terts Diepraam
b2b46a6835
util/update-version: also update Cargo.toml of uucore
2022-10-11 22:58:04 +02:00
Terts Diepraam
b869c78343
util/publish: update to correctly handle dependencies between utils
2022-10-11 22:49:04 +02:00
Sylvestre Ledru
d68dd23a56
GNU comment: Only display a comment if there is any ( #4026 )
...
* GNU comment: Only display a comment if there is any
2022-10-11 20:58:00 +02:00
Sylvestre Ledru
fa17a94a73
Merge pull request #4028 from chadbrewbaker/factortest
...
fix MIRI crash of long running unit test
2022-10-11 20:57:09 +02:00
Chad Brewbaker
cbb9db7be7
fix MIRI crash of long test
2022-10-11 12:11:52 -05:00
Sylvestre Ledru
5b603c8c52
Merge pull request #4025 from uutils/revert-4021-dependabot/github_actions/actions/github-script-6.3.1
...
Revert "build(deps): bump actions/github-script from 3.1.0 to 6.3.1"
2022-10-11 08:42:49 +02:00
Sylvestre Ledru
d1e2bb7746
Revert "build(deps): bump actions/github-script from 3.1.0 to 6.3.1"
2022-10-11 08:42:26 +02:00
Terts Diepraam
f4365d4751
Merge pull request #4004 from sylvestre/chroot
...
chroot: improve support of --skip-chdir
2022-10-10 16:12:01 +02:00
Sylvestre Ledru
d768b19f2b
chroot: improve support of --skip-chdir
...
Should unbreak tests/misc/chroot-fail.sh
2022-10-10 14:07:45 +02:00
Sylvestre Ledru
d6ca61c279
Merge pull request #4017 from uutils/sylvestre-patch-2
...
GNU testsuite result: Improve the display
2022-10-10 14:02:28 +02:00
Sylvestre Ledru
2cd95851d4
Merge pull request #4018 from uutils/sylvestre-patch-3
...
Remove unnecessary permissions
2022-10-10 14:02:06 +02:00
Sylvestre Ledru
91bb69fe6c
Merge pull request #4021 from uutils/dependabot/github_actions/actions/github-script-6.3.1
...
build(deps): bump actions/github-script from 3.1.0 to 6.3.1
2022-10-10 14:01:15 +02:00
dependabot[bot]
0c2646ad52
build(deps): bump actions/github-script from 3.1.0 to 6.3.1
...
Bumps [actions/github-script](https://github.com/actions/github-script ) from 3.1.0 to 6.3.1.
- [Release notes](https://github.com/actions/github-script/releases )
- [Commits](https://github.com/actions/github-script/compare/v3.1...v6.3.1 )
---
updated-dependencies:
- dependency-name: actions/github-script
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-10 06:39:44 +00:00
Sylvestre Ledru
ad0ca2f042
Merge pull request #3973 from jfinkels/cp-directory-preserve-permissions
...
cp: preserve permissions when copying directory and don't terminate early on inaccessible file
2022-10-10 08:16:27 +02:00
Sylvestre Ledru
d205823c8e
Merge pull request #3972 from jfinkels/cp-symbolic-link-loop
...
cp: allow removing symbolic link loop destination
2022-10-10 08:15:22 +02:00
Sylvestre Ledru
3823e12063
Improve the display
2022-10-10 08:03:39 +02:00
Sylvestre Ledru
94b8602e91
Remove unnecessary permissions
2022-10-10 08:03:34 +02:00
Sylvestre Ledru
46ceea0442
Merge pull request #4019 from tertsdiepraam/ci-post-gnu-comment
...
GnuComment: clear comment log before appending the messages
2022-10-10 08:02:33 +02:00
Jeffrey Finkelstein
b89e8e54c4
cp: continue directory walk if file inaccessible
...
Stop `cp` from terminating prematurely if a file in a directory is
inaccesible due to insufficient permissions.
2022-10-09 17:31:41 -04:00
Jeffrey Finkelstein
2450493302
cp: preserve permissions when copying directory
...
Make cp preserve the permissions of a directory when copying
it. Before this commit,
cp -pR src/ dest/
failed to copy the permissions of `src/` to `dest/`. After this
commit, the permissions are correctly copied.
2022-10-09 17:29:29 -04:00
Jeffrey Finkelstein
c370b678b1
cp: refactor copy_attributes() function
...
Create a `copy_attributes()` function to contain the loop that copies
each of a specified set of attributes in turn.
2022-10-09 17:28:43 -04:00
Jeffrey Finkelstein
2f88ba8628
tests: add AtPath.set_mode() method
...
Add the `AtPath.set_mode()` method that sets the permissions for a
given path in the test directory.
2022-10-09 17:28:43 -04:00
Jeffrey Finkelstein
fba8d495d2
tests: create assert_metadata_eq!() macro
...
Create `assert_metadata_eq!()` macro to contain a series of assertions
that check whether two `Metadata` objects are equal.
2022-10-09 17:28:43 -04:00
jfinkels
349320ae61
Merge branch 'main' into cp-symbolic-link-loop
2022-10-09 17:28:30 -04:00
Terts Diepraam
7febaf8b68
GNuComment: clear comment log before appending the messages
2022-10-09 23:03:12 +02:00
Terts Diepraam
8c504edfca
Merge pull request #4016 from tertsdiepraam/ci-post-gnu-comment
...
GnuComment: convert loaded text into string
2022-10-09 17:16:39 +02:00
Terts Diepraam
562b7e7de8
GnuComment: convert loaded text into string
2022-10-09 17:14:22 +02:00
Sylvestre Ledru
e578502e99
Merge pull request #4015 from tertsdiepraam/ci-post-gnu-comment
...
CI: run GnuComment also if pipeline fails
2022-10-09 15:20:34 +02:00
Terts Diepraam
f749a129aa
ci: upload comparison log regardless of previous result
2022-10-09 12:35:00 +02:00
Terts Diepraam
0f1638545c
CI: Fix up JS syntax in GnuComment
2022-10-09 11:23:54 +02:00
Terts Diepraam
4f5407d22b
CI: run gnucomment also if pipeline fails
2022-10-09 11:16:57 +02:00
Terts Diepraam
7d8917bb35
Merge pull request #4003 from sylvestre/sync2
...
sync: various compatibility improvement
2022-10-09 11:07:44 +02:00
Sylvestre Ledru
f41fac3f2b
Merge pull request #3803 from ackerleytng/main
...
ls: align --ignore behavior with that of GNU ls
2022-10-09 10:55:46 +02:00
Ackerley Tng
d84803b72f
ls: align --ignore behavior with that of GNU ls
2022-10-08 16:54:07 -07:00
Sylvestre Ledru
0f98bd01e1
Merge pull request #4010 from tertsdiepraam/ci-post-gnu-comment
...
CI: post gnu comment
2022-10-08 19:56:21 +02:00
Terts Diepraam
b9ce759a4b
gnutests: also store PR number in comment artifact
2022-10-08 17:24:30 +02:00
Terts Diepraam
f5b5dfa1a2
gnutests: save comparison in a comment log
2022-10-08 14:57:09 +02:00
Sylvestre Ledru
d78089ea53
Replace pull_request by pull_request_target
...
See https://github.com/uutils/coreutils/pull/4006#issuecomment-1272290250
2022-10-08 12:46:12 +02:00
Sylvestre Ledru
b4de65b4d7
Add pull-requests: write
for GNU CI
2022-10-08 12:21:26 +02:00
Sylvestre Ledru
97dd4824e5
Merge pull request #3976 from andrewbaptist/implement_suffix_start
...
Add support for starting suffix numbers
2022-10-07 21:07:07 +02:00
Sylvestre Ledru
f255dcbf6d
Merge pull request #3979 from jfinkels/cp-cow-module
...
cp: move copy_on_write funcs to platform module
2022-10-07 14:58:45 +02:00
Sylvestre Ledru
a61230828e
Update the GNU CI permissions to allow messages for results
2022-10-06 17:10:18 +02:00
Sylvestre Ledru
97f3dfad54
Merge pull request #3965 from Joining7943/fix-windows-pipe
...
`tests/tail`: Fix tests to reflect changes from the refactoring #3905
2022-10-06 11:17:25 +02:00
Sylvestre Ledru
88fb43c8e4
Merge branch 'main' into cp-symbolic-link-loop
2022-10-06 09:53:02 +02:00
Sylvestre Ledru
32112d627a
Add fiemap to the spelling
2022-10-06 09:34:48 +02:00
Sylvestre Ledru
6b36a266e4
Merge pull request #3981 from jfinkels/cp-directory-into-itself
...
cp: correct error message on copying dir to itself
2022-10-06 09:33:41 +02:00
Jeffrey Finkelstein
8bfd96fb59
cp: correct error message on copying dir to itself
...
Correct the error message produced when attempting to copy a directory
into itself with `cp`. Before this commit, the error message was
$ cp -R d d
cp: cannot copy a directory, 'd', into itself, 'd'
After this commit, the error message is
$ cp -R d d
cp: cannot copy a directory, 'd', into itself, 'd/d'
2022-10-05 21:37:30 -04:00
Jeffrey Finkelstein
2d0f59c51d
cp: move copy_on_write funcs to platform module
...
Move the copy-on-write functions for `cp` to their own module. This
provides a layer of indirection so that the `cp.rs` module need only
use `platform::copy_on_write()`, and the `platform` module is
responsible for providing the appropriate implementation for the
current platform. This commit does not change the behavior of the
code, just its organization.
2022-10-05 21:35:55 -04:00
Sylvestre Ledru
490aa75553
Merge pull request #4001 from tertsdiepraam/tests-not-via-build-rs
...
tests: do not generate module structure in `build.rs`
2022-10-05 21:04:43 +02:00