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

RFE: API function to get the full string for a Nevra object to use in Python #1644

Open
pkratoch opened this issue Aug 21, 2024 · 0 comments

Comments

@pkratoch
Copy link
Contributor

In include/libdnf5/rpm/nevra.hpp, there are a few functions that do that, but LIBDNF_API std::ostringstream & operator<<(std::ostringstream & out, const Nevra & nevra); is not usable in Python and template <typename T> inline std::string to_full_nevra_string(const T & obj) (and one similar) is not specialized for Python (modification in the bindings/libdnf5/rpm.i would be needed).

My use case is just to print the nevra that I get from script-related transaction callbacks (script_start, script_stop and script_error).

pkratoch added a commit to pkratoch/anaconda that referenced this issue Aug 22, 2024
pkratoch added a commit to pkratoch/anaconda that referenced this issue Aug 26, 2024
pkratoch added a commit to pkratoch/anaconda that referenced this issue Aug 27, 2024
pkratoch added a commit to pkratoch/anaconda that referenced this issue Aug 28, 2024
pkratoch added a commit to pkratoch/anaconda that referenced this issue Aug 28, 2024
pkratoch added a commit to pkratoch/anaconda that referenced this issue Aug 28, 2024
pkratoch added a commit to pkratoch/anaconda that referenced this issue Aug 28, 2024
pkratoch added a commit to pkratoch/anaconda that referenced this issue Sep 13, 2024
KKoukiou pushed a commit to pkratoch/anaconda that referenced this issue Sep 17, 2024
pkratoch added a commit to pkratoch/anaconda that referenced this issue Sep 19, 2024
pkratoch added a commit to pkratoch/anaconda that referenced this issue Sep 19, 2024
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

No branches or pull requests

1 participant