-
Notifications
You must be signed in to change notification settings - Fork 14
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 composer and golang versions #72
Add composer and golang versions #72
Conversation
0f81bbf
to
eb8d96b
Compare
src/univers/version_range.py
Outdated
VersionConstraint( | ||
comparator=comparator, version=vrc.version_class(version_constraint) | ||
) | ||
def from_gitlab_native(scheme, 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.
Is the scheme exactly that of GitLab? or this is ours and there has been a mapping already done upstream in VulnerableCode?
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.
This scheme is exactly from GitLab itself, the tests that I have added here are from GitLab only and not changed at all.
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, so they use purl types like we do then! ... good.
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.
One thing, what do you mean by scheme here? The version range or the package type itself? We map the type from slug in yaml file to package url type, and then use as scheme here
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! I just have one question.
eb8d96b
to
657b0f7
Compare
And also support gitlab native ranges for them Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
657b0f7
to
c80e716
Compare
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! 👍
Add pycodestyle in setup.cfg
and also add support for their gitlab version ranges
Signed-off-by: Tushar Goel tushar.goel.dav@gmail.com