-
Notifications
You must be signed in to change notification settings - Fork 2
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/return packages list #52
Conversation
The interface will be used to build a list of packages returned by the parser, but the comment currently is misleading.
Packages up until now were returned as a single string with each new line containing the package data. Readers of this output had to do further processing to extract the relevant package data. This single-string format was added to the plugin in order to match what the snyk-docker-plugin was expecting; it was used for backwards-compatibility. Now in addition to this we return the list of packages in a new field in the parser response so it is easier to process them. Additionally changed the following: - exceptions thrown by parsing the RPM package entries are no longer ignored - exceptions are now allowed to throw to the caller of the parser - improved docs around some types
Interfaces can be inferred by the IDE and don't need an "I" prefix in the name.
Expected release notes (by @ivanstanev) features: others (will not be included in Semantic-Release notes): |
Amazing improvements!! 🥇😄 So we still need the string |
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.
LGTM! 🎉
🎉 This PR is included in version 2.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
What this does
Packages up until now were returned as a single string with each new line containing the package data.
Readers of this output had to do further processing to extract the relevant package data.
This single-string format was added to the plugin in order to match what the snyk-docker-plugin was expecting; it was used for backwards-compatibility.
Now in addition to this we return the list of packages in a new field in the parser response so it is easier to process them.
Additionally changed the following:
Notes for the reviewer
Other various improvement added as separate commits 🙏