Skip to content

Conversation

@pixelb
Copy link
Contributor

@pixelb pixelb commented Oct 8, 2025

Adjust for changes in GNU coreutils.
Valid as of coreutils 9.5 (Mar 2024).

Add completions for:
base32, basenc, cksum, comm, numfmt, readlink, realpath,
shred, shuf, stat, sync

Adjust completions for:
chgrp: add --from
dd: remove deprecated *_bytes flags

@pixelb
Copy link
Contributor Author

pixelb commented Oct 8, 2025

Failing test on Fedora looks unrelated. Running on Fedora locally it's fine. Ran like:
pytest test/t/unit/test_unit_compgen_filedir.py::TestUnitCompgenFiledir::test_26 -v

@pixelb pixelb changed the title update for modern GNU coreutils feat(coreutils) update for newer GNU coreutils Oct 8, 2025
@pixelb pixelb changed the title feat(coreutils) update for newer GNU coreutils feat(coreutils): update for newer GNU coreutils Oct 8, 2025
@yedayak
Copy link
Collaborator

yedayak commented Oct 9, 2025

Failing test on Fedora looks unrelated. Running on Fedora locally it's fine. Ran like:
pytest test/t/unit/test_unit_compgen_filedir.py::TestUnitCompgenFiledir::test_26 -v

Yeah this is a known issue, see #1435

@yedayak
Copy link
Collaborator

yedayak commented Oct 9, 2025

If you rebase on main the test should succeed now

Adjust for changes in GNU coreutils.
Valid as of coreutils 9.5 (Mar 2024).

Add completions for:
  base32, basenc, cksum, comm, numfmt, readlink, realpath,
  shred, shuf, stat, sync

Adjust completions for:
  chgrp: add --from
  dd: remove deprecated *_bytes flags
[[ $w == -@(R|-recursive) ]] && opts="-H -L -P" && break
done
_comp_compgen -- -W '-c -h -f -R -v --changes --dereference
_comp_compgen -- -W '-c -h -f -R -v --changes --dereference --from
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a note, we'd be better off parsing instead of hardcoding, but that's something for another PR.

@scop
Copy link
Owner

scop commented Oct 19, 2025

Added basic tests and missing cksum symlink setup, merging with that. Thanks!

@scop scop merged commit 594de4e into scop:main Oct 19, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants