#463 closed enhancement (fixed)
[with patch; positive review] sage -upgrade: "sage -upgrade URL" will install all *newer* spkg's from the given URL, which can also be a local directory
Reported by: | was | Owned by: | was |
---|---|---|---|
Priority: | major | Milestone: | sage-3.2.1 |
Component: | packages: standard | Keywords: | |
Cc: | Merged in: | ||
Authors: | Reviewers: | ||
Report Upstream: | Work issues: | ||
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
[12:25] <william> interesting feature idea: [12:25] <william> extend the "sage -upgrade" command so you an give the directory or URL [12:26] <william> of any other installed version of SAGE, and it will pull everything from there. [12:26] <william> install any newer spkg's and pull from any active repo. [12:26] <malb> definitely nice for sysadmins I guess
Attachments (6)
Change History (14)
comment:1 Changed 14 years ago by
- Milestone set to Sage-2.10
comment:2 Changed 12 years ago by
- Summary changed from sage -upgrade: make it more flexible to sage -upgrade: "sage -upgrade URL" will install all *newer* spkg's from the given URL, which can also be a local directory
Changed 12 years ago by
comment:3 Changed 12 years ago by
- Summary changed from sage -upgrade: "sage -upgrade URL" will install all *newer* spkg's from the given URL, which can also be a local directory to [with patch; needs review] sage -upgrade: "sage -upgrade URL" will install all *newer* spkg's from the given URL, which can also be a local directory
To test this out try:
On an older sage install
sage -upgrade # should do a standard upgrade to the latest version of sage
On a new sage install
sage -upgrade http://sage.math.washington.edu/home/was/build/sage-3.2.1.alpha1
to upgrade to the latest devel version.
Changed 12 years ago by
Changed 12 years ago by
comment:4 Changed 12 years ago by
Apply these to 3.2.1.alpha1:
sage-463.patch scripts-463-rebase-3.1.alpha1.patch scripts-463-rebase-3.2.1.alpha1-part2.patch
comment:5 Changed 12 years ago by
- Summary changed from [with patch; needs review] sage -upgrade: "sage -upgrade URL" will install all *newer* spkg's from the given URL, which can also be a local directory to [with patch; positive review] sage -upgrade: "sage -upgrade URL" will install all *newer* spkg's from the given URL, which can also be a local directory
The three patches listed above look good to me.
As William pointed out in IRC one can downgrade in which case a whole set of spkgs will be downloaded and then nothing is installed, but I am fine with that behavior. That might be fixed via some future ticket, but I don't think we should support downgrading.
Cheers,
Michael
comment:6 Changed 12 years ago by
- Resolution set to fixed
- Status changed from new to closed
Merged in Sage 3.2.1.alpha2
Changed 12 years ago by
Changed 12 years ago by
comment:7 Changed 12 years ago by
Merged scripts-463-part3.patch and sage-463-part2.patch in Sage 3.2.1.alpah2
comment:8 Changed 12 years ago by
And we merged on more fix: turn -br into -b
Cheers,
Michael
somewhat orthogonal -- changes to use "sage -br" instead of "sage -ba" on upgrade. apply to sage repo.