Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#14538 closed enhancement (fixed)

Add support for "huge" packages

Reported by: jdemeyer Owned by: mvngu, schilly
Priority: major Milestone: sage-5.10
Component: website/wiki Keywords:
Cc: vbraun, schilly, leif Merged in: sage-5.10.beta2
Authors: Jeroen Demeyer Reviewers: Volker Braun
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description (last modified by jdemeyer)

Apparently, there is a list of huge packages. But these packages are not automatically searched when doing sage -i:

jdemeyer@tamiyo:/usr/local/src/sage-5.9.beta5$ ./sage -i stein-watkins-ecdb.spkg
Attempting to download package stein-watkins-ecdb
>>> Checking online list of optional packages.
[.]
>>> Checking online list of experimental packages.
[.]
>>> Checking online list of standard packages.
[.]
>>> Checking online list of archive packages.
[.]
Error: could not find a package matching stein-watkins-ecdb in http://www.sagemath.org/packages

We should

  1. add server-side support to make the page look like the other package pages.
  2. change the spkg/bin/sage-spkg script to support these packages.

Apply 14538_spkg_huge.patch to SAGE_ROOT

Attachments (1)

14538_spkg_huge.patch (3.1 KB) - added by jdemeyer 7 years ago.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 7 years ago by leif

  • Cc leif added

comment:2 Changed 7 years ago by jdemeyer

  • Authors set to Jeroen Demeyer
  • Description modified (diff)
  • Status changed from new to needs_review

Changed 7 years ago by jdemeyer

comment:3 Changed 7 years ago by jdemeyer

This works now:

$ export SAGE_SERVER='http://mirror.switch.ch/mirror/sagemath/'
$ ./sage -i 4ti2
Attempting to download package 4ti2
>>> Checking online list of optional packages.
[.]
>>> Found 4ti2-1.3.2.p1
>>> Downloading http://mirror.switch.ch/mirror/sagemath/spkg/optional/4ti2-1.3.2.p1.spkg.
...
$ ./sage -i stein-watkins-ecdb
Attempting to download package stein-watkins-ecdb
>>> Checking online list of optional packages.
[.]
>>> Checking online list of experimental packages.
[.]
>>> Checking online list of standard packages.
[.]
>>> Checking online list of huge packages.
[.]
>>> Found stein-watkins-ecdb
>>> Downloading http://www.sagemath.org/spkg/huge/stein-watkins-ecdb.spkg.
...
$ ./sage --info stein-watkins-ecdb
Attempting to get on-line info for package stein-watkins-ecdb
>>> Checking online list of optional packages.
[.]
>>> Checking online list of experimental packages.
[.]
>>> Checking online list of standard packages.
[.]
>>> Checking online list of huge packages.
[.]
>>> Found stein-watkins-ecdb
= stein-watkins-ecdb =
Last edited 7 years ago by jdemeyer (previous) (diff)

comment:4 Changed 7 years ago by vbraun

  • Reviewers set to Volker Braun
  • Status changed from needs_review to positive_review

Thanks, looks good to me!

comment:5 Changed 7 years ago by jdemeyer

  • Merged in set to sage-5.10.beta2
  • Resolution set to fixed
  • Status changed from positive_review to closed

comment:6 Changed 7 years ago by leif

I don't like the hardcoding of www.sagemath.org for huge spkgs.

Everyone is free to "mirror" whatever he/she likes, and especially for huge spkgs [unfortunately still manually] choosing an (alternate) near/fast server certainly makes even more sense.

(I know one could still specify the full URL to the spkg and just do sage -i <URL>, but that was possible before anyway.)


Is there at all a way (i.e., an option to sage) to list all available/archive[d]/huge spkgs?

IMHO sage --optional (which I don't like anyway, just like --experimental, so I wouldn't like sage --huge either) should [now] list huge spkgs as well, of course with a remark (or as a separate list/category).

comment:7 follow-up: Changed 7 years ago by dimpase

test, please ignore

comment:8 in reply to: ↑ 7 Changed 7 years ago by leif

Replying to dimpase:

test, please ignore

done

Note: See TracTickets for help on using tickets.