Hi, I’d like to request that ouch be packaged for Fedora. It’s a small command-line tool for compressing and decompressing files that handles a lot of formats (tar, zip, 7z, gz, zst, xz, lzma, bz2, lz4, rar, br and more) with one simple set of commands, so you don’t have to remember the different flags for tar, unzip, gzip and so on. It’s written in Rust, the static Linux build has no runtime dependencies, and it’s already packaged for Arch, Homebrew, Alpine and nix.
Its quite similar to atool, which is a script that combines the many compression tools into one simple command interface, but atool has been unmaintained for a decade and ouch is a modern and more secure alternative that makes de/compression just as simple
The most significant difference to unar and 7z is that ouch and most of its libraries are written in memory safe rust instead of legacy code. Considering how many CVEs there are for these c/c++ tools and libraries, thats significant improvement, or at the very least has that potential.
In any case, its an increasingly popular tool that is already available on other distros, so it would be nice to have this on fedora as well.
It has the potential, but well written and debugged C/C++ is fine.
Don’t get me a wrong I’m a fan of rust and think it the saner language for new code.
But for old debugged code it not clear that there are obvious wins.
If the deps you need are packaged in Fedora then you can avoid need for network access and vendoring stuff. Admittedly I’ve only packaged a simple rust app in my copr so cannot speak for complex apps. I use the fedora authored rust2rpm tool to create the spec file from the cargo manifest.