Skip to content

basenc: implement --base58 encoding option#8751

Merged
sylvestre merged 4 commits into
uutils:mainfrom
AnarchistHoneybun:feat/basenc-base58
Oct 5, 2025
Merged

basenc: implement --base58 encoding option#8751
sylvestre merged 4 commits into
uutils:mainfrom
AnarchistHoneybun:feat/basenc-base58

Conversation

@AnarchistHoneybun

@AnarchistHoneybun AnarchistHoneybun commented Sep 27, 2025

Copy link
Copy Markdown
Contributor

Add support for Base58 encoding to basenc for consistency with GNU coreutils 9.8. Base58 uses the alphabet '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz' which excludes visually ambiguous characters (0, O, I, l).

Resolves #8744.

@github-actions

Copy link
Copy Markdown

GNU testsuite comparison:

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

@codspeed-hq

codspeed-hq Bot commented Sep 27, 2025

Copy link
Copy Markdown

CodSpeed Performance Report

Merging #8751 will not alter performance

Comparing AnarchistHoneybun:feat/basenc-base58 (7c43ac1) with main (b4f8eac)

Summary

✅ 65 untouched
⏩ 73 skipped1

Footnotes

  1. 73 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@AnarchistHoneybun

Copy link
Copy Markdown
Contributor Author

@cakebaker could you review these changes, I can't figure out how to fix the failing CI, like what exactly is it failing for?

@sylvestre

Copy link
Copy Markdown
Contributor

The spell error is easy to fix. Just ignore it on the top of the file.

Add support for Base58 encoding to basenc as per GNU coreutils 9.8.
Base58 uses the alphabet '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'
which excludes visually ambiguous characters (0, O, I, l).

Resolves issue uutils#8744.
@github-actions

github-actions Bot commented Oct 1, 2025

Copy link
Copy Markdown

GNU testsuite comparison:

Skipping an intermittent issue tests/tail/overlay-headers (passes in this run but fails in the 'main' branch)

@sylvestre

Copy link
Copy Markdown
Contributor

please fix the rest of the errors :)

@AnarchistHoneybun

Copy link
Copy Markdown
Contributor Author

please fix the rest of the errors :)

Yes sorry been a little busy with class work, I'll have it done today

AnarchistHoneybun and others added 2 commits October 3, 2025 01:03
Fix explicit iteration clippy warnings. Add Base58 alphabet to spell-checker ignore list to resolve cspell errors.
@github-actions

github-actions Bot commented Oct 2, 2025

Copy link
Copy Markdown

GNU testsuite comparison:

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

@github-actions

github-actions Bot commented Oct 3, 2025

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 e16ce60 into uutils:main Oct 5, 2025
97 of 98 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.

basenc: implement --base58

2 participants