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

Move cleaning up old dnfjson cache dirs from composer to Weldr API #404

Merged
merged 1 commit into from
Jan 26, 2024

Conversation

achilleas-k
Copy link
Member

Port of osbuild/osbuild-composer@fb1b27c
Required for osbuild/osbuild-composer#3828

Previously, the old dnfjson cache dirs for unsupported distributions were deleted in the osbuild-composer binary on startup. This is no longer possible, since the supported distros are determined by loading available repositories. Loading repositories happens in the Weldr API constructor. Move the cleanup code there.

Previously, the old dnfjson cache dirs for unsupported distributions
were deleted in the osbuild-composer binary on startup. This is no
longer possible, since the supported distros are determined by loading
available repositories. Loading repositories happens in the Weldr API
constructor. Move the cleanup code there.

Signed-off-by: Tomáš Hozza <[email protected]>
@achilleas-k achilleas-k added this pull request to the merge queue Jan 26, 2024
Merged via the queue into osbuild:main with commit 9f3c548 Jan 26, 2024
10 checks passed
@achilleas-k achilleas-k deleted the dnfjson/cleanupoldcachedirs branch January 26, 2024 15:11
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.

3 participants