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

Rework No-Support-for-Architecture-all repo format sync handling #451

Merged
merged 1 commit into from
Mar 21, 2022

Conversation

quba42
Copy link
Collaborator

@quba42 quba42 commented Mar 9, 2022

Closes #456

When a repo uses "No-Support-for-Architecture-all: Packages" style
format, we should not warn about all architecture packages in
architecture specific package indices! They are expected to be there!
We still skip those packages since there is no need to download them
twice!

When a mirror mirrors metadata indicating
"No-Support-for-Architecture-all: Packages" format, while failing to
mirror the binary-all package indices we introduce special handling to
ensure we nevertheless sync "Architecture: all" packages.

@quba42 quba42 added this to the 2.18.0 milestone Mar 9, 2022
@quba42
Copy link
Collaborator Author

quba42 commented Mar 9, 2022

This is a bugfix for a bug introduced by the as of yet unreleased #422 !

@quba42 quba42 force-pushed the no_support_for_architecture_all_filtering branch 2 times, most recently from 3249dc0 to afb5f47 Compare March 16, 2022 17:07
@quba42 quba42 force-pushed the no_support_for_architecture_all_filtering branch 2 times, most recently from 08b67c5 to 5173c02 Compare March 17, 2022 11:50
@quba42 quba42 changed the title WIP: Do not warn about expected architecture all packages Rework No-Support-for-Architecture-all repo format sync handling Mar 17, 2022
@quba42 quba42 marked this pull request as ready for review March 17, 2022 11:54
@quba42 quba42 force-pushed the no_support_for_architecture_all_filtering branch from 5173c02 to 65453cd Compare March 17, 2022 12:20
@quba42 quba42 force-pushed the no_support_for_architecture_all_filtering branch 5 times, most recently from 89a5f89 to 9745d74 Compare March 17, 2022 18:13
Closes pulp#456
pulp#456

When a repo uses "No-Support-for-Architecture-all: Packages" style
format, we should not warn about all architecture packages in
architecture specific package indices! They are expected to be there!
We still skip those packages since there is no need to download them
twice!

When a mirror mirrors metadata indicating
"No-Support-for-Architecture-all: Packages" format, while failing to
mirror the binary-all package indices we introduce special handling to
ensure we nevertheless sync "Architecture: all" packages.

For more info, see:
https://wiki.debian.org/DebianRepository/Format#No-Support-for-Architecture-all
@quba42 quba42 force-pushed the no_support_for_architecture_all_filtering branch from 9745d74 to 04568ac Compare March 17, 2022 18:32
@quba42 quba42 merged commit 536ce52 into pulp:main Mar 21, 2022
@quba42 quba42 deleted the no_support_for_architecture_all_filtering branch March 21, 2022 11:07
@patchback
Copy link

patchback bot commented Apr 21, 2022

Backport to 2.17: 💚 backport PR created

✅ Backport PR branch: patchback/backports/2.17/536ce5246464c270f1662845d79a792095eaabfd/pr-451

Backported as #505

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

@patchback
Copy link

patchback bot commented Apr 21, 2022

Backport to 2.16: 💚 backport PR created

✅ Backport PR branch: patchback/backports/2.16/536ce5246464c270f1662845d79a792095eaabfd/pr-451

Backported as #506

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

patchback bot pushed a commit that referenced this pull request Apr 21, 2022
…filtering

Rework No-Support-for-Architecture-all repo format sync handling

(cherry picked from commit 536ce52)
patchback bot pushed a commit that referenced this pull request Apr 21, 2022
…filtering

Rework No-Support-for-Architecture-all repo format sync handling

(cherry picked from commit 536ce52)
quba42 added a commit that referenced this pull request Apr 21, 2022
…filtering

Rework No-Support-for-Architecture-all repo format sync handling

(cherry picked from commit 536ce52)
quba42 added a commit that referenced this pull request Apr 21, 2022
…filtering

Rework No-Support-for-Architecture-all repo format sync handling

(cherry picked from commit 536ce52)
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.

Rework No-Support-for-Architecture-all format sync handling
3 participants