-
-
Notifications
You must be signed in to change notification settings - Fork 657
Do not create spkg-*.log
, spkg-*.time
files
#38026
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
Conversation
Documentation preview for this PR (built with commit bfb292a; changes) is ready! 🎉 |
There is some code duplication. Would it make any sense to have a function that would replace each instance like
by a call to a function defined by something like
? (not tested) |
I've made it less verbose in a different way, please take a look |
It seems that some of |
If any are still generated with this PR, that's a bug. Is this what you observed? |
I think there should be some explanation why you introduced the log files and why you think now they are not useful... |
I don't have a better explanation than what I wrote in the ticket description: "I used sage-logger for prefixing output; generating the log/time files was a side effect, which has not proven to be useful" |
|
I looked #37391 again. Right, you didn't add the logging feature. As you said, it is a side-effect of using OK. I misunderstood the situation. Sorry. |
No worries, these are all the right questions to ask! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Working well. LGTM.
Thank you! |
sagemathgh-38026: Do not create `spkg-*.log`, `spkg-*.time` files <!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes sagemath#12345". --> - Clean up after sagemath#37391, which used `sage-logger` for prefixing output; generating the log/time files was a side effect, which has not proven to be useful - Fixes sagemath#37887 @jhpalmieri ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> - Depends on sagemath#37840 (merged here) URL: sagemath#38026 Reported by: Matthias Köppe Reviewer(s): Kwankyu Lee, Matthias Köppe
sage-logger
for prefixing output; generating the log/time files was a side effect, which has not proven to be useful📝 Checklist
⌛ Dependencies
sage-logger
: Replace use of/usr/bin/time
by bash keywordtime
#37840 (merged here)