Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update from main #5

Merged
merged 84 commits into from
Mar 12, 2024
Merged

update from main #5

merged 84 commits into from
Mar 12, 2024

Commits on Feb 15, 2024

  1. Configuration menu
    Copy the full SHA
    9f2e426 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2024

  1. Configuration menu
    Copy the full SHA
    868600c View commit details
    Browse the repository at this point in the history
  2. sort: add skipped test for combined flags

    Now that clap#2624 has been resolved, we can and should test both variants.
    BenWiederhake committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    9fa808f View commit details
    Browse the repository at this point in the history
  3. cat: don't flake even on exotic pipe buffer sizes

    See also 9995c63.
    
    There is a race condition between the writing thread and the command.
    It is easily possible that on the developer's machine, the writing
    thread is always faster, filling the kernel's buffer of the stdin pipe,
    thus succeeding the write. It is also easily possible that on the busy
    CI machines, the child command runs first for whatever reason, and exits
    early, thus killing the pipe, which causes the later write to fail. This
    results in a flaky test. Let's prevent flaky tests.
    BenWiederhake committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    bcd2d88 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    44c59a6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b3d8344 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2024

  1. Configuration menu
    Copy the full SHA
    a4d5def View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    263a163 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d8b3b41 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2024

  1. Configuration menu
    Copy the full SHA
    716581e View commit details
    Browse the repository at this point in the history
  2. Merge pull request uutils#6026 from uutils/renovate/rayon-1.x

    chore(deps): update rust crate rayon to 1.9
    cakebaker committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    bd6fc2b View commit details
    Browse the repository at this point in the history
  3. Merge pull request uutils#6000 from BenWiederhake/dev-pipein-fails-flake

    tests: Harden two tests, prevent 4 flaky tests (cat, numfmt, sort, split, tee)
    sylvestre committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    769c5ca View commit details
    Browse the repository at this point in the history
  4. Merge pull request uutils#5993 from cre4ture/fix/workaround_for_textf…

    …ile_busy_error
    
    Android CI: workaround: run builds with retry
    sylvestre committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    372cd52 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8fcce6e View commit details
    Browse the repository at this point in the history
  6. Merge pull request uutils#6027 from rex4539/clippy

    cargo: fix feature = "cargo-clippy" deprecation
    cakebaker committed Feb 28, 2024
    Configuration menu
    Copy the full SHA
    18c9da3 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5d74a6e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    42cde76 View commit details
    Browse the repository at this point in the history

