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
Incorporate custodia into IPA #5831
Conversation
@tiran thanks for PR. Do we need to obsolete python3-custodia? Are you planing to remove it from the distributions too? Perhaps, obsoleting is not needed right now as we are not going to conflict by file paths anyway, right? |
I changed the entry point names and import paths so our copy does not conflict with python3-custodia. Eventually we can drop custodia and python3-custodia from RHEL and Fedora. There is no need to rush, though. |
Ok, next question is whether we should import this in ipa-4-9 branch. Without that I am not sure when this change would hit the distributions. 4.10? 5.0? How bad is it to include it into 4.9.5? |
I don't see any harm to backport the change to 4.9. You may want to copy some unit tests from upstream into downstream first. |
Backporting would let us accelerate the retirement of custodia as a separate package and retire it in rawhide and potentially downstream distributions. |
Ok, may be we should then add those unit tests to IPA as well? |
+1 on incorporating the tests |
I filed upstream ticket to explain at least some of the reasoning behind this. Can you add this ticket to the commit msgs? https://pagure.io/freeipa/issue/8882 |
Incorporate Custodia into IPA. See: https://pagure.io/freeipa/issue/8882 Signed-off-by: Christian Heimes <cheimes@redhat.com>
The CLI, IPA integration and storage backends are not used by IPA. See: https://pagure.io/freeipa/issue/8882 Signed-off-by: Christian Heimes <cheimes@redhat.com>
See: https://pagure.io/freeipa/issue/8882 Signed-off-by: Christian Heimes <cheimes@redhat.com>
See: https://pagure.io/freeipa/issue/8882 Signed-off-by: Christian Heimes <cheimes@redhat.com>
See: https://pagure.io/freeipa/issue/8882 Signed-off-by: Christian Heimes <cheimes@redhat.com>
784ffa1
to
9bc2b1c
Compare
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Take this with a grain of salt, I don't know custodia, but client.py and forwarder.py aren't used (except self-referrentially and client in one test). Should we add a Provides so that python3-custodia and custodia can be removed on upgrade? In general this change looks to be in good shape. |
See: https://pagure.io/freeipa/issue/8882 Signed-off-by: Christian Heimes <cheimes@redhat.com>
Excellent finding! I removed the modules.
The copied code does not provide I'll orphan custodia after the next update has landed in Fedora. |
The only I asked about the Provides is on upgrades the custodia packages won't be removed. They don't harm anything per-se. Not a show stopper. LGTM. |
https://pagure.io/freeipa/issue/8882