-
Notifications
You must be signed in to change notification settings - Fork 18
8000
Added support for the from_native
function in both Composer and Golang version ranges
#152
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
base: main
Are you sure you want to change the base?
Conversation
…lang version ranges. issue aboutcode-org#47 Signed-off-by: Aayush Kumar <aayush214.kumar@gmail.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.
LGTM!
@TG1999, @aayushkdev
1 and 2 are pretty big in my opinion, 3 is nice to have |
@barv-jfrog Thanks ++ for the inputs! @aayushkdev Do you mind to have a look and add these enhancements? |
@barv-jfrog would you have some real, live examples to share for a test suite? Or would have a link to composer PHP's test code that we could port to use as tests here? |
@pombredanne sure
Regarding the logic of each one of this - 1 and 3 are simple, they are the same as "||" and "x". |
yeah sure I will have a look. |
…onRange Signed-off-by: Aayush Kumar <aayush214.kumar@gmail.com>
Hey @barv-jfrog @pombredanne I have made the requested changes please have a look. |
Hi @aayushkdev thanks for paying attention to my comments. |
Fix #47
from_native
function in both Composer and Golang version ranges.>=1.2.3
,<=2.0.0
,v1.2.3-beta.1
, and ranges using||
for multiple constraints.^
,~
,.*
patterns, and the||
operator for combining multiple version ranges.