-
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
JST SH: Add suction cap MPNs and device name prefix #6
JST SH: Add suction cap MPNs and device name prefix #6
Conversation
I see it's the "non-canonical file" CI issue again, I thought I fixed it but forgot to run the librepcb-cli locally to verify. Will push an update. Edit: Fixed now |
Convert line endings from dos to unix for dot prefixed files, e.g. ".librepcb-pkg"
Ah, I suspect you are the first person using Probably lines like this (in the entity classes): with open(path.join(dir_path, '.librepcb-dev'), 'w') as f: would need to be changed to this: with open(path.join(dir_path, '.librepcb-dev'), 'w', newline='\n') as f: to make it working correctly on Windows. |
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.
Diff looks good, thank you! 🎉
Yes, your suspicion is correct 😄 But usually git converts the line endings to LF upon commiting since I have Anyway, thanks for review & merge! |
No, IMHO it's the responsibility of the tool (in this case |
SUMMARY
This PR adds:
See LibrePCB/librepcb-parts-generator#131 for the corresponding changes in the generator script
DATASHEETS / REFERENCES
none
OPEN QUESTIONS / UNRESOLVED ISSUES
none
CHECKLIST
¹ Library Conventions: https://docs.librepcb.org/#libraryconventions
² Minor version bump if only metadata was modified (e.g. "0.1" -> "0.1.1"), major version bump if functional changes were made (e.g. "0.1" -> "0.2")
³ CC0 Public Domain License: https://en.wikipedia.org/wiki/CC0