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 --queryformat, --requires, --provides, --conflicts .. options #318

Merged
merged 7 commits into from
Apr 4, 2023

Conversation

kontura
Copy link
Contributor

@kontura kontura commented Feb 24, 2023

For #122

Implement --queryformat and --requires, --provides, ... options.

@kontura kontura changed the title Add --queryformat option Add --queryformat. --requires, --provides, --conflicts .. options Mar 20, 2023
@kontura kontura changed the title Add --queryformat. --requires, --provides, --conflicts .. options Add --queryformat, --requires, --provides, --conflicts .. options Mar 20, 2023
@m-blaha m-blaha self-assigned this Mar 22, 2023
std::set<std::string> output;
for (auto package : pkgs) {
std::visit(
[&output, &package](auto && getter_func) {
Copy link
Member

Choose a reason for hiding this comment

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

Why is rvalue reference needed here? Wouldn't (const auto & getter_func) do?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Right, updated, thanks. 👍

@m-blaha
Copy link
Member

m-blaha commented Mar 29, 2023

Did you investigate the rawhide build error? Is it something that can be fixed on our side?

@kontura
Copy link
Contributor Author

kontura commented Mar 29, 2023

Did you investigate the rawhide build error? Is it something that can be fixed on our side?

Not yet, sorry, I didn't get to it so far.

@kontura
Copy link
Contributor Author

kontura commented Apr 4, 2023

I have updated the PR to not use the custom fmt formatter for ReldepList it wasn't doing any formatting anyway, it just concatenated the Reldeps. This resolved the build issue but I am not sure what was the problem. I did find some similar false positives reported to gcc but nothing conclusive.

@m-blaha
Copy link
Member

m-blaha commented Apr 4, 2023

Thank you very much!

@m-blaha m-blaha merged commit fbddbca into rpm-software-management:main Apr 4, 2023
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.

2 participants