GNU bug report logs -
#74542
[PATCH 00/11] Improved tooling for package updates
Previous Next
Reported by: Ludovic Courtès <ludo <at> gnu.org>
Date: Tue, 26 Nov 2024 10:33:01 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hi,
On Tue, 26 Nov 2024 at 11:33, Ludovic Courtès <ludo <at> gnu.org> wrote:
> +(define leaf-package-updates
> + ;; Select a subset (~22%) of all the leaf packages, typically small C/C++
> + ;; packages not part of a bigger "collection" or repo (CRAN, PyPI, etc.).
> + (manifest
> + (filter-map (lambda (package)
> + (and (memq (package-build-system package)
> + (list gnu-build-system cmake-build-system))
> + (package-with-upstream-version (pk 'up package))))
> + (leaf-packages))))
I would be finer here. For instance, the manifest contains the same
package at several versions, i.e., ’package-with-upstream-version’
applies to the same package at different version. Slurm is one example
among many others:
--8<---------------cut here---------------start------------->8---
scheme@(guix-user)> ,pp (sort
(map
(lambda (p) `(,(package-name p) . ,(package-version p)))
(filter-map
(lambda (package)
(and (memq (package-build-system package)
(list gnu-build-system cmake-build-system))
package))
(leaf-packages)))
(lambda (p1 p2)
(match p1 ((n1 . _) (match p2 ((n2 . _) (string< n1 n2)))))))
[...]
("slurm" . "20.11.9")
("slurm" . "20.02.6-1")
("slurm" . "23.02.6")
("slurm" . "21.08.8")
("slurm" . "22.05.1")
("slurm" . "19.05.8")
("slurm" . "18.08.9")
("slurm-drmaa" . "1.1.3")
("slurm-minimal" . "20.02.6-1")
("slurm-minimal" . "22.05.1")
("slurm-minimal" . "23.02.6")
("slurm-minimal" . "21.08.8")
("slurm-minimal" . "18.08.9")
("slurm-minimal" . "20.11.9")
("slurm-minimal" . "23.11.10")
("slurm-minimal" . "19.05.8")
[...]
--8<---------------cut here---------------end--------------->8---
Cheers,
simon
This bug report was last modified 169 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.