pulp / pulp_deb

Debian repository plugin for Pulp (pulpproject.org)
GNU General Public License v2.0
61 stars 78 forks source link

[PR #977/47a759ab backport][3.1] Set SERVE_FROM_PUBLICATION on AptDistribution #981

Closed patchback[bot] closed 9 months ago

patchback[bot] commented 9 months ago

This is a backport of PR #977 as merged into main (47a759abe03000288f4d34ba92e549d954268f70).

This prevents the content app from serving unpublished content when a repo is set on a distribution:

https://github.com/pulp/pulpcore/commit/27a0dc7424769b2d5d7e98ebc4cf9cdba6cdc149

Also, this setting will be used to protect repo versions once the repo version protection work is merged:

https://github.com/pulp/pulpcore/pull/4750

fixes #976