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

[Cp] Katello 4.2.2 cherry picks #9890

Merged
merged 9 commits into from
Jan 19, 2022
Merged

Conversation

jlsherrill
Copy link
Member

@jlsherrill jlsherrill commented Jan 17, 2022

No description provided.

@theforeman-bot
Copy link

Issues: #34145

jlsherrill and others added 8 commits January 18, 2022 17:05
for mirrored repos

* Updates capsule syncing to never regenerate metadata for yum repos
  * Also cleans and simplifies the code by using a lookup to find the
    publication href, instead of passing it around
* Updates repo sync to never regenerate metadata on a force sync

(cherry picked from commit a6512bd)
a previous fix switched to using filenames for certs
if the Faraday default adapter was set to :excon,
however this broke the container registry proxy, as its
using rest_client, but is still using this same piece of code

(cherry picked from commit d6adef8)
…9822)

* Fixes #34059 - disable validation when seeding existing org

* Refs #34059 - make sure validation happens when creating org outside of the middleware

(cherry picked from commit fe3dbc9)
Like any other content in Pulp 3, advisories are immutable. So when
there is some change to it, a new one is created, it is then
associated to a repository as a part of a new repository version and
the old one is unassociated and becomes orphaned.

There are some advisory's fields that Katello doesn't store in the
database but Pulp does, such as version, pushcount, fromstr, rights
etc. If any of those fields is changed after syncing repo, Katello
can't detect the change and it is still referring to the orphaned
hrefs.

When user publishing an incremental content view, Katello will use the
orphaned hrefs to copy advisories from source repo to the destination
repo. If the orphaned advisories are removed by Pulp then nothing will
be copied.

(cherry picked from commit 7961da6)
@jlsherrill
Copy link
Member Author

[test katello]

Copy link
Member

@chris1984 chris1984 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ship it

@jlsherrill jlsherrill merged commit 5737dd4 into Katello:KATELLO-4.2 Jan 19, 2022
@jlsherrill jlsherrill deleted the KATELLO-4.2 branch January 19, 2022 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants