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

Register entry points of Custodia plugins #187

Closed
wants to merge 1 commit into from

Conversation

tiran
Copy link
Member

@tiran tiran commented Oct 26, 2016

With setuptools in place FreeIPA is able to register its Custodia
plugins. Custodia 0.1 ignores the plugins directives. Custodia 0.2 uses
the entry points to discover plugins.

https://fedorahosted.org/freeipa/ticket/6492

Signed-off-by: Christian Heimes cheimes@redhat.com

@HonzaCholasta
Copy link
Contributor

Just curious, why is the store class called iSecStore and not IPASecStore or something similar to make it apparent that it comes from IPA?

@tiran
Copy link
Member Author

tiran commented Nov 10, 2016

@simo5 wrote the code. He should know why he did not follow PEP8 naming conventions for the class.

@simo5
Copy link
Contributor

simo5 commented Nov 11, 2016

Forgot the reasons, I was probably not thinking about PEP8 back then.

With setuptools in place FreeIPA is able to register its Custodia
plugins. Custodia 0.1 ignores the plugins directives. Custodia 0.2 uses
the entry points to discover plugins.

Signed-off-by: Christian Heimes <cheimes@redhat.com>
@tiran
Copy link
Member Author

tiran commented Nov 15, 2016

I renamed the class and plugin but kept an alias for the old name.

@martbab martbab self-assigned this Nov 16, 2016
@martbab
Copy link
Contributor

martbab commented Nov 16, 2016

LGTM but we will need upstream ticket for this to triage.

@MartinBasti
Copy link
Contributor

Rebased, ticket added to commit message, pushed

Fixed upstream
master:
https://fedorahosted.org/freeipa/changeset/9102fb3b02fbe55480428e60fb8df4fd668d7753

@MartinBasti MartinBasti added ack Pull Request approved, can be merged pushed Pull Request has already been pushed labels Nov 16, 2016
@tiran tiran deleted the custodia_plugins branch November 17, 2016 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ack Pull Request approved, can be merged pushed Pull Request has already been pushed
Projects
None yet
5 participants