-
-
Notifications
You must be signed in to change notification settings - Fork 200
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
Simple maintenance improvements #1167
Conversation
Can you elaborate on this? Just for the purpose of personal education. |
Some (arguably badly-behaving, though standards respecting) editors and other tools will not display the final line if it is not terminated by a newline, due to it not being posix compliant. For example, run the file through Similarly, if you wanted to append some text to the file, using shell redirection for example, it will end up with breakage because the first line of appended text will be put as a continuation of last "line" of old text instead of below it. Other breakage I've seen is editors wrapping text at wrong points because they consider trailing whitespace to be part of the last word. Last but not least, github and git itself complain about it. |
Do you want to sign your commits? Otherwise, I can overwrite the repository-wide role to only accept GPG signed commits. |
Thanks for the tip, I'll look into that (it was on my todo list anyway to investigate gpg signing commits). In the meantime, feel free to do whatever you wish with this PR, commit it in your own name without attribution if that helps, I really don't mind. |
We're neither in a rush nor is this fixing any security related stuff. Hence, we have the time to wait until you are ready. Take your time. |
I've done some testing and came up with an interesting question that I don't know the answer to.
Would it therefore cause any issues for pi-hole/FTL if I removed the gpg key at some point in the future, and my commits would show up as unverified? |
No, not if your commits already hit But why would you delete the key from GitHub? If you are worried about loosing it (because of a data catastrophe) you can do either:
|
Signed-off-by: a1346054 <[email protected]>
Signed-off-by: a1346054 <[email protected]>
I gpg-signed the commits now. Thank you for bringing this to my attention, I learned a lot. |
By submitting this pull request, I confirm the following:
How familiar are you with the codebase?: 4
Contains whitespace fixes that make some editors deal with the content better.