Skip to content

tldr: update to 1.12.0#59529

Closed
Swiddis wants to merge 1 commit intovoid-linux:masterfrom
Swiddis:feat/tldr-tlrc
Closed

tldr: update to 1.12.0#59529
Swiddis wants to merge 1 commit intovoid-linux:masterfrom
Swiddis:feat/tldr-tlrc

Conversation

@Swiddis
Copy link
Copy Markdown
Contributor

@Swiddis Swiddis commented Mar 23, 2026

The currrent package is based on an unofficial tldr client that hasn't seen updates in over 3 years, and is no longer fully compatible with tldr's doc format. This commit switches to the official tlrc client which is actively maintained. Both clients fundamentally pull from the content repository for actual content.

I haven't copied a gtldr alias which exists in the original, happy to add it for backwards compatibility if necessary.
upd: Found that was integrating with alternatives, did the same here.

Testing the changes

  • I tested the changes in this PR: YES

Local build testing

  • I built this PR locally for my native architecture, x86_64-libc

@Swiddis
Copy link
Copy Markdown
Contributor Author

Swiddis commented Mar 23, 2026

Oh, just found the history that we renamed the binary to gtldr because it conflicted with tealdeer -- will push an update in a sec to do the same alternatives-rename thing with tlrc then.

@Swiddis Swiddis force-pushed the feat/tldr-tlrc branch 2 times, most recently from 9025e0b to 0544e23 Compare March 23, 2026 05:02
The currrent package is based on an unofficial TLDR client that hasn't
seen updates in over 3 years, and is no longer fully compatible with
tldr's doc format. This commit switches to the official tlrc client
which is actively maintained. All clients pull from the same tldr-pages
repository for actual content.
@Swiddis
Copy link
Copy Markdown
Contributor Author

Swiddis commented Mar 23, 2026

Okay, looked into the clients situation more: the client they say is most feature-complete on their website is the python client (but has less stars than the rust one, gg). When packaged that one tends to be tldr. tlrc is packaged in most package managers as tlrc.

So I guess the morally correct thing to do is make tlrc a new alternative package, and update this one to tldr-py. Need to sleep but will flip this to draft for now and at minimum split the package off, at best also get this package on the official client.

@Swiddis Swiddis marked this pull request as draft March 23, 2026 05:54
@tranzystorekk
Copy link
Copy Markdown
Contributor

This package tracks the https://github.com/isacikgoz/tldr project in particular, for tlrc you'll need to open a new-package PR.

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