summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorYarl Baudig <yarl-baudig@mailoo.org>2026-02-28 13:39:37 +0100
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2026-03-19 07:27:20 +0100
commit80da50edf16e34303ec44972dff41d3d59a7193d (patch)
tree4b5279eec8d5ea86d40391f4855d71c49be46f20 /gnu
parenta9dc4b996f0d4d0c7467cb486e3aa052cfaee9d9 (diff)
import/elpa: Fix some GNU-devel imports.
elpa-version->string construct the version (needed later to construct the full package name to fetch the archive...) from the version numbers given as a list from archive-contents. This list representation is documented in emacs's version-to-list and version-regexp-alist docstrings. In these list, A negative integer specify a non-numeric part of a version. Different non-numeric may lead to the same negative integer (e.g. 1.2.CVS, 1.2cvs, 1.2_Cvs, ...). If there is a negative integer, we need to gather more information because the list version present in archive-contents is not enough to reconstruct the archive address. We parse the ATOM feed at elpa.gnu.org/devel/PACKAGE.xml Tested on all packages. only loc-changes does not have an ATOM feed. * guix/import/elpa.scm (elpa-version->string): New repo and name arguments, use version-from-elpa-devel-feed if needed. (fetch-elpa-package): Upgrade elpa-version->string call. (latest-release): Same. (version-from-elpa-devel-feed): New function. Change-Id: Ic446d81593d9e6422c20a1ac427438e540e963b0 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions