Skip to content
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

Ignore suse/suse cvrf. Other performance improvements. #171

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

prabhu
Copy link
Contributor

@prabhu prabhu commented Jul 15, 2024

Fixes #170

@@ -110,13 +110,15 @@ def is_supported_source(zfname):
"oval",
"glad",
"mariner",
f"cvrf{os.sep}suse{os.sep}suse",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This removes data belonging suse enterprise version leaving only the opensuse ones, which is probably ok for us.

if done_pkgs.get(pkg_key):
continue
pkg_name, version = self.product_ref_to_name_version(pkg_key)
pkg_name = pkg_name.lower().replace(" ", "-").replace(":", "/")
Copy link
Contributor Author

@prabhu prabhu Jul 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pkg_name will also include edition and product names such as opensuse-tumbleweed. This would help reduce false positives but would require some rewrite in depscan v6.

@prabhu prabhu merged commit eda3c1d into master Jul 15, 2024
12 checks passed
@prabhu prabhu deleted the feature/suse-perf branch July 15, 2024 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Aqua source has gotten slow
1 participant