Commits on Feb 29, 2024

  1. Configuration menu
    Copy the full SHA
    5d35978 View commit details
    Browse the repository at this point in the history
  2. Merge pull request uutils#6028 from RenjiSann/feature/printf-byte

    printf: Make printf operate on bytes instead of strings
    cakebaker committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    75b2bfb View commit details
    Browse the repository at this point in the history
  3. tests/printf: Verify the correct error behavior of printf when provid…

    …ed with '%0c' or '%0s'
    RenjiSann committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    58ee0ce View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7094ff1 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

  1. Merge pull request uutils#6032 from RenjiSann/feature/printf-0c-error

    printf: '%0c' and '%0s' should fail
    cakebaker committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    41f809d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ba1c6b0 View commit details
    Browse the repository at this point in the history
  3. Merge pull request uutils#6020 from BenWiederhake/dev-cp-flaky-arg_in…

    …teractive_update
    
    cp: fix flaky test test_cp_arg_interactive_update, document adjacent bug
    cakebaker committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    09048a3 View commit details
    Browse the repository at this point in the history
  4. Merge pull request uutils#5869 from cre4ture/feature/simulate_termina…

    …l_utility
    
    test utilities: easy way to simulate terminal context
    sylvestre committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    9003e3f View commit details
    Browse the repository at this point in the history
  5. Merge pull request uutils#5938 from cakebaker/ci_codecov_token

    ci: use codecov token in CICD/GnuTests workflows
    sylvestre committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    118a65a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0a84ec2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    100a48f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    472b56f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    cd70d7d View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2024

  1. Merge pull request uutils#6038 from uutils/renovate/walkdir-2.x

    chore(deps): update rust crate walkdir to 2.5
    cakebaker committed Mar 2, 2024
    Configuration menu
    Copy the full SHA
    a8ad627 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2024

  1. Configuration menu
    Copy the full SHA
    d651063 View commit details
    Browse the repository at this point in the history
  2. Merge pull request uutils#6044 from cakebaker/fix_tests_common_utils

    tests/common/util.rs: add `cfg(feature = "env")`
    tertsdiepraam committed Mar 3, 2024
    Configuration menu
    Copy the full SHA
    80bc8a7 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2024

  1. Configuration menu
    Copy the full SHA
    679b9e2 View commit details
    Browse the repository at this point in the history
  2. Merge pull request uutils#6034 from BenWiederhake/dev-cat-flags-every…

    …thing
    
    cat: Handle all flags correctly
    cakebaker committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    4d66af2 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2024

  1. Configuration menu
    Copy the full SHA
    837bc94 View commit details
    Browse the repository at this point in the history
  2. Merge pull request uutils#6045 from cakebaker/bump_mio

    Bump mio from 0.8.10 to 0.8.11
    sylvestre committed Mar 5, 2024
    Configuration menu
    Copy the full SHA
    b3fd711 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    294c9de View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2024

  1. Configuration menu
    Copy the full SHA
    a1c14fb View commit details
    Browse the repository at this point in the history
  2. ls: use chrono::TimeDelta::try_seconds instead of

    deprecated chrono::TimeDelta::seconds
    cakebaker committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    c45c00e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    aad8f7d View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2024

  1. chmod: slightly adjust error message when preserve-root is triggered

    One of the GNU tests checks for the exact error message.
    BenWiederhake committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    bf5d7f7 View commit details
    Browse the repository at this point in the history
  2. chgrp+chown: also trigger preserve-root during dirwalking, fix error …

    …message
    
    This is explicitly tested in the GNU tests.
    BenWiederhake committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    5c2c38c View commit details
    Browse the repository at this point in the history
  3. uucore: drop unused function resolve_relative_path

    This function is by necessity ill-defined: Depending on the context,
    '..' is either the logical parent directory, sometimes the physical
    parent directory. This function can only work for the latter case,
    in which case `Path::canonicalize` is often a better approach.
    BenWiederhake committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    d25d994 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dab02d0 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2024

  1. Configuration menu
    Copy the full SHA
    db142f9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cd010ad View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2024

  1. Merge pull request uutils#6049 from uutils/renovate/softprops-action-…

    …gh-release-2.x
    
    chore(deps): update softprops/action-gh-release action to v2
    cakebaker committed Mar 9, 2024
    Configuration menu
    Copy the full SHA
    b34d410 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1819cde View commit details
    Browse the repository at this point in the history
  3. Fix clippy warnings

    sylvestre committed Mar 9, 2024
    Configuration menu
    Copy the full SHA
    dcfb03a View commit details
    Browse the repository at this point in the history
  4. Merge pull request uutils#6043 from cre4ture/fix/flaky_split_round_ro…

    …bin_limited_fds
    
    Fix/flaky `split` round robin limited fds
    sylvestre committed Mar 9, 2024
    Configuration menu
    Copy the full SHA
    991d718 View commit details
    Browse the repository at this point in the history
  5. Merge pull request uutils#6042 from BenWiederhake/dev-chown-preserve-…

    …root
    
    chown+chgrp+chmod: Fix handling of preserve root flag and error messages
    sylvestre committed Mar 9, 2024
    Configuration menu
    Copy the full SHA
    6c29ed0 View commit details
    Browse the repository at this point in the history
  6. tr: stream output instead of buffering

    This should lower memory consumption, and fixes OOM in some scenarios.
    BenWiederhake authored and sylvestre committed Mar 9, 2024
    Configuration menu
    Copy the full SHA
    9cbe605 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4ee3f68 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    b233569 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    dbfd4d8 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    8be5f7a View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2024

  1. Merge pull request uutils#6047 from cakebaker/bump_chrono

    Bump chrono to 0.4.35 & replace usage of deprecated functions
    sylvestre committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    8c79402 View commit details
    Browse the repository at this point in the history
  2. touch: Respect -h when getting metadata (uutils#5951)

    * Add tests that stat symlinks
    
    * Check follow first in stat
    
    * Don't run tests on FreeBSD
    
    It would be possible to get them to run on FreeBSD by avoiding
    get_symlink_times, but the behavior we're testing is not
    platform-specific, so it's fine to not test it on FreeBSD.
    
    ---------
    
    Co-authored-by: Sylvestre Ledru <sylvestre@debian.org>
    ysthakur and sylvestre committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    d11d595 View commit details
    Browse the repository at this point in the history
  3. Merge pull request uutils#6050 from matrixhead/main

    dd : treat arg as bytes if it contains a 'B'
    tertsdiepraam committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    a578fe9 View commit details
    Browse the repository at this point in the history
  4. Merge pull request uutils#6052 from sylvestre/clippy43

    Fix clippy warnings
    cakebaker committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    1eaa87c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9054a24 View commit details
    Browse the repository at this point in the history
  6. chgrp: fix clippy warning

    cakebaker committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    0579233 View commit details
    Browse the repository at this point in the history
  7. Merge pull request uutils#6054 from cakebaker/pr_chgrp_fix_warnings

    pr/chgrp: fix warnings
    sylvestre committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    da9682d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    156d3f7 View commit details
    Browse the repository at this point in the history
  9. Merge pull request uutils#6039 from BenWiederhake/dev-chcon-repeat-args

    chcon: Handle repeated flags and overrides between --no-XXX and --XXX
    sylvestre committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    2e8f0e5 View commit details
    Browse the repository at this point in the history
  10. Merge pull request uutils#6012 from BenWiederhake/dev-tr-stream

    tr: Stream output instead of buffering
    sylvestre committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    fe0c814 View commit details
    Browse the repository at this point in the history
  11. Merge pull request uutils#6014 from BenWiederhake/dev-shuf-range-off-…

    …by-one
    
    shuf: Fix off-by-one errors in range handling
    sylvestre committed Mar 10, 2024
    Configuration menu
    Copy the full SHA
    80702d5 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2024

  1. cp: improve the support of --attributes-only (uutils#6051)

    * cp: improve the support of --attributes-only
    
    * remove useless comments
    
    Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
    
    ---------
    
    Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
    sylvestre and cakebaker committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    89b326f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    df585ed View commit details
    Browse the repository at this point in the history
  3. Merge pull request uutils#6056 from sylvestre/refactor-copy-function

    cp: Split the copy_file function a bit
    cakebaker committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    0da5a78 View commit details
    Browse the repository at this point in the history
  4. parser: if closing square bracket not found, stop looking for it again

    This solves uutils#5584, where the fuzzing would take hours without this.
    cj-zoltan-kiss committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    be24742 View commit details
    Browse the repository at this point in the history
  5. Merge pull request uutils#6036 from cj-zoltan-kiss/zoltankiss/globfix

    parser: if closing square bracket not found, stop looking for it again
    sylvestre committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    93b1abf View commit details
    Browse the repository at this point in the history
  6. Fix install: invalid link at destination

    also remove some FixMEs for FreeBsd
    cre4ture committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    7cd754e View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2024

  1. Merge pull request uutils#5851 from cre4ture/fix/install_invalid_link…

    …_at_destination
    
    Fix install: invalid link at destination
    sylvestre committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    ffb7059 View commit details
    Browse the repository at this point in the history
  2. Bump nix from 0.27 to 0.28

    cakebaker committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    ae7bc7d View commit details
    Browse the repository at this point in the history
  3. uucore/pipes: adapt to new return type of nix fn

    nix 0.28 changed the return type of unistd::pipe() from Result<(RawFd, RawFd), Error> to Result<(OwnedFd, OwnedFd), Error>
    cakebaker committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    15cb024 View commit details
    Browse the repository at this point in the history
  4. tty: unistd::ttyname takes AsFd instead of RawFd

    change introduced by nix 0.28
    cakebaker committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    1413054 View commit details
    Browse the repository at this point in the history
  5. stty: remove ofill output flag

    flag was removed from nix::sys::termios::OutputFlags in nix 0.28
    cakebaker committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    6fd37da View commit details
    Browse the repository at this point in the history
  6. cat: adapt to type change of unistd::write()

    nix 0.28 changed "write(fd: RawFd, buf: &[u8]) -> Result<usize>" to "write<Fd: AsFd>(fd: Fd, buf: &[u8]) -> Result<usize>"
    cakebaker committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    14ac1e1 View commit details
    Browse the repository at this point in the history
  7. Merge pull request uutils#6055 from cakebaker/bump_nix

    Bump nix from 0.27 to 0.28 & fix issues due to API changes
    sylvestre committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    9de409d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3515cd4 View commit details
    Browse the repository at this point in the history
  9. Merge pull request uutils#6057 from uutils/renovate/blake3-1.x

    chore(deps): update rust crate blake3 to 1.5.1
    sylvestre committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    cc1142c View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    f3f95f2 View commit details
    Browse the repository at this point in the history