You are not logged in.

#1 2021-06-04 16:22:27

JonnyRobbie
Member
Registered: 2015-04-28
Posts: 165

Highlighting checkupdates

I wanted to have a nice visual way to highlight checkupdates to distinguish when a package has changed its major, minor version, build. etc.

https://i.imgur.com/e2iniGp.png

PKGBUILD is based upon fork from pacman-contrib-git from AUR.

Now to have the same thing directly in pacman....


moderator edit -- replaced oversized image with link.
Pasting pictures and code

Last edited by 2ManyDogs (2021-07-04 12:48:37)

Offline

#2 2021-07-04 04:34:43

thiagowfx
Member
Registered: 2013-07-09
Posts: 586

Re: Highlighting checkupdates

Idea is OK, but why all those colors? Do you really need all that fine granularity? I can see the point in having three colors:

  • making pkgrel more grayed out

  • making major version more prominent

  • something in-between for minor versions and patches

I don't understand, for example, why ca-certificates has its own blue color. Why not treat it the same as a major version upgrade?

Last edited by thiagowfx (2021-07-04 04:35:11)

Offline

#3 2021-07-04 07:00:02

seth
Member
Registered: 2012-09-03
Posts: 25,153

Re: Highlighting checkupdates

"major.minor.release-build" and because of it's version scheme, ca-certificates will always be a major update?

Offline

#4 2021-07-04 21:42:00

JonnyRobbie
Member
Registered: 2015-04-28
Posts: 165

Re: Highlighting checkupdates

seth wrote:

"major.minor.release-build" and because of it's version scheme, ca-certificates will always be a major update?

That's exactly the point. And the color scheme is supposed to mirror color thermal spectrum, from the hottest (blue), through white, orange to the coolest (red).

Offline

Board footer

Powered by FluxBB