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
[context] Preserve additionalMetadata content (RhBug:1808677) #903
[context] Preserve additionalMetadata content (RhBug:1808677) #903
Conversation
433c57f
to
03a4464
Compare
03a4464
to
63ea04a
Compare
The dnf_repo_check_internal() can creates new libdnf::Repo. This patch copies content of additionalMetadata from old repository object to the new one. The swidtags plugin adds new metadata type into additionalMetadata (which is part of libdnf::Repo) in configuration hook. Without this patch the added metadata types are not copied to the newly created repository.
63ea04a
to
633d888
Compare
📌 Commit 633d888 has been approved by |
The dnf_repo_check_internal() can creates new libdnf::Repo. This patch copies content of additionalMetadata from old repository object to the new one. The swidtags plugin adds new metadata type into additionalMetadata (which is part of libdnf::Repo) in configuration hook. Without this patch the added metadata types are not copied to the newly created repository. Closes: #903 Approved by: j-mracek
💔 Test failed - status-papr |
@rh-atomic-bot retry |
The dnf_repo_check_internal() can creates new libdnf::Repo. This patch copies content of additionalMetadata from old repository object to the new one. The swidtags plugin adds new metadata type into additionalMetadata (which is part of libdnf::Repo) in configuration hook. Without this patch the added metadata types are not copied to the newly created repository. Closes: #903 Approved by: j-mracek
💔 Test failed - status-papr |
It seems that this is not a problem with this PR:
|
I saw this test failing before. I suspect it is somehow connected with libnf pull requests that were moved from |
The dnf_repo_check_internal() can creates new libdnf::Repo. This patch
copies content of additionalMetadata from old repository object
to the new one.
The swidtags plugin adds new metadata type into additionalMetadata
(which is part of libdnf::Repo) in configuration hook. Without this
patch the added metadata types are not copied to the newly created
repository.