-
Notifications
You must be signed in to change notification settings - Fork 26
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
qm: introduction to qm dropin sub-packages(s) #585
Conversation
I must tell you, this idea came from |
d449368
to
e8fc584
Compare
Here output from the patch:
inspecting:
To avoid the sub-package generation, add the following patch into Makefile:
Test generating the same rpm, now only generate one rpm and src rpm:
|
|
@nsednev @pengshanyu is it something are you aware this error? Everything I don't want is bring a new issue to us. |
maybe remove this exit 1 ^ from: |
1e3ea7f
to
e8fc584
Compare
Looks like not working (seems stuck in a loop in CI/CD), removing this patch. |
Ok, not even related to the previous patch. CI/CD seems weird. :( |
Ok, the CI/CD URL is not even found, I got 404: https://artifacts.dev.testing-farm.io/4a314a63-f306-4201-96f5-c6f1859a2877 |
I don't think it's related to this patch but let's wait another maint. review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MHO, this should be documented and not related to rpm
Since drop-in files are used for Customizing the base configuration
Let me try to improve my explanation: Packaging the drop-in files within the RPM ensures that users don't need to manually create or configure these files. This can improve the user experience, particularly for less experienced users if the "action" is repetitive, example "changing the tmp dir for engine" or "changing a configuration for qm window manager" or "a vendor/suppliers shipping their specific podman engine configuration". With that in mind, keeping drop-in files out of the RPM can reduce the complexity of maintaining the package, especially if the configurations are expected to change frequently (which I believe it's not the case here, as we want to have "flavors" of qm sub-packages for podman engine configuration so users can just dnf/rpm install and voi-la ready to use). @Yarboa it sounds better now? What do you think ? |
In the example, I attached, we could do:
or if the vendor/user would like to try later they can do it without worry and later remove it. At least, that's the idea. |
I choose not to die on that one, lets hear @aesteve-rh or others |
Funny enough, I actually learned that phrase from you @Yarboa "I choose not to die on that one" ^^^ !!! 👍 My last argument: Enterprise or users prefer changes/updates that have being signed by their fav distro/vendor (like packages) not manual changes for security and tracking reasons. All yours @aesteve-rh maybe @sandrobonazzola too if he is around. |
In general, this being a feature for developers only, I feel it's fine. I am not against this patch. I'm not convinced that generating the subpackage should be the default behavior. And I guess we should think of a way to tweak the makefile to avoid having to edit it manually to chose whether you want the subpackage or not. |
QM developers are always looking for ways to help new users and engineers onboard more easily. With this in mind, they decided to break complex configurations into drop-in sub-package(s) when possible for adjusting the Podman engine configurations specifically within the QM environment. Why? This approach provides an easy way to extend or override settings without modifying the core (original) configuration files. Signed-off-by: Douglas Schilling Landgraf <[email protected]>
a935ac5
to
8e2763e
Compare
help users to understand what options we have. Signed-off-by: Douglas Schilling Landgraf <[email protected]>
2ed416e
to
bcf66c9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
/packit test --identifier e2e-ffi |
QM developers are always looking for ways to help new users and engineers onboard more easily. With this in mind, they decided to break complex configurations into drop-in sub-package(s) when
possible for adjusting the Podman engine configurations specifically
within the QM environment. Why? This approach provides an easy way to extend or override settings without modifying the core (original) configuration files.