New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run sage-upgrade *outside* of the Sage shell #15517
Comments
Dependencies: #14715 |
This comment has been minimized.
This comment has been minimized.
Branch: u/jdemeyer/ticket/15517 |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Commit: |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:7
In theory, this needs_review, but I don't manage to test upgrading because I don't know what command line to give to |
comment:8
There is no need to name a temporary branch, you can just work with commits:
|
comment:9
The point is that I want to test the actual |
comment:10
No I get that, but I'm saying that the contraption in the |
comment:11
Replying to @vbraun:
Perhaps, but I guess Andrew wrote that, feel free to simplify it. |
Author: Jeroen Demeyer |
Changed branch from u/jdemeyer/ticket/15517 to u/vbraun/ticket/15517 |
comment:14
I've simplified the script and added the New commits:
|
Reviewer: Volker Braun |
comment:15
Andrew, can you review this please? |
comment:16
Why are you always upgrading to the current development version, unless otherwise specified? IMO this is a user feature, developers will just be using git directly, so I would argue that it should update to the latest released version by default (which is more or less what the old one was doing -- it just checked if you were on either a released tag, or the release branch). |
comment:17
There is no release branch yet. Has there been any decision on using (master, release) or (beta, master) or some variation of it? In any case, all we have to make sure NOW is that we can update 6.0 to a future version that fixes the update script... |
comment:18
Replying to @vbraun:
What I was imagining (although you are welcome to do whatever you wish) was that there would be a beta branch (or whatever you would want to call it) -- which would be our release candidate (i.e. only bug fix type things would get merged in here, and when the release manager is happy, it would become the next release). Secondly, when I initially wrote this (like 9 months ago), I was imagining only one release branch, however, I could easily imagine more in the future (e.g. 6.0.x, 6.1.x, etc.).
Sure. One other thing that I just noticed before I can hand off a positive review, is using origin as the remove server name. Why not just specify the actual repository, since we have no idea where origin would point to (if anywhere)? (i.e. |
comment:19
I wanted to use master as the release branch since we've been publicizing it for a while now. Checking out master should give you something that has a high probability of working ;-) Beta versions will go into develop. That also matches the git flow thing so far. There can be more short-lived branches but there is probably no need to publish those. About origin, I thought about it. But if origin does not point at our repository then you must have changed it yourself after checking out Sage. The update script shouldn't try to outsmart the user. |
comment:22
Sorry wrong button... needs review |
Changed reviewer from Volker Braun to Volker Braun, R. Andrew Ohana |
Running
make
inside a Sage shell doesn't really work well, becausesage-env
isn't resourced during the build. This breaks upgrading if new packages are installed in the upgrade which require environment variable changes. Most of the old work-arounds inspkg/install
removed in #14715 existed precisely for this reason.Now that nothing can upgrade to Sage 6.0, we should make sure that upgrading from Sage 6.0 doesn't suffer this problem.
Depends on #14715
CC: @vbraun @ohanar
Component: build
Author: Jeroen Demeyer
Branch/Commit: u/vbraun/ticket/15517 @
1f27435
Reviewer: Volker Braun, R. Andrew Ohana
Issue created by migration from https://trac.sagemath.org/ticket/15517
The text was updated successfully, but these errors were encountered: