Skip to content

Conversation

maisim
Copy link
Contributor

@maisim maisim commented Sep 25, 2025

facts: add deb822 format support for APT sources

Add support for parsing deb822 format (.sources) files alongside
traditional .list format APT source files.

Features:
- Parse deb822 stanzas with Types/URIs/Suites/Components fields
- Map deb822 specific fields (Architectures, Signed-By) to legacy options
- Maintain backwards compatibility with existing parse_apt_repo output
- Support multiple types/URIs/suites combinations per stanza

This is part 2/3 of modernizing APT source management.

Follow #1460

  • Pull request is based on the default branch (3.x at this time)
  • Pull request includes tests for any new/updated operations/facts
  • Pull request includes documentation for any new/updated operations/facts
  • Tests pass (see scripts/dev-test.sh)
  • Type checking & code style passes (see scripts/dev-lint.sh)

Add new gpg.key and gpg.dearmor operations to manage GPG keys and keyrings.
These operations provide a modern alternative to apt-key for managing
APT repository keys.

Features:
- Install keys from URLs, local files, or keyservers
- Remove keys by ID or entire keyring files
- Convert ASCII armored keys to binary format
- Manage keys in specific keyrings or across all APT keyrings

This is part 1/3 of modernizing APT key management.
Add support for parsing deb822 format (.sources) files alongside
traditional .list format APT source files.

Features:
- Parse deb822 stanzas with Types/URIs/Suites/Components fields
- Map deb822 specific fields (Architectures, Signed-By) to legacy options
- Maintain backwards compatibility with existing parse_apt_repo output
- Support multiple types/URIs/suites combinations per stanza

This is part 2/3 of modernizing APT source management.
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