From b9abc77c879532700cf95d1f3419bdfb866eb161 Mon Sep 17 00:00:00 2001 From: Marek Blaha Date: Fri, 22 Nov 2024 10:56:18 +0100 Subject: [PATCH] changelog_plugin: Limit required metadata to "other" Changelog does not need to download all metadata types from repository. Only "other" metadata type is needed. --- dnf5-plugins/changelog_plugin/changelog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnf5-plugins/changelog_plugin/changelog.cpp b/dnf5-plugins/changelog_plugin/changelog.cpp index 4970c426d..ddb9d5f7a 100644 --- a/dnf5-plugins/changelog_plugin/changelog.cpp +++ b/dnf5-plugins/changelog_plugin/changelog.cpp @@ -111,7 +111,7 @@ void ChangelogCommand::configure() { context.set_load_system_repo(true); context.set_load_available_repos(Context::LoadAvailableRepos::ENABLED); context.get_base().get_config().get_optional_metadata_types_option().add( - libdnf5::Option::Priority::RUNTIME, libdnf5::OPTIONAL_METADATA_TYPES); + libdnf5::Option::Priority::RUNTIME, libdnf5::METADATA_TYPE_OTHER); } void ChangelogCommand::run() {