gpt4 book ai didi

git - Gerrit复制到gitlab失败

转载 作者:行者123 更新时间:2023-12-02 14:20:02 27 4
gpt4 key购买 nike

当我配置从Gerrit到gitlab的复制时,replication_log会继续报告:

[2016-10-10 09:36:07,517] [d0b90d12] Missing repository created; retry replication to git@mo-3394cf6e0.mo.sap.corp:CI_prep_group/sprmvc-ui5.git
[2016-10-10 09:37:07,517] [d0b90d12] Replication to git@mo-3394cf6e0.mo.sap.corp:CI_prep_group/sprmvc-ui5.git started...
[2016-10-10 09:37:07,874] [d0b90d12] Created remote repository: git@mo-3394cf6e0.mo.sap.corp:CI_prep_group/sprmvc-ui5.git
[2016-10-10 09:37:07,874] [d0b90d12] Missing repository created; retry replication to git@mo-3394cf6e0.mo.sap.corp:CI_prep_group/sprmvc-ui5.git
[2016-10-10 09:38:07,875] [d0b90d12] Replication to git@mo-3394cf6e0.mo.sap.corp:CI_prep_group/sprmvc-ui5.git started...
[2016-10-10 09:38:08,259] [d0b90d12] Created remote repository: git@mo-3394cf6e0.mo.sap.corp:CI_prep_group/sprmvc-ui5.git

我的Replication.config文件:
  [remote "sprmvc-ui5"]
projects = sprmvc-ui5
url = git@mo-3394cf6e0.mo.sap.corp:CI_prep_group/sprmvc-ui5.git
push = +refs/heads/*:refs/heads/*
push = +refs/tags/*:refs/tags/*
push = +refs/changes/*:refs/changes/*
threads = 3

我的.ssh / config文件:
Host mo-3394cf6e0.mo.sap.corp
HostName mo-3394cf6e0.mo.sap.corp
User git
IdentityFile ~/.ssh/id_rsa
StrictHostKeyChecking no
UserKnownHostsFile /dev/null

谁能给我建议?

最佳答案

我通过在gitlab中创建一个新用户并给予其对我的项目的完全访问权限来维护它,并维护了来自gerrit服务器的公钥。

关于git - Gerrit复制到gitlab失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39956030/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com