Live data from Hacker News

GitHub: sysget – A front-end for every package manager

github.com

31–40 of 64 posts

Re: GitHub: sysget – A front-end for every package manager

#31
post #18

Earlier quoted context omitted.

If it's stupid and it works, it ain't stupid.

It doesn’t work. Different distributions and OSes use different names for packages.

Packages installed from different distros will conflict all over the place, this is silly, please don't add conda despite my other comment!

Re: GitHub: sysget – A front-end for every package manager

#35
Some missing features:

    - Show version of an installed package
    - List content of package
    - Fix package (or reinstall?)
    - Install/Update history
    - Revert last install/update operation
Unfortunately not all of these features are directly supported by all package managers. E.g. package contents for yum are `repoquery -l`. I have to google this every time. Real value in wrapping that in a simple command.

Re: GitHub: sysget – A front-end for every package manager

#36
That's not nearly "every package manager".

Topgrade [1] upgrades all packages including distribution package managers (such as Homebrew, APT, DNF, ...), language specific package managers (such as Cargo, NPM, Gem, ...), program specific package managers (such as Vim, Tmux, shells, ...), Flatpak/Snap, working on The Big Three (Windows, Linux, macOS).

I wish there was a way to update Steam and Battle.net from the CLI as well.

[1] https://github.com/r-darwish/topgrade

Re: GitHub: sysget – A front-end for every package manager

#37
post #28
post #23

Earlier quoted context omitted.

Yes, abstractions do leak sometimes. I'm not saying I'm running this on all my production servers right now. For me the problem this tool solves is real (although not big), and I'm interested to see what other people think of both the problem and the solution. That's why I upvoted it, I guess other people had similar ideas.

What problem does it solve? Just use the package manager provided by the platform...right? Especially given the problem of package naming, it’s different even between Debian and Ubuntu :/

> Especially given the problem of package naming

I haven't encountered this for all the standard applications I end up installing on my machines (things like htop, nginx, etc).

> What problem does it solve?

It solves the problem of me having to think about what OS I am on before I can install something (and if it's something I don't use a lot I might need to google the package manager syntax).

Re: GitHub: sysget – A front-end for every package manager

#40

I'm curious why the author chose to put every command in its own file and then copy the big if tree with string compares in every file. Translating commands from a generic command interface to specific commands is a great case for polymorphism.

My guess is they didn't know better. That isn't the only amateurism in the code.
Post reply on HN