sagemath/sage

Developers' guide: Update "Packaging Third-Party Code" regarding upstream_url

Closed this issue · 13 comments

New commits:

8d07bb5src/doc/en/developer/packaging.rst: Mention upstream_url

Commit: 8d07bb5

Author: Matthias Koeppe

comment:4

this is a bit off-topic:

Is there away to minimize checking of mirrors for tarballs that aren't there; if one adds an upstream_url, and starts installing this package, then it takes long time for Sage to discover that the tarball is not on mirrors, before using upstream_url.

comment:5

Replying to @dimpase:

Is there away to minimize checking of mirrors for tarballs that aren't there; if one adds an upstream_url, and starts installing this package, then it takes long time for Sage to discover that the tarball is not on mirrors, before using upstream_url.

You can edit the file upstream/mirror_list.

comment:6

Can you add after

+--enable-download-from-upstream-url``.  Then Sage will fall back to
+downloading package tarballs from the ``upstream_url``.  It is then no
+longer necessary to manually download upstream tarballs.

something like

One can manually trim `upstream/mirror_list` to fewer mirrors so that the fallback
happens quicker.

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

86e048fsrc/doc/en/developer/packaging.rst: Trimming mirror list

Changed commit from 8d07bb5 to 86e048f

comment:8

bot is green for the doc changes.

Reviewer: Sébastien Labbé

comment:9

Thanks!