Page MenuHomeSolus

Closed, WontfixPublic


There are a number of different clients, but the Python client seems to be the most fit to include in a distribution (Arch and Fedora also include the Python client).

Event Timeline

r3r57 added a subscriber: r3r57.Jul 12 2019, 9:52 PM

Oh my that's an awesome idea, I wasn't aware of its existence.

Alternatively there's tealdeer shouldn't you like Python.

Jacalz added a subscriber: Jacalz.Jul 13 2019, 6:54 AM
Jacek added a subscriber: Jacek.Jul 13 2019, 9:58 AM
Jacek added a comment.Jul 20 2019, 6:26 PM

I created a diff of Rust client Tealdeer, works just fine. Only lacking feature is fish autocomplete which is git but not yet in any release.
So we are only waiting for this task to get accepted, unless somebody wants to package different TLDR client.

I'd like to package the Python client of TLDR, as Python is included in the base Solus system. Not familiar with Rust, does Tealdeer have Rust as a dependency? Not sure I would be willing to install an entire language for one utility.

Jacek added a comment.Jul 21 2019, 4:18 PM

I'm also new to Rust, but I think it is a small static binary, so no need to install Rust. After all you have Firefox on your system that is partially written in Rust, but don't need Rust.
I packaged this client because according to tests it is the fastest out of all.

@Jacek is right about rust, it compiles to machine code just like C/C++ or even Go for that matter, but it has great memory safety forced on the programmer.

I vote for the inclusion of the rust version as I generally regard Python as being slow and bloated in size. Probably the best one in my opinion...

Oh I'm all for Tealdeer too then. :-)

DataDrake triaged this task as Wishlist priority.Jul 25 2019, 11:28 AM
DataDrake moved this task from Backlog to Accepted For Inclusion on the Package Requests board.

@Jacek that's a different piece of software.

abdulocracy added a comment.EditedJul 25 2019, 11:48 AM

It's actually one of the clients for tldr, the original one is I believe a node package, do we really want to package that? The initial proposal suggested the Python client tldr-python-client but an argument was made above for the Rust client tealdeer.

@abdulocracy I can read :p I accepted the python client, not the rust client in that diff. If someone really wants the Rust client, it should be a separate package request.

abdulocracy added a comment.EditedJul 25 2019, 11:54 AM

Sorry 'bout that, copy. :-) I can provide a patch for the Python client when I have the time but before then perhaps @Jacek would like to take it up.

Edit: wording

I have now packaged both Python and Rust client, now the choice is up to you. Terminal output of both is the same, so next to no difference to the end user.
+ used by Arch and Fedora
+ allows caching

  • no build instructions, had to make use of Arch and Fedora build scripts

+ autocomplete for Bash (and Fish in next release)
+ static package, no need for additional dependencies

JoshStrobl closed this task as Wontfix.Sep 10 2019, 4:19 PM
JoshStrobl added a subscriber: JoshStrobl.

Closing as a consensus has been reached in T8180 and V1 on which TLDR client should be in the repo.