sagemath/sage

Add one file build/pkgs/*/repology.txt per spkg

Closed this issue · 30 comments

slel commented

We add a files repology.txt for each "SPKG" with its
name or names on repology.org.

This can save time when

  • adding package information for an already supported or new distro
  • checking for new versions of packages

We make ./sage -info packagename print out
the resulting links to repology.

Thus they are also formatted as part of the SPKG documentation
that goes into the reference manual (#29655).

Depends on #29655
Depends on #30944

CC: @mkoeppe @slel @dimpase @seblabbe

Component: porting

Keywords: repology

Author: Samuel Lelièvre, Matthias Koeppe

Branch/Commit: c590a13

Reviewer: Matthias Koeppe, Dima Pasechnik

Issue created by migration from https://trac.sagemath.org/ticket/31114

slel commented
comment:1

If that sounds interesting, I can add that information.

comment:2

Good idea. The package name is probably enough

slel commented

Commit: 2d9166c

slel commented

Description changed:

--- 
+++ 
@@ -1,6 +1,7 @@
-It would be nice to have a file `repology.txt` for each "spkg",
-with the package's name on [repology.org](https://repology.org)
-and/or the url for getting information about this package there.
+We add a files `repology.txt` for each "SPKG" with its
+name or names on [repology.org](https://repology.org).
 
-This would save time when adding package information for any
-already supported or new distro.
+This can save time when
+
+- adding package information for an already supported or new distro
+- checking for new versions of packages
slel commented

New commits:

2d9166ct-31114 Add repology package information
comment:5

Great! I will add some code to format it as part of our generated documentation

Dependencies: #29655

Changed commit from 2d9166c to f00af7d

Description changed:

--- 
+++ 
@@ -5,3 +5,8 @@
 
 - adding package information for an already supported or new distro
 - checking for new versions of packages
+
+`./sage -info` prints out the resulting links to repology
+
+Thus they are also formatted as part of the SPKG documentation that goes into the reference manual (#29655).
+

Author: Samuel Lelièvre, Matthias Koeppe

Reviewer: Matthias Koeppe, ...

Last 10 new commits:

23558f8build/pkgs/[t-z]*/SPKG.rst: Reformat title in format 'spkg_name: Short description' -- completes coverage of all standard packages
17789dfbuild/pkgs/[z-z]*/SPKG.rst: Reformat title in format 'spkg_name: Short description' -- completes coverage of all optional packages
944408dbuild/pkgs/[a-z]*/SPKG.rst: Reformat title in format 'spkg_name: Short description' -- completes coverage of all experimental packages
feafa60src/doc/en/installation/standard_packages.rst: Remove
58c63e1src/doc/bootstrap: Add brief explanation of the standard/optional/experimental package types
54d4fb1extra line after version
2eac7a1src/doc/bootstrap: Use sage-spkg-info directly instead of 'sage --info', much faster now
3fe8d4csrc/sage/tests/cmdline.py: Adjust doctests
dacdcf9Merge branch 't/29655/improve_build_pkgs___spkg_rst' into t/31114/repology
f00af7dbuild/bin/sage-print-system-package-command, build/bin/sage-spkg-info: Print repology links
slel commented
comment:8

Thanks for the rebase and the extra functionality.

slel commented

Description changed:

--- 
+++ 
@@ -6,7 +6,9 @@
 - adding package information for an already supported or new distro
 - checking for new versions of packages
 
-`./sage -info` prints out the resulting links to repology
+We make `./sage -info packagename` print out
+the resulting links to repology.
 
-Thus they are also formatted as part of the SPKG documentation that goes into the reference manual (#29655).
+Thus they are also formatted as part of the SPKG documentation
+that goes into the reference manual (#29655).
 
slel commented

Changed keywords from none to repology

Branch pushed to git repo; I updated commit sha1. New commits:

49ad8aesrc/sage/tests/cmdline.py: Adjust doctest properly
c0cdd8cMerge branch 't/29655/improve_build_pkgs___spkg_rst' into t/31114/repology

Changed commit from f00af7d to c0cdd8c

comment:11

lgtm

Changed reviewer from Matthias Koeppe, ... to Matthias Koeppe, Dima Pasechnik

comment:13

Thanks!

comment:14

Merge conflict

Changed dependencies from #29655 to #29655, #30944

Changed commit from c0cdd8c to c3e7386

Branch pushed to git repo; I updated commit sha1. Last 10 new commits:

571cc49Merge branch 't/30947/src_doc_bootstrap__simplify_by_using_new_options_of__sage__package_list_' into t/29124/script-packages-prereq-toolchain-bootstrap
f7ff30cMerge branch 't/29124/script-packages-prereq-toolchain-bootstrap' into t/30944/tox__improve_local_sudo_ubuntu_standard
c529729Merge commit '3bb309944b7e8542b2ac88ed3c9d9a60e68644d7' of git://trac.sagemath.org/sage into t/29124/script-packages-prereq-toolchain-bootstrap
b73d6f0Merge tag '9.3.beta4' into t/29124/script-packages-prereq-toolchain-bootstrap
e9ca2c1Merge branch 't/29124/script-packages-prereq-toolchain-bootstrap' into t/30944/tox__improve_local_sudo_ubuntu_standard
a44042fMerge branch 't/30940/src_bin_sage_list_packages__make_it_work_if_sage_root_is_not_available' into t/29124/script-packages-prereq-toolchain-bootstrap
c7bcda9Merge branch 't/30940/src_bin_sage_list_packages__make_it_work_if_sage_root_is_not_available' into t/29124/script-packages-prereq-toolchain-bootstrap
9988c5fci-cygwin*.yml: Adjust to new script packages _bootstrap, _prereq
ab19133Merge branch 't/29124/script-packages-prereq-toolchain-bootstrap' into t/30944/tox__improve_local_sudo_ubuntu_standard
c3e7386Merge branch 't/30944/tox__improve_local_sudo_ubuntu_standard' into t/31114/repology

Changed commit from c3e7386 to c590a13

Branch pushed to git repo; I updated commit sha1. New commits:

c590a13Merge tag '9.3.beta6' into t/31114/repology
comment:19

Opened repology/repology-updater#1118 to see if there is interest in adding the SageMath distribution on repology

Changed branch from u/mkoeppe/repology to c590a13