-
-
Notifications
You must be signed in to change notification settings - Fork 480
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
Undo the breaking of old-style packages #19158
Comments
Dependencies: #19101 |
comment:2
IMHO the only thing that needs to be done is make chomp a new-style package. The mixture of old and new packages has always been broken. Let it die. We can support old packages as legacy but not mash it up with new packages in an utterly confusing manner to users. |
comment:3
|
comment:4
|
comment:5
Replying to @vbraun:
The fact that |
comment:6
That (1) The chomp spkg actually doesn't compile with modern gcc due to tighter C++ checking
|
comment:7
Replying to @vbraun:
Agreed. But #19004 wasn't the right fix.
This ticket isn't about |
comment:8
IMHO we should have removed old spkgs a long time ago. It was ok during the transition period but has been causing us constant pain since then. We are much better of with #19004 than without. For every old-style package that you might actually want to install I can name you ten that are going to get in the way if you accidentally install them. |
comment:9
Replying to @vbraun:
But we didn't, so we are currently stuck with them.
Maybe, but like I said: #19004 isn't the solution. The solution is warning users that they are installing old-style packages with a proper deprecation warning. |
comment:10
Replying to @jdemeyer:
No, the solution is to not install broken/deprecated packages. Or, rather, make it difficult enough so that nobody does it accidentally. |
Branch: u/jdemeyer/ticket/19158 |
Commit: |
Author: Jeroen Demeyer |
comment:13
I'm against |
comment:15
You can install old-style packages, they just aren't searched for. If you want to try to compile chomp just run e.g.
|
comment:16
Replying to @vbraun:
That's "you can" for a very dubious value of "can". To users, it really looks like the package is completely gone. |
This comment has been minimized.
This comment has been minimized.
comment:18
And thats good because they are either huge nuisances (like "python") or just broken. |
comment:19
We obviously cannot resolve this here, so I'm writing to sage-devel. |
comment:20
As I said on #19105, you shouldn't search "standard" packages on-line. |
comment:21
Replying to @jhpalmieri:
Sure, that's an easy change (although not very relevant if we merge #19105). But I'm confused by your comment. Does it imply you're in favour of this ticket now? |
comment:22
I don't think I ever said I wasn't in favor of it. My last post on the sage-devel thread said, "I could also be easily persuaded to (B) if we don't allow "sage -i python" to install the old python-2.5 package." |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:24
Replying to @jhpalmieri:
Great! My last commit does that, since we no longer look for standard packages:
|
comment:25
Given William Stein's support, I am still very convinced that we should move forward with this ticket. |
comment:26
I was able to install (old-style) chomp without any problems with this ticket. Moreover it doesn't let me install python. Overall I'm ready to set this to positive review except for an interface question. Could we add an option to the warning that if the user presses Y or enter (after perhaps a mandatory 5 second reading period) that the old-style spkg installs? If this is too difficult, then could we drop the sleep to 15 seconds or so (it's not that long of a message)? |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:28
LGTM. Thanks! |
Reviewer: Travis Scrimshaw |
comment:29
Urgh thats so ugly I just threw up in my mouth a little. Ever wondered why none of the gnu coreutils does the ask + timeout? I expect you to fix the topcom/TOPCOM issue and do something about the totally broken packages. |
comment:30
Replying to @vbraun:
See #19220 for |
comment:31
Python is handled on #19105. |
comment:32
Well somebody has to go through the list. Fun things:
And by "somebody", I mean somebody who was is favor of this ticket. |
Changed branch from u/jdemeyer/ticket/19158 to |
Ticket #19004 has the very user-unfriendly consequence that all old-style packages are effectively gone:
Instead of removing support for old-style packages, we should deprecate them.
Depends on #19101
CC: @nathanncohen @vbraun @jhpalmieri
Component: scripts
Author: Jeroen Demeyer
Branch/Commit:
3dda704
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/19158
The text was updated successfully, but these errors were encountered: