Add support for legacy APT clients that do not fetch binary-all - #1521
Open
hovisms wants to merge 1 commit into
Open
Add support for legacy APT clients that do not fetch binary-all#1521hovisms wants to merge 1 commit into
hovisms wants to merge 1 commit into
Conversation
hovisms
force-pushed
the
rco-1121-no-support-architecture-all
branch
from
September 9, 2026 15:29
c0a5bb6 to
d12800c
Compare
Add an opt-in publication setting that copies Architecture: all package metadata into every native package index and advertises the format in Release metadata. Preserve the existing publication format by default. Fixes: pulp#447 Assisted By: OpenAI Codex
hovisms
marked this pull request as ready for review
September 9, 2026 18:57
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #447.
This adds an opt-in
no_support_for_architecture_allsetting to APTpublications for compatibility with APT clients before version 1.1.
When enabled, structured publications:
binary-all/Packagesindex;Architecture: allpackage in every architecture-specificPackagesindex; andNo-Support-for-Architecture-all: Packagesto generatedReleasemetadata.
The setting defaults to disabled, preserving the existing publication format.
The API field is stored on the publication so consumers can determine how a
given publication was generated.
Testing
python3 -m compileall -q pulp_debruff format --checkruff checkgit diff --checkuv build --wheeloci-env pulpcore-manager makemigrations deb --check --dry-runoci-env test -p pulp_deb lintoci-env test -p pulp_deb unit— 65 passed, 2 skippedwere exercised locally; all three cases passed after matching the official
APT_BY_HASHand legacy-checksum settingsArchitecture: allpackage throughbinary-amd64/Packages📜 Checklist