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
Add templating to ipaplatform path [RFC] #244
Conversation
The ipaplatform.base.paths module contains a lot of repetitions. The path class now uses recursive format calls for common prefixes. The SO/SO_64 hack is replaced by platform detection. Signed-off-by: Christian Heimes <cheimes@redhat.com>
e64edd9
to
b53c1ad
Compare
| @@ -184,21 +265,20 @@ class BasePathNamespace(object): | |||
| BIN_TIMEOUT = "/usr/bin/timeout" | |||
| UPDATE_CA_TRUST = "/usr/bin/update-ca-trust" | |||
| BIN_CURL = "/usr/bin/curl" | |||
| BIND_LDAP_SO = "/usr/lib/bind/ldap.so" | |||
| # BIND_LDAP_SO = "{.ARCH_LIB_DIR}/bind/ldap.so" | |||
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.
Why is this commented? If it is unused, it can be removed in separate patch
|
It has missing ticket |
|
It's a RFC patch. |
|
LGTM then, I'll wait for final version for testing |
|
Edit: wrong PR |
|
Can you finish this PR? It can be tested and possibly merged |
|
Also LGTM. |
|
Please ignore this PR for now. It's not relevant for PyPI packages. |
|
My PoC is a bit too magic and complicated. PR #373 for Debian support comes along nicely without additional magic. I'm closing the PR. I'll keep the branch around in case we want to tackle the problem in the future. |
Please comment
The ipaplatform.base.paths module contains a lot of repetitions. The
path class now uses recursive format calls for common prefixes. The
SO/SO_64 hack is replaced by platform detection.
Signed-off-by: Christian Heimes cheimes@redhat.com