-
-
Notifications
You must be signed in to change notification settings - Fork 36
Add support to mine cargo Package-URLs #679
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
5cdc47b
to
ae60ff2
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.
Thanks @ziadhany, looks good as a start. Please see my comments for your consideration
@ziadhany what's left todo here? |
@pombredanne I just need to use the common function. But I already tested running the workflow in this repo: https://github.com/ziadhany/cargo-test/. I will update it today. |
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.
Thanks @ziadhany, looking good.
See my comments for your consideration. We can also start testing this in the aboutcode-data CI now
|
||
DATA_DIR = Path(__file__).parent.parent / "test_data" / "cargo" | ||
|
||
|
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.
A bit more tests for cargo mining would be nice, we can create a small repo with some commits to test, this is okay
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 I added multiple test cases for Cargo, and also tested the entire workflow using these three repositories:
Signed-off-by: ziad hany <ziadhany2016@gmail.com>
Signed-off-by: ziad hany <ziadhany2016@gmail.com>
Refactor code to be compatible with the new pipeline. Signed-off-by: ziad hany <ziadhany2016@gmail.com>
Add logging and fix bug in process_cargo_packages Signed-off-by: ziad hany <ziadhany2016@gmail.com>
Signed-off-by: ziad hany <ziadhany2016@gmail.com>
Signed-off-by: ziad hany <ziadhany2016@gmail.com>
Fix bug in process_cargo_packages. Signed-off-by: ziad hany <ziadhany2016@gmail.com>
Signed-off-by: ziad hany <ziadhany2016@gmail.com>
Signed-off-by: ziad hany <ziadhany2016@gmail.com>
Signed-off-by: ziad hany <ziadhany2016@gmail.com>
Signed-off-by: ziad hany <ziadhany2016@gmail.com>
Signed-off-by: ziad hany <ziadhany2016@gmail.com>
Uh oh!
There was an error while loading. Please reload this page.