Repository mirroring fails with error "You cannot create a branch with a 40-character hexadecimal branch name."
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Summary
I forked https://gitlab.com/gitlab-com/www-gitlab-com about four years ago. A few days ago, I fetched upstream and pushed the updated main to my fork at https://gitlab.com/ziegenberg/www-gitlab-com. Then I wanted to set up repository mirroring.
When mirroring from https://gitlab.com/gitlab-com/www-gitlab-com to https://gitlab.com/ziegenberg/www-gitlab-com, the following error message is sent via eMail:
Repository mirroring on ziegenberg/www-gitlab-com has been paused due to too many failures. The last failure was:
You cannot create a branch with a 40-character hexadecimal branch name.
Steps to reproduce
- Fork https://gitlab.com/gitlab-com/www-gitlab-com to https://gitlab.com/username/www-gitlab-com/
- Go to https://gitlab.com/username/www-gitlab-com/settings/repository
- Setup repository mirroring to mirror from https://gitlab.com/gitlab-com/www-gitlab-com
Example Project
Also reproducible on a newly forked repository: https://gitlab.com/ziegenberg/example-www-gitlab-com.
What is the current bug behavior?
Repository mirroring fails with error message send via eMail.
What is the expected correct behavior?
Repository mirroring should succeed.
Relevant logs and/or screenshots
error via eMail (shortend)
Delivered-To: <daniel@ziegenberg.at>
X-Mailgun-Sending-Ip: 192.237.158.143
X-Mailgun-Sid: WyJiYWY3MSIsICJkYW5pZWxAemllZ2VuYmVyZy5hdCIsICI5NDdiNCJd
Sender: gitlab@mg.gitlab.com
Date: Mon, 09 Aug 2021 08:05:34 +0000
From: GitLab <gitlab@mg.gitlab.com>
Reply-To: GitLab <noreply@gitlab.com>
To: daniel@ziegenberg.at
Message-ID: <6110e1ce76869_22447593d09528f3@gitlab-sidekiq-catchall-v1-55b9fb67d9-8pdg4.mail>
Subject: www-gitlab-com | Repository mirroring paused
Repository mirroring on ziegenberg/www-gitlab-com has been paused due to too many failures. The last failure was:
You cannot create a branch with a 40-character hexadecimal branch name.
To resume mirroring update your repository settings at https://gitlab.com/ziegenberg/www-gitlab-com/-/settings/repository.
--
You're receiving this email because of your account on gitlab.com.
Output of checks
This bug happens on GitLab.com.
Results of GitLab environment info
--
Results of GitLab application Check
--