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

Define a "plugin registry" class #1873

Merged
merged 1 commit into from
Jun 7, 2023
Merged

Define a "plugin registry" class #1873

merged 1 commit into from
Jun 7, 2023

Conversation

happz
Copy link
Collaborator

@happz happz commented Feb 23, 2023

The class is fairly trivial, but draws a clear distinction between an arbitrary dictionary and a "plugin registry" object. New types of plugins are heading our way, therefore making boundaries more visible, to clear up responsibilities.

Part of the effort behind #1838 and #216.

@happz happz added this to the 1.23 milestone Feb 23, 2023
@happz happz force-pushed the explore-plugins-with-better-logging branch from 5abb3fd to fd333ef Compare February 26, 2023 13:51
@happz happz force-pushed the explore-plugins-with-better-logging branch from fd333ef to c3bdbf9 Compare March 6, 2023 21:48
@happz happz force-pushed the explore-plugins-with-better-logging branch 2 times, most recently from c06d64d to 23222bb Compare March 22, 2023 07:59
@happz happz force-pushed the explore-plugins-with-better-logging branch from 23222bb to 8924418 Compare April 17, 2023 07:39
@happz happz requested a review from thrix as a code owner April 17, 2023 07:39
@happz happz force-pushed the explore-plugins-with-better-logging branch 2 times, most recently from 843d30d to be83a35 Compare April 25, 2023 16:35
@happz happz modified the milestones: 1.23, 1.24 May 3, 2023
@happz happz force-pushed the explore-plugins-with-better-logging branch from be83a35 to 4a1d86a Compare May 4, 2023 08:56
@psss psss force-pushed the explore-plugins-with-better-logging branch from 47d5143 to f720ccc Compare May 4, 2023 13:45
@happz happz force-pushed the explore-plugins-with-better-logging branch from f720ccc to 05b5746 Compare May 4, 2023 14:55
Base automatically changed from explore-plugins-with-better-logging to main May 4, 2023 16:29
@happz happz marked this pull request as draft May 11, 2023 16:06
@happz happz force-pushed the plugin-registry-as-a-class branch from 956f46f to 73851e1 Compare May 26, 2023 14:05
@happz happz marked this pull request as ready for review May 26, 2023 14:05
@happz happz force-pushed the plugin-registry-as-a-class branch 3 times, most recently from 5a4f3c9 to b9ab7f5 Compare June 6, 2023 10:11
@happz
Copy link
Collaborator Author

happz commented Jun 6, 2023

Downstream patch has been submitted.

Copy link
Collaborator

@psss psss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks nice, thanks! Just two minor nitpicks.

tmt/plugins/__init__.py Show resolved Hide resolved
tmt/plugins/__init__.py Outdated Show resolved Hide resolved
@psss psss self-assigned this Jun 7, 2023
@happz happz force-pushed the plugin-registry-as-a-class branch from b9ab7f5 to df36f3d Compare June 7, 2023 10:50
The class is fairly trivial, but draws a clear distinction between
an arbitrary dictionary and a "plugin registry" object. New types
of plugins are heading our way, therefore making boundaries more
visible, to clear up responsibilities.
@psss psss force-pushed the plugin-registry-as-a-class branch from df36f3d to 8613691 Compare June 7, 2023 12:41
@psss psss changed the title Define "plugin registry" class Define a "plugin registry" class Jun 7, 2023
@psss
Copy link
Collaborator

psss commented Jun 7, 2023

Updated import in the prepare plugin somehow broke the internal test for prepare --how errata. @lukaszachy is preparing a patch.

@lukaszachy
Copy link
Collaborator

lukaszachy commented Jun 7, 2023

Updated import in the prepare plugin somehow broke the internal test for prepare --how errata. @lukaszachy is preparing a patch.

tmt/-/merge_requests/82 for those interested.

Edit: And Milos was faster with his /81 so I merged that instead.

@psss psss merged commit 8613691 into main Jun 7, 2023
13 of 15 checks passed
@psss psss deleted the plugin-registry-as-a-class branch June 7, 2023 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants