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
Error checking in sage-spkg #18428
Comments
This comment has been minimized.
This comment has been minimized.
Author: Volker Braun |
Commit: |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:5
Surely, this is wrong:
|
comment:6
Why this?
Why is it a problem if output is buffered? (I am a bit worried about performance implications, since this is passed to every Python script run during the installation of Sage). |
comment:7
And I also don't understand why you remove some of the
branches. |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:9
The problem with buffering is that network connections might take a while, and the last message on the screen should be flushed to indicate what we are doing. The first INFO branch is about checking whether the tarball is already downloaded, which is now done by sage-download file. The second INFO branch is just printing logs, and I moved that to the relevant place. |
comment:10
Replying to @vbraun:
Of course, that can be done with Regarding this, I also don't think that |
comment:11
Not sure I follow, Probably the best solution would be to subclass the stdout stream to a version that always flushes. But sage-download-file is already too many loc. I'm thinking to refactor it into a python package (say, |
comment:12
Can we just move the buffering stuff to a new ticket and focus on the "more urgent issues first" then? |
comment:13
Sure, it just simplifies analyzing problems if the last log message is actually on the screen. |
comment:14
Replying to @vbraun:
Well, I guess we are already assuming |
comment:15
But that is only used during the initial build, and not when running |
comment:16
Replying to @vbraun:
Right indeed. |
Changed branch from u/vbraun/error_checking_in_sage_spkg to u/jdemeyer/error_checking_in_sage_spkg |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
Reviewer: Jeroen Demeyer |
comment:22
needs review... |
Changed branch from u/jdemeyer/error_checking_in_sage_spkg to |
Component: build
Author: Volker Braun
Branch/Commit:
69a501d
Reviewer: Jeroen Demeyer
Issue created by migration from https://trac.sagemath.org/ticket/18428
The text was updated successfully, but these errors were encountered: