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

Use setuptools entry points instead of DeferredImport #245

Merged

Conversation

puiterwijk
Copy link
Contributor

This way, it is possible to use services implemented in external
packages

Signed-off-by: Patrick Uiterwijk puiterwijk@redhat.com

@coddingtonbear
Copy link
Collaborator

Ahh, @puiterwijk, @ralphbean & I had discussed making this kind of change a year or so ago, but there were some reservations (which may by this point not be great) raised. @ralphbean what do you think?

@ralphbean
Copy link
Collaborator

No, I don't remember the points in our original discussion @coddingtonbear. I'll try to have a look at this soon!

@coddingtonbear
Copy link
Collaborator

If it helps, and if you log our conversations on Freenode, it was there -- search for "entrypoint" or something like that. I think I may have been using my former office's computer at the time, so I'm not sure I still have the transcripts.

@ralphbean
Copy link
Collaborator

Unfortunately I don't still have those logs.

Anyways, the code change looks fine to me. And I suppose it would be nice to allow external plugins.

Let's let it sit a few more days, but I'm inclined to approve and merge this unless you have any objections @coddingtonbear.

@puiterwijk puiterwijk force-pushed the flexible-services branch 2 times, most recently from b4f0696 to b9b9d5a Compare October 29, 2015 08:36
@puiterwijk
Copy link
Contributor Author

Pull request rebased.

This way, it is possible to use services implemented in external
packages

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
@ralphbean
Copy link
Collaborator

👍. Thanks Patrick! :) Happy plugin-writing!

ralphbean added a commit that referenced this pull request Oct 30, 2015
Use setuptools entry points instead of DeferredImport
@ralphbean ralphbean merged commit 778d9d8 into GothenburgBitFactory:develop Oct 30, 2015
@puiterwijk
Copy link
Contributor Author

Thank you very much!

@puiterwijk puiterwijk deleted the flexible-services branch October 30, 2015 19:32
@ryneeverett ryneeverett mentioned this pull request Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants