Skip to content

Rename GitlabReleasesClient to GitlabReleasesGemClient

Dat Tang requested to merge dattang/rename-GitlabReleasesClient into master

What does this MR do and why?

Describe in detail what your merge request does and why.

Content

  • Rename GitlabReleasesClient to GitlabReleasesGemClient

We use the naming convention GitLabClient to make the client classes for interacting with the GitLab instances that we manage (GitlabClient , GitlabDevClient and GitLabOpsClient).

At the same time, GitlabReleasesClient is used for interacting with the releases gem https://gitlab.com/gitlab-org/ruby/gems/gitlab-releases.

During gitlab-com/gl-infra/delivery#20289, we now need to create a client to interact with release.gitlab.net instance. It is named GitlabReleaseClient, so it's very confusing with GitlabReleasesClient. Thus, GitlabReleasesClient is renamed to GitlabReleasesGemClient to avoid the confusion and make it clear about the purpose of the class.

Author Check-list

  • Has documentation been updated?

Merge request reports