Add Openstack Importer V2 Pipeline#2154
Open
Samk1710 wants to merge 3 commits intoaboutcode-org:mainfrom
Open
Conversation
e2ef492 to
4111f98
Compare
ziadhany
requested changes
Feb 15, 2026
| self.log(f"Cloning `{self.repo_url}`") | ||
| self.vcs_response = fetch_via_vcs(self.repo_url) | ||
|
|
||
| def fetch(self): |
Collaborator
There was a problem hiding this comment.
I think this should be merged in collect_advisories function
Contributor
Author
There was a problem hiding this comment.
@ziadhany
Moved into get_processable_files that is called in advisories_count and collect_advisories. Let me know if this works
Contributor
Author
There was a problem hiding this comment.
Also now we filter with only the file name ;>
| skipped_old += 1 | ||
| continue | ||
|
|
||
| self.processable_advisories.append(file_path) |
Collaborator
There was a problem hiding this comment.
Also, avoid using global variables to store all the paths, as this takes up some amount of memory.
4111f98 to
80028b6
Compare
Signed-off-by: Sampurna Pyne <sampurnapyne1710@gmail.com>
Signed-off-by: Sampurna Pyne <sampurnapyne1710@gmail.com>
Signed-off-by: Sampurna Pyne <sampurnapyne1710@gmail.com>
80028b6 to
5f0cd4c
Compare
Contributor
Author
|
Hey @ziadhany Kindly have a look when time and let me know if anything needs adjustments. |
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.
Closes
Data Source: https://github.com/openstack/ossa
Research Notes: #374 (comment)
Importer logs: