Skip to content

sort: refine error handling and localize field parsing errors#10068

Merged
sylvestre merged 4 commits into
uutils:mainfrom
mattsu2020:pr1-sort-errors-i18n
Jan 13, 2026
Merged

sort: refine error handling and localize field parsing errors#10068
sylvestre merged 4 commits into
uutils:mainfrom
mattsu2020:pr1-sort-errors-i18n

Conversation

@mattsu2020

Copy link
Copy Markdown
Contributor

Summary

  • Remove key settings validation and localize field parsing errors.
  • Standardize sort error helpers and replace UUsageError with USimpleError.
  • Update sort conflict tests to assert error messages.

Notes

@mattsu2020
mattsu2020 force-pushed the pr1-sort-errors-i18n branch from 0f2d04d to 0fa58d0 Compare January 5, 2026 09:49
- Add 'dfgi' to spell-checker ignore list for accurate linting
- Reformat tuple and method call in test_conflict_check_out for consistency and to resolve clippy warnings
@github-actions

github-actions Bot commented Jan 5, 2026

Copy link
Copy Markdown

GNU testsuite comparison:

Skip an intermittent issue tests/timeout/timeout (fails in this run but passes in the 'main' branch)

@sylvestre

Copy link
Copy Markdown
Contributor

a few jobs are failing

… error handling

- Changed `ModeFlags::default()` to `Self::default()` for better idiomatic Rust code.
- Removed `.into()` call in `FieldSelector::from` method as it was redundant, simplifying error construction.
@github-actions

github-actions Bot commented Jan 5, 2026

Copy link
Copy Markdown

GNU testsuite comparison:

Skip an intermittent issue tests/timeout/timeout (fails in this run but passes in the 'main' branch)
Congrats! The gnu test tests/dd/nocache_eof is no longer failing!

@github-actions

github-actions Bot commented Jan 6, 2026

Copy link
Copy Markdown

GNU testsuite comparison:

Skipping an intermittent issue tests/timeout/timeout (passes in this run but fails in the 'main' branch)

@sylvestre
sylvestre merged commit 0b0ba60 into uutils:main Jan 13, 2026
132 of 134 checks passed
@mattsu2020
mattsu2020 deleted the pr1-sort-errors-i18n branch January 13, 2026 23:08
cakebaker added a commit that referenced this pull request Jan 14, 2026
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.

2 participants