-
-
Notifications
You must be signed in to change notification settings - Fork 654
Closed
Milestone
Description
This is to make testing tickets that include SPKG upgrades easier for developers and patchbots.
To add the upstream_url
field, just edit checksums.ini
or use the new option --url
of sage -package create
:
$ ./sage -package create --help
usage: sage --package create [-h] [--version VERSION] [--tarball TARBALL]
[--type TYPE] [--url URL]
[package_name]
[...]
--tarball TARBALL Tarball filename pattern, e.g. Foo-VERSION.tar.bz2
--type TYPE Package type
--url URL Download URL pattern, e.g. http://example.org/Foo-
VERSION.tar.bz2
The default behavior of sage -i
is not changed: Packages are only downloaded from the Sage mirrors.
To allow downloading from the upstream URL, use sage -i --allow-upstream SPKG
.
Example (for qepcad) at #28388.
CC: @embray @dimpase @vbraun @jhpalmieri @tscrim
Component: build
Author: Matthias Koeppe
Branch: 537210d
Reviewer: Erik Bray
Issue created by migration from https://trac.sagemath.org/ticket/26351