Skip to content

Commit

Permalink
changelog_plugin: Limit required metadata to "other"
Browse files Browse the repository at this point in the history
Changelog does not need to download all metadata types from repository.
Only "other" metadata type is needed.
  • Loading branch information
m-blaha committed Nov 22, 2024
1 parent f221a83 commit b9abc77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnf5-plugins/changelog_plugin/changelog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit b9abc77

Please sign in to comment.