Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #4501

Closed
Open
Created Jul 05, 2013 by Administrator@rootOwner

Merge request do not work wnen a group and a repositary have the same name.

Created by: koorchik

Summary

Merge request do not work wnen a group and a repositary have the same name.

Steps to reproduce:

  1. There was a repositary named "xjs".
  2. I've created a group named "xjs".
  3. Then moved the repositary to the group.
  4. Create merge request in "xjs" repo.

Observed behavior:

After that the gitlab started to return 500 error while automerge check.

Expected behavior

Automerge check should work.

Relevant logs:

Grit::InvalidGitRepositoryError (/home/git/gitlab-satellites/xjs/xjs):
lib/gitlab/satellite/satellite.rb:77:in `new'
lib/gitlab/satellite/satellite.rb:77:in `repo'
lib/gitlab/satellite/action.rb:24:in `block (2 levels) in in_locked_and_timed_satellite'
lib/gitlab/satellite/satellite.rb:61:in `block (2 levels) in lock'
lib/gitlab/satellite/satellite.rb:60:in `chdir'
lib/gitlab/satellite/satellite.rb:60:in `block in lock'
lib/gitlab/satellite/satellite.rb:57:in `open'
lib/gitlab/satellite/satellite.rb:57:in `lock'
lib/gitlab/satellite/action.rb:23:in `block in in_locked_and_timed_satellite'
lib/gitlab/satellite/action.rb:22:in `in_locked_and_timed_satellite'
lib/gitlab/satellite/merge_action.rb:14:in `can_be_merged?'
app/models/merge_request.rb:111:in `check_if_can_be_merged'
app/controllers/merge_requests_controller.rb:73:in `automerge_check'

Renaming repo to something that differs from the group name fixed the issue (only sattelites regeneration was required)

Assignee
Assign to
Time tracking