-
Notifications
You must be signed in to change notification settings - Fork 19
feat: SBOM Aliases #129
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
feat: SBOM Aliases #129
Conversation
Signed-off-by: Philippe <philippe.a.aviles@lmco.com>
Signed-off-by: Philippe <philippe.a.aviles@lmco.com>
Signed-off-by: Philippe <philippe.a.aviles@lmco.com>
Signed-off-by: Philippe <philippe.a.aviles@lmco.com>
|
Please change PR title to start with |
Signed-off-by: Philippe <philippe.a.aviles@lmco.com>
…aliases Signed-off-by: Philippe <philippe.a.aviles@lmco.com>
Signed-off-by: Philippe <philippe.a.aviles@lmco.com>
Signed-off-by: Philippe <philippe.a.aviles@lmco.com>
Signed-off-by: Philippe <philippe.a.aviles@lmco.com>
Signed-off-by: Philippe <philippe.a.aviles@lmco.com>
Signed-off-by: Philippe <philippe.a.aviles@lmco.com>
Signed-off-by: Philippe <philippe.a.aviles@lmco.com>
Signed-off-by: Philippe <philippe.a.aviles@lmco.com>
Signed-off-by: Philippe <philippe.a.aviles@lmco.com>
Signed-off-by: Philippe <philippe.a.aviles@lmco.com>
Signed-off-by: Philippe <philippe.a.aviles@lmco.com>
Signed-off-by: Philippe <philippe.a.aviles@lmco.com>
Signed-off-by: Philippe <philippe.a.aviles@lmco.com>
|
With upcoming changes to protobom/storage and #68, let's add constants in db.go such as const (
BomctlAnnotationAlias string = "bomctl_annotation_alias"
BomctlAnnotationLabel string = "bomctl_annotation_label"
) |
|
Please update the README.md that includes the command instructions. |
Signed-off-by: Philippe <philippe.a.aviles@lmco.com>
Signed-off-by: Philippe <philippe.a.aviles@lmco.com>
Signed-off-by: Philippe <philippe.a.aviles@lmco.com>
Signed-off-by: Philippe <philippe.a.aviles@lmco.com>
Signed-off-by: Philippe <philippe.a.aviles@lmco.com>
|
In the |
Signed-off-by: Philippe <philippe.a.aviles@lmco.com>
Signed-off-by: Philippe <philippe.a.aviles@lmco.com>
Signed-off-by: Philippe <philippe.a.aviles@lmco.com>
ashearin
left a comment
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.
I would like to see the width of bomctl list be dynamic to allow it to show the entirety of the alias, but that is work for a future issue.
I agree. In the meantime, with this change we have an ellipsis as a visual indicator when aliases get truncated inside the |
jhoward-lm
left a comment
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.
I think we should probably merge #157 first, but in general we need to start putting a blank line between header and package declaration. We also need to come up with a way to translate backslashes to forward slashes in header paths
Signed-off-by: Philippe <philippe.a.aviles@lmco.com>
Signed-off-by: Philippe <philippe.a.aviles@lmco.com>
Signed-off-by: Philippe <philippe.a.aviles@lmco.com>
Signed-off-by: Philippe <philippe.a.aviles@lmco.com>
ashearin
left a comment
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.
Looks great!
…aliases Signed-off-by: Philippe <philippe.a.aviles@lmco.com>
jhoward-lm
left a comment
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.
Good work, thanks!
Pull Request
Description
This change adds support for SBOM aliases and tags.
The following commands have been added:
The following options were added to the fetch command:
The following options were added to the import command:
The following option was added to the list command:
The following option was added to the merge command:
Additionally, the export, list, fetch, merge, and push commands were modified to also use aliases as IDs.
Fixes #65
Type of change
How Has This Been Tested?
Manually tested each command with different input.
Checklist