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

Add templating to ipaplatform path [RFC] #244

Closed
wants to merge 1 commit into from

Conversation

tiran
Copy link
Member

@tiran tiran commented Nov 16, 2016

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

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>
@@ -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"
Copy link
Contributor

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

@MartinBasti
Copy link
Contributor

It has missing ticket

@MartinBasti MartinBasti self-assigned this Nov 16, 2016
@tiran
Copy link
Member Author

tiran commented Nov 16, 2016

It's a RFC patch.

@MartinBasti
Copy link
Contributor

LGTM then, I'll wait for final version for testing

@MartinBasti
Copy link
Contributor

MartinBasti commented Nov 16, 2016

Edit: wrong PR

@MartinBasti
Copy link
Contributor

Can you finish this PR? It can be tested and possibly merged

@HonzaCholasta
Copy link
Contributor

Also LGTM.

@tiran
Copy link
Member Author

tiran commented Nov 22, 2016

Please ignore this PR for now. It's not relevant for PyPI packages.

@tiran
Copy link
Member Author

tiran commented Jan 18, 2017

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.

@tiran tiran closed this Jan 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants