help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: query for package updates


From: Pierre Neidhardt
Subject: Re: query for package updates
Date: Sat, 14 Mar 2020 16:26:54 +0100

Hi Reza,

I tried running your script and it never reports updates.
I am not completely sure about the API but I believe that you need to
check the version of the entry of the package, not of the corresponding
package in the manifest, or else you'll always find the same package
version.

The second issue is that you are only comparing version numbers, while
packages can also get updated because the derivation has changed
(e.g. some input has been updated).

I don't know the API for that but my guess is that you could start
inspecting guix/scripts/package.scm.

Good luck!

-- 
Pierre Neidhardt
https://ambrevar.xyz/

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]