Skip to content

build/pkgs/*/checksums.ini: Add upstream_url field #26351

@mkoeppe

Description

@mkoeppe

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions