-
Notifications
You must be signed in to change notification settings - Fork 141
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
Will these plugins be rewritten to C for DNF5? #506
Comments
Yes, we already have some. They might take the form of dnf5 plugins, libdnf5 plugins or they might be integrated differently but we want to preserve the functionality where it makes sense. |
There is a tracking issue - rpm-software-management/dnf5#389. I am closing the issue as a resolve because there is a tracking issue in DNF5 project |
How libdnf5 plugins works? Libdnf5 is library so, eh? 😅 |
We have a tutorial in the docs: https://dnf5.readthedocs.io/en/latest/tutorial/plugins/libdnf5-plugins.html or you can check the linked code. |
Sorry the stupid question, but I think libraries are for borrowing code... so, what is the point of make plugins for them? Plugins makes sense for Firefox, Gedit, etc. applications, but what is point of plugins inside libraries? |
The way I see it plugins for applications allow adding specific features and enable customization. In the same spirit you can add features and enable customization for a library. I think the important thing this enables is sharing these plugins among users of the library while they don't have to be part of the library. |
Hmm, maybe it makes sense, but is right to say that plugins are a niche thing in libraries? At the end, libraries are set of code snippets/functions for certain topic and usually you want to develop libraries directly instead develop plugins for it. |
Perhaps, right now I can think of only one more example: libpurple. However I am sure there is more. |
Anyway, thank you for sharing thoughts with me :) edit: And thank you (and others) for developing the best package manager in the world. |
DNF5 is becoming more widely adopted, so will these plugins be rewritten to C?
The text was updated successfully, but these errors were encountered: