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

ProblemSolution::skipsPatchesOnly overload to handout the patches. #521

Merged
merged 2 commits into from
Feb 15, 2024

Conversation

mlandres
Copy link
Member

No description provided.

@mlandres mlandres marked this pull request as draft February 13, 2024 16:35
@mlandres mlandres marked this pull request as ready for review February 14, 2024 16:58
@mlandres
Copy link
Member Author

Functional changes are in the 1st commit. The 2nd one is just reorg and cleanup.

}
// all true
if ( collector_r && remembered )
collector_r->get().merge( std::move(remembered).value() );
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
collector_r->get().merge( std::move(remembered).value() );
collector_r->get().merge( std::move(remembered.value()) );

@@ -62,8 +64,10 @@ namespace zypp
virtual bool execute (ResolverInternal & resolver) const = 0;

public:
using PoolItemPredicate = std::pair<bool,std::optional<PoolItem>>;
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't a predicate in C++ terms usually a callable?

@mlandres mlandres merged commit bb16d21 into master Feb 15, 2024
13 checks passed
@mlandres mlandres deleted the ma-handout_skipped_pacthes branch February 15, 2024 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants