Skip to content

Fix Github constant autoload in dev

Kassio Borges requested to merge kassio/github-importer-fix-autoload-in-dev into master

What does this MR do?

This is basically the same fix applied to the Jira constant (!62437 (merged))

In !62676 (merged) we renamed a model file from GithubService to Integrations::Github.

Subsequently, in development mode, Rails would error when we called the service files that are in the top-level ::Github namespace, rather than load them:

  • app/services/github
  • ee/app/services/github

Screenshots (strongly suggested)

** Before the fix (in dev):

GitHub_import___GitLab

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Kassio Borges

Merge request reports

Loading