Skip to content

Add deb822 for aptpkg #67956

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

vzhestkov
Copy link
Contributor

@vzhestkov vzhestkov commented Apr 11, 2025

What does this PR do?

Add support of deb822 format to aptpkg module to make it working with the latest Debian based distros.

IMPORTANT NOTE: It's basically the copy of aptsources implementation from python-apt module which is licensed as GPL-2.0, so not sure if it's fine to copy some parts of implementation here. It's better to review if it's legally fine.

This PR replaces #67748

What issues does this PR fix or reference?

Tracks: https://github.com/SUSE/spacewalk/issues/25989

Previous Behavior

aptpkg was ignoring deb822 sources and was unable to manipulate them

New Behavior

aptpkg is able to list, modify and delete the repo sources of deb822 format with mimicing the output to the similar to traditional to prevent rewriting the states relying on source line format

Merge requirements satisfied?

[NOTICE] Bug fixes or features added to Salt require tests.

Commits signed with GPG?

Yes/No

vzhestkov and others added 2 commits April 24, 2025 12:06
Co-authored-by: Marek Czernek <[email protected]>
@vzhestkov vzhestkov changed the title WIP: Add deb822 for aptpkg Add deb822 for aptpkg Apr 24, 2025
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.

1 participant