-
-
Notifications
You must be signed in to change notification settings - Fork 702
Closed
Description
The current code in sage-spkg to determine which package to install and whether to download it is buggy and too complicated. Also get rid of calls to the newest_version script, get rid of the "download again" part (why was it needed?).
Changes in behaviour:
- When specifying a download URL, it will always download the file, even if a corresponding spkg exists locally. This allows for easier development of spkgs, because people often post updated spkgs with the same version number.
- "sage -f package" without a version number will use the most recent (by modification time) local spkg in spkg/standard or spkg/optional. Only if no such package exists, it will try to download it. This makes it consistent with "sage -f package-x.y.z" with a version number.
- Allow gzip compression (in addition to bzip2 and no compression) of spkgs.
Apply attachment: 12602_spkg_download.patch to the SAGE_ROOT repository.
Depends on #12479
CC: @jhpalmieri
Component: build
Author: Jeroen Demeyer
Reviewer: John Palmieri
Merged: sage-5.0.beta10
Issue created by migration from https://trac.sagemath.org/ticket/12602