-
Notifications
You must be signed in to change notification settings - Fork 593
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 file metadata cataloger #339
Conversation
756f51c
to
a68af76
Compare
a68af76
to
19f646e
Compare
Benchmark Test ResultsBenchmark results from the latest changes vs base branch
|
fde39e6
to
b5900e7
Compare
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
3740d6f
to
36e4af1
Compare
…mmand Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
@@ -2,4 +2,4 @@ | |||
#Tue Jul 07 18:59:56 GMT 2020 | |||
groupId:org.anchore | |||
artifactId: example-java=app-maven | |||
version: 0.1.0=something | |||
version: 0.1.0=something |
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.
Nit / future: It'd be nice to find easy ways to prevent these newline removals from adding noise to the diff. (For myself, I just check a box in my editor)
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'd vote adding precommit hooks over synchronizing IDE settings (something I've been wanting to add to the repo anyway)
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.
Either/both is good w/ me 👍
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
Signed-off-by: Alex Goodman <alex.goodman@anchore.com>
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.
Very nice addition! Thanks for the thoughtful review sessions ❤️
…-invert-control Add file metadata cataloger
This PR primarily adds the new file metadata cataloger to syft. There are several other changes that were made because of this:
packages
subcommand. The root command is still in place and is an alias for thepackages
subcommand, additionally showing a deprecation warning when invoked.power-user
subcommand, which exposes the new file-metadata cataloger functionality.syft/presenters
tointernal/presenters
since they are command-specific and not generically helpful for library consumers.syft/cataloger
package tosyft/pkg/cataloger
since there are now semantically more than one "kind" of cataloger, and the existing ones are tailored just for software packages.scope
option from the image metadata section in the JSON presenters and adds application configuration to the JSON presenterDescriptor
object (currently for the power-user subcommand only).TarIndex
for content fetching)Multi*
-oriented methods from theResolver
and renamesResolver
toFileResolver
, and clarifies the names of the other constituent resolver interfaces.Closes #335