Skip to content

Rename repository and modules #137

Description

@victoralmau

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 to git_interface. All models and field names containing “github” should be renamed to “git”. The PyGithub dependency 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: The PyGithub dependency would be added and what “github_connector” currently has regarding the connection to github would be moved.
  • github_connector_odoo: It would be renamed to git_interface_odoo and would only have the git_interface module 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions