-
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
Add JST SH pkg and dev #5
Add JST SH pkg and dev #5
Conversation
I am not quite sure why the CI fails 🤔 The following error is reported for all added files:
Chasing this down into the (hopefully) right librepcb-cli function, the following code seems to dislike my files: // Check for non-canonical files (strict mode)
if (strict) {
qInfo().noquote() << tr("Check '%1' for non-canonical files...")
.arg(prettyPath(fs.getPath(), libDir));
QStringList paths = fs.checkForModifications(); // can throw
if (!paths.isEmpty()) {
// sort file paths to increases readability of console output
std::sort(paths.begin(), paths.end());
printErrorHeaderOnce();
foreach (const QString& path, paths) {
printErr(QString(" - Non-canonical file: '%1'")
.arg(prettyPath(fs.getAbsPath(path), libDir)));
}
success = false;
}
} But I am not sure what it does except for checking the transactional filesystem for modifications... Maybe someone could give me some pointers? 😄 |
It means the generated files are not formatted the way LibrePCB would format them. Just open one of the new library elements in LibrePCB, save it to disk (without modifications) and then check the diff with Git. |
Alright, should be fixed 😄 |
Great, thank you! 🎉 Btw, if you make an update to add the additional MPNs some day: I just saw the device names should be prefixed with "JST " (the library name "JST" does not act as a namespace for the contained devices) so that could be done then as well. But let's ignore that for now... |
Awesome, I'll add the MPNs and the "JST " prefix in upcoming PRs |
SUMMARY
Add JST SH (SM and BM variants) pkg and dev generated by LibrePCB/librepcb-parts-generator#127
DATASHEETS / REFERENCES
https://jst.de/file/download/925/sh-connector
OPEN QUESTIONS / UNRESOLVED ISSUES
empty
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