-
Notifications
You must be signed in to change notification settings - Fork 88
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
Resolve dependencies from lockfiles #1244
Conversation
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.
It's a good start. We are missing unit tests though.
Reference: #1237 Reference: #1066 Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
adc55dc
to
5cf11ac
Compare
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
Resolves dependency for cases where multiple requirements are resolved by one package and all the version requirements are joined for that package. Reference: #1237 Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
ddead3b
to
60050fe
Compare
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
60050fe
to
65e652d
Compare
Reference: https://github.com/nexB/scancode-toolkit/releases/tag/v32.2.0 Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
Handle various lockfile cases where: * Same package/dependencies are present in different lockfiles * Independent lockfiles without a manifest and root package * Ecosystems which have only a single version of package in their environment * Dependency graphs where a resolved package can have many parent packages. Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
10eae0c
to
795a740
Compare
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
795a740
to
fae73bf
Compare
@tdruez ready for review again! |
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.
@AyanSinhaMahapatra That looks good, see my minor suggestions.
Also, do you think we have a good enough test coverage for the new resolution features?
abaaf95
to
9e279b5
Compare
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
9e279b5
to
44711ea
Compare
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
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.
@AyanSinhaMahapatra Looks good, almost ready for merge.
See a few minor change requests.
We are missing a changelog entry that summarize all the changes of this PR.
It's quite an important one.
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
@tdruez thanks, I've addressed your comments and added the CHANGELOG entries, ready for review again. |
This PR ensures we provide general support for dependency resolution in ScanCode.io:
This is the actual implementation of: