-
-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Labels
Description
Thinking especially in v19 I think it would be appropriate to take advantage of the migration of the modules to rename them properly, I think the right approach would be:
github_connector: it would be renamed togit_interface. All models and field names containing “github” should be renamed to “git”. ThePyGithubdependency of the module would be removed. A field (git_source) would be added (e.g. in organizations) to indicate the source (github/gitlab, etc).git_interface_github: ThePyGithubdependency would be added and what “github_connector” currently has regarding the connection to github would be moved.github_connector_odoo: It would be renamed togit_interface_odooand would only have thegit_interfacemodule dependency.
This approach would allow to add other sources and create for example a new git_interface_gitlab module that would allow to add the gitlab organizations/repositories/modules “with almost no effort” because the main logic would already be in git_interface.
For consistency with all this, a new OCA/interface-git repository (or similar) should be created to move the modules in v19 to that repository.
What do you think?
Ping @pedrobaeza