GNU bug report logs -
#53818
[PATCH 0/3] Add Repology updater
Previous Next
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
This patchset adds a new updater, which scans Repology[1] for updates.
It should technically support all packages in Guix! :-)
The data on Repology isn’t as detailed as the one on language-specific
repos, e.g., PyPI, so the updater doesn’t support things like ‘input
changes’. If the source URL doesn’t contain the version verbatim[2], it
won’t be able reconstruct the URL of the updated version, meaning that
‘guix refresh -u’ won’t work.
Because of the way ‘%updaters’ in (guix upstream) works, the Repology
updater is the first or second updater that is used (since it
technically works on ever package), but because of the limitations I
mentioned above, the result might not always be the best. The Repology
updater is mostly useful for things that don’t already have an updater,
e.g., ‘maven-dependency-tree’. Would it make sense to hard-code the
‘%updaters’ variable and put the Repology last in the list?
[1]: <https://repology.org>
[2]: e.g., the version is “1.0.0” but the URL is
“https://example.org/1_0_0.tar.gz”
Xinglu Chen (3):
git-download: Export <git-reference>.
import: Add 'repology' updater.
gnu: xorg-server-xwayland: Set 'repology-name' property.
Makefile.am | 3 +
doc/guix.texi | 7 ++
gnu/packages/xorg.scm | 2 +
guix/git-download.scm | 3 +-
guix/import/repology.scm | 226 ++++++++++++++++++++++++++++++++++++++
tests/import-repology.scm | 145 ++++++++++++++++++++++++
6 files changed, 385 insertions(+), 1 deletion(-)
create mode 100644 guix/import/repology.scm
create mode 100644 tests/import-repology.scm
base-commit: 7c9ad54b0616112c7eea6dd02379616aef206490
--
2.34.1
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 3 years and 102 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.