-
Notifications
You must be signed in to change notification settings - Fork 1
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
Propagate .gitattributes
to Nextstrain pathogen repos
#46
Comments
Done for |
@genehack raised a question in the Nextstrain dev chat of whether forcing LF line endings could cause unexpected behavior for Windows users outside of Docker. @victorlin is exploring behaviors with |
I just tried some different scenarios detailed below. Let me know if you can think of other scenarios to test. TLDR: text files are handled properly with What does a Windows text editor do? I tested two common editors: Notepad (Windows version 21H1) and VS Code (1.90.2).
What does From git docs:
This seems to be accurate. Steps done to verify (all commands run on Windows PowerShell):
|
....and done! 🙌 |
Thanks for pushing this through to the end @genehack 🌟 |
We had a question Nextstrain office hours where a user was running into an error with the curate rule in the ingest workflow:
@genehack flagged that this is likely an issue with line endings in Slack, which reminded me that we added
.gitattributes
in #37 for this exact reason!We should propagate the
.gitattributes
file to all the Nextstrain pathogen repos so that Window's users are less likely to run into this error.TODOs
Pathogen repos from https://github.com/search?q=topic%3Apathogen+topic%3Anextstrain&type=repositories
Other pathogen repos:
Following .gitattribute docs to normalize line endings of existing files in repos.
The text was updated successfully, but these errors were encountered: