topgrade icon indicating copy to clipboard operation
topgrade copied to clipboard

Support pkgfile

Open tralce opened this issue 2 years ago • 3 comments

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)

tralce avatar Jun 16 '22 15:06 tralce

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

r-darwish avatar Jun 18 '22 18:06 r-darwish

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.

tralce avatar Jun 18 '22 19:06 tralce

I might take a look at writing support for this.

cleonyc avatar Jul 26 '22 19:07 cleonyc