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

Update base lib and adapt the plugin to it #12

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

gacarrillor
Copy link
Contributor

No description provided.

@@ -51,24 +37,22 @@ def create_service(
config.write(f)

if service_name in config:
return write_service_settings(service_name, settings)
pgserviceparser.write_service(service_name, settings)
return True

return False


def copy_service_settings(
Copy link
Member

Choose a reason for hiding this comment

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

shouldn't we drop the other methods (which are direct wrappers) and keep only this one?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, we could do it. My original intention was to keep the dialog away from the lib, and let it talk only with the wrapper, so as to do in the wrapper whatever adjustment we could eventually need.

If we remove the other methods, we'll have the dialog connected to both lib and wrapper, which is also possible. If that's fine for you, I'll proceed to remove them.

Copy link
Member

Choose a reason for hiding this comment

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

my original thought was to reduce the amount of code, but do as you think it's best.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK, let's leave it as it is for now and see how it evolves: if we need another direct link from the dialog to the lib for any reason, we'll remove all other methods from the wrapper. 👍

@gacarrillor gacarrillor merged commit 55d3c8d into main Apr 16, 2024
3 checks passed
@gacarrillor gacarrillor deleted the bring_updates_in_base_lib branch April 16, 2024 15:30
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.

2 participants