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

PackageFilters support: limit visible packages for resolution process #171

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sfc-gh-ptabor
Copy link
Contributor

Introduction of PackageFilters allows to limit set of packages that is considered (from APKINDEX) for the resolution process.
The natural use-case is integration with rules_apko & apko, such that only "hermetic" artifacts defining in .resolve.apko.json file participate in the 'version' computation.

This is a first step to address: chainguard-dev/rules_apko#13
That need to be followed by change in apko, e.g. : chainguard-dev/apko#979

Introduction of PackageFilters allows to limit set of packages that is considered (from APKINDEX) for
the resolution process.
The natural use-case is integration with rules_apko & apko, such that only "hermetic" artifacts defining in
`.resolve.apko.json` file participate in the 'version' computation.
@sfc-gh-ptabor
Copy link
Contributor Author

I'm leaning toward #172 as the solution to the use-case.

@sfc-gh-ptabor sfc-gh-ptabor marked this pull request as draft December 9, 2023 12:25
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.

None yet

1 participant