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

New filters rpm::filter_leaves and rpm::filter_leaves_groups; add "leaves" command and "repoquery --leaves" to dnf5 #409

Merged
merged 7 commits into from
Apr 14, 2023
Prev Previous commit
Next Next commit
swig: Add VectorPackage and VectorVectorPackage templates
  • Loading branch information
jrohel committed Apr 13, 2023
commit ee67488b981c809ccac395e5f4fcd6242e355eea
3 changes: 3 additions & 0 deletions bindings/libdnf5/rpm.i
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@
%include "libdnf/rpm/reldep_list.hpp"
%include "libdnf/rpm/package.hpp"

%template(VectorPackage) std::vector<libdnf::rpm::Package>;
%template(VectorVectorPackage) std::vector<std::vector<libdnf::rpm::Package>>;

%template(VectorChangelog) std::vector<libdnf::rpm::Changelog>;

%rename(next) libdnf::rpm::PackageSetIterator::operator++();
Expand Down