r-darwish / topgrade

Upgrade everything
GNU General Public License v3.0
3.35k stars 160 forks source link

Support pkgfile #956

Open tralce opened 2 years ago

tralce commented 2 years ago

I want to suggest a new step

I would like to see topgrade update the pkgfile database, if present on an arch linux system.

Which tool is this about? Where is its repository?

Its repo is located at https://github.com/falconindy/pkgfile

Which operating systems are supported by this tool?

Arch Linux, and probably anything else that uses pacman

What should Topgrade do to figure out if the tool needs to be invoked?

Check of /usr/bin/pkgfile exists and is executable

Which exact commands should Topgrade run?

pkgfile --update (as root)

r-darwish commented 2 years ago

I don't object, but don't you rather activate pkgfile-update.timer instead?

tralce commented 2 years ago

In most cases, yes, but some machines I use on metered connections often. Having that in topgrade would put me in control of it rather than systemd.

cleonyc commented 2 years ago

I might take a look at writing support for this.