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

Add a hint to call base.setup() prior loading repositories #1382

Merged
merged 1 commit into from
Apr 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions include/libdnf5/base/base.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,11 @@ class Base {
/// configuration of protected_packages (glob:).
/// To prevent differences between configuration and internal Base settings, following configurations
/// will be locked: installroot, varsdir.
/// The method is supposed to be called after configuration is updated, application plugins applied
/// The method is supposed to be called after configuration and vars are updated, application plugins applied
/// their pre configuration modification in configuration, but before repositories are loaded or any Package
/// or Advisory query created.
/// or Advisory query created. The method is recommended to be called before loading repositories, because
/// not all variables for substitutions might be available. Caution - modification of vars after this call
/// might be problematic, because architecture is already fixed for our solver.
/// Calling the method for the second time result in throwing an exception
void setup();

Expand Down
Loading