Repository navigation
Custom metadata field - #594
Merged
Merged
Conversation
qu1ck
requested changes
Oct 15, 2026
| 'highlight_pin1', 'redraw_on_drag', 'board_rotation', 'checkboxes', | ||
| 'bom_view', 'layer_view', 'offset_back_rotation', | ||
| 'kicad_text_formatting', 'mark_when_checked' | ||
| 'kicad_text_formatting', 'mark_when_checked', 'custom_metadata_field' |
Member
There was a problem hiding this comment.
Name it same as flag, just custom_metadata
| 'do not populate status. Components with ' | ||
| 'this field not empty will be excluded.') | ||
| parser.add_argument('--custom-metadata', default='', | ||
| help='Custom metadata as a JSON string. Gets ' |
Member
There was a problem hiding this comment.
Change the description to reflect that it does not have to be JSON, just an arbitrary string data.
added 2 commits
October 15, 2026 11:11
Helpstring was constraining metadata to JSON format which is not necessary. Plain strings could also be used here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As discussed in #593 , a new metadata field is created to be able to pass a JSON string to ibom. This string can be used to add metadata (i.e. drawing-number or engineer name) to the ibom using the customization feature. The user-file-examples
user.jsanduserheader.htmlwere extended to serve as examples for this new metadata field.