bug-guix
[Top][All Lists]
Advanced

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

Preparing for auto-updates


From: Ludovic Courtès
Subject: Preparing for auto-updates
Date: Tue, 08 Jan 2013 22:53:40 +0100
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux)

Hello,

I just pushed additions to (guix gnu-maintenance) that add in particular
the ‘latest-release’ procedure:

--8<---------------cut here---------------start------------->8---
scheme@(guile-user)> ,m (guix gnu-maintenance)
scheme@(guix gnu-maintenance)> (latest-release "guile")
$2 = ("guile-2.0.7" . "/gnu/guile")
scheme@(guix gnu-maintenance)> (latest-release "icecat")
$3 = ("icecat-17.0.1" . "/gnu/gnuzilla/17.0")
scheme@(guix gnu-maintenance)> (latest-release "mit-scheme")
$4 = ("mit-scheme-9.1.1" . "/gnu/mit-scheme/stable.pkg/9.1.1")
scheme@(guix gnu-maintenance)> (latest-release "glibc")
$5 = ("glibc-2.17" . "/gnu/glibc")
scheme@(guix gnu-maintenance)> (map latest-release (take 
(official-gnu-packages) 5))
$6 = (#f ("a2ps-4.14" . "/gnu/a2ps") ("acct-6.5.5" . "/gnu/acct") ("acm-5.1" . 
"/gnu/acm") ("adns-1.3" . "/gnu/adns"))
--8<---------------cut here---------------end--------------->8---

This is basically code I had written for Nixpkgs [0,1] to have an
auto-updater for GNU packages.

The rest of the code to have an auto-updater will have to be adjusted.
Perhaps something for after 0.1.  :-)

Ludo’.

[0] 
https://github.com/NixOS/nixpkgs/blob/master/maintainers/scripts/gnu/gnupdate
[1] http://thread.gmane.org/gmane.linux.distributions.nixos/3811



reply via email to

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