-
-
Notifications
You must be signed in to change notification settings - Fork 553
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
Cleanup spkg-configure.m4 files that mix tabs and spaces #31528
Comments
comment:1
Sage development has entered the release candidate phase for 9.3. Setting a new milestone for this ticket based on a cursory review of ticket status, priority, and last modification date. |
comment:2
Previous related tickets:
This shell command spots files with tabs $ git grep $'\t' . | cut -f 1 -d ":" | uniq \
| grep -v Make | grep -v -e '^Binary' | grep -v patches In Sage 9.3 it reveals:
|
This comment has been minimized.
This comment has been minimized.
comment:4
here is a branch New commits:
|
Commit: |
Branch: u/chapoton/31528 |
Author: Frédéric Chapoton |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:7
Thanks Frédéric for this branch. Would someone who knows about spkg-configure.m4 |
comment:8
The m4 and C-language changes all look fine to me at first glance. I'm probably responsible for a few of the tabs in spkg-configure.m4, but I do indeed prefer spaces when I'm paying attention. Are magma and GP whitespace-insensitive too? |
comment:9
I think that gp does not care. No idea about magma, but it certainly does not require TABs. |
comment:10
I took a closer look and added two commits to fix the indentation where it was weird. There are still others, but I don't have time to go through and fix them all. They're not new issues. The GP change is OK too. I have no way to run the magma code, but since there are already spaces in that file, I guess it's unlikely that changing some existing tabs into more spaces will cause a problem. If someone can double-check my two new commits (which should contain only whitespace changes), please set to positive review after. |
Changed branch from u/chapoton/31528 to u/mjo/ticket/31528 |
Changed author from Frédéric Chapoton to Frédéric Chapoton, Michael Orlitzky |
Reviewer: Michael Orlitzky |
comment:11
Replying to @orlitzky:
In Is that intended? |
comment:12
Replying to @slel:
The "dnl" lines? Yeah, those were comments, believe it or not. |
Changed reviewer from Michael Orlitzky to Michael Orlitzky, Dima Pasechnik |
comment:13
lgtm |
comment:14
Setting to critical as this conditions work on |
Changed branch from u/mjo/ticket/31528 to |
The spkg-configure files for the following packages
mix tabs and spaces:
arb brial cmake flint gcc gfortran git gmp iml
ninja_build pari patch pcre ppl python3 symmetrica.
This ticket is to make them use spaces only.
Note however discussion at #13899 warns against
changing whitespace in a lot of files at once.
CC: @dimpase @embray @orlitzky @mkoeppe @slel
Component: build: configure
Author: Frédéric Chapoton, Michael Orlitzky
Branch/Commit:
f9e58da
Reviewer: Michael Orlitzky, Dima Pasechnik
Issue created by migration from https://trac.sagemath.org/ticket/31528
The text was updated successfully, but these errors were encountered: