Skip to content

Add deb822 for aptpkg - #67956

Merged
dwoz merged 23 commits into
saltstack:masterfrom
vzhestkov:add-deb822-for-aptpkg
Mar 31, 2026
Merged

dwoz merged 23 commits into
saltstack:masterfrom
vzhestkov:add-deb822-for-aptpkg

Conversation

@vzhestkov

@vzhestkov vzhestkov commented Apr 11, 2025 •

Copy link
Copy Markdown
Contributor

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
vzhestkov requested a review from a team as a code owner April 11, 2025 06:57
@vzhestkov
vzhestkov force-pushed the add-deb822-for-aptpkg branch from 3786706 to 88ede53 Compare April 11, 2025 10:05
@vzhestkov
vzhestkov force-pushed the add-deb822-for-aptpkg branch from 4a2eea1 to 335b9f4 Compare April 24, 2025 10:06
@vzhestkov vzhestkov changed the title WIP: Add deb822 for aptpkg Add deb822 for aptpkg Apr 24, 2025
@dwoz
dwoz force-pushed the add-deb822-for-aptpkg branch from 8bcc3d2 to 6d4e13f Compare June 23, 2025 23:16
twangboy
twangboy previously approved these changes Jun 27, 2025
@Talkless

Copy link
Copy Markdown
Contributor

So this will not be available in 3007 right? We have to wait for 3008? Any approximate release date we can expect?

So basically we can't upgrade to Debian 13 until 3008 is released...

@jhubbardnso

Copy link
Copy Markdown

So this will not be available in 3007 right? We have to wait for 3008? Any approximate release date we can expect?

https://saltproject.io/blog/2026-05-27-salt-3008-0-available/

@Talkless

Copy link
Copy Markdown
Contributor

May 27, 2026

Wow, what a timing 😂.

Thanks for good news @jhubbardnso

This branch was previously deployed

1 inactive deployment
ci — 32d18428 Deployed Mar 30, 2026 by dwoz via Build Onedir Packages / RPM (x86_64) #21018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:full Run the full test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE REQUEST] Support for repo format DEB822 [FEATURE REQUEST] Support for repo format DEB822

7 participants