Add support for mining cpan packageURLs#731
Merged
AyanSinhaMahapatra merged 9 commits intomainfrom Dec 9, 2025
Merged
Conversation
8783ec5 to
afd274c
Compare
Reference: #685 Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
afd274c to
227d972
Compare
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
JonoYang
reviewed
Oct 1, 2025
| cpan_packages_url = cpan_repo + "modules/02packages.details.txt.gz" | ||
| local_filename = "cpan_packages.gz" | ||
|
|
||
| response = requests.get(cpan_packages_url, stream=True) |
Member
There was a problem hiding this comment.
I would use fetch_http (from scanpipe.pipes.fetch import fetch_http) to handle downloads
You can do
cpan_packages_gz_download = fetch_http(cpan_packages_url)
with gzip.open(cpan_packages_gz_download.path, "rb") as f_in:
...
Signed-off-by: Ayan Sinha Mahapatra <ayansmahapatra@gmail.com>
eeaab32 to
583c4ef
Compare
Member
|
Let's use MineCodeBasePipeline to make sure these mined purls are deployed in git repos. |
Signed-off-by: Ayan Sinha Mahapatra <asmahapatra@aboutcode.org>
Reference: #775 Signed-off-by: Ayan Sinha Mahapatra <asmahapatra@aboutcode.org>
Member
|
Bump... anything left todo here? |
4c36e9d to
42659e2
Compare
Signed-off-by: Ayan Sinha Mahapatra <asmahapatra@aboutcode.org>
42659e2 to
822a562
Compare
Signed-off-by: Ayan Sinha Mahapatra <asmahapatra@aboutcode.org>
Signed-off-by: Ayan Sinha Mahapatra <asmahapatra@aboutcode.org>
Member
Author
|
This is completed now, see:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reference: #685