Am 30.06.22 um 13:58 schrieb Ludovic Courtès:
Excellent. If you want, you can ping me for early comments on the
<updater> API for this.

Thanks for offering this, I appreciate.

I pushed my current working state to wip-import-version. The branch also contains some patches from bug56295 (Add some Chicken eggs and fix egg importer) and bug56318 (Fix github updater).

Basic ideas

 * Add a keyword argument „version“ to all “latest-X-release” functions
   and eventually pass it on to called functions.
 * Minimal changes

Here is a list of updaters and packages to test the import-specific-version:

+crate: [email protected]
+egg: testing requires new packages (see bug56295),
      changing version of “chicken-args” to 1.6.0 in chicken.scm and
      test updating to [email protected]
+generic-git (import/git): [email protected]
+generic-html (gnu-maintenance): [email protected]
+github: [email protected]
+gnome: [email protected]
+gnu (gnu-maintenance): [email protected]
+gnu-ftp (gnu-maintenance): [email protected]
+hexpm: testing requires changing version in erlang.scm
       erlang-relx to 4.5.0 and test updating to [email protected]
+kde: [email protected]
+kernel.org (gnu-maintenance) = html: [email protected]
+launchpad: testing requires changing version in terminals.scm
           sakura to 3.8.0 and testing upate to [email protected]
+pypi: [email protected]
+savannah (gnu-maintenance) = html: [email protected]
+xorg (gnu-maintenance) = ftp : [email protected]


These updaters report an error that they can't update to a specific version, if a version is given:

?bioconductor (cran.scm) -- repo supports latest version only
?cran -- repo supports latest version only
          old version available in
https://cran.r-project.org/src/contrib/Archive/PACKAGENAME
-cpan  --- no version, not recursive
-elm  -- no updater
-elpa  --- no version
-gem  --- no version
-hackage  --- no version
-minetest  --- no version
-opam  --- no version
-sourceforge (gnu-maintenance) -- to complicated
-json  -- n/a
-texlive  --- no version, not recursive, no updater

Not yet implemented — unclear how to handle:

# stackage  --- LTS version

Still missing:

 * Finishing commit messages
 * Documentation?
 * For the final commit, I'll squash the commits.

--
Regards
Hartmut Goebel

| Hartmut Goebel          | [email protected]               |
| www.crazy-compilers.com | compilers which you thought are impossible |


Reply via email to