【问题标题】:How can I push commit to Gerrit if "committer email address does not match your user account"?如果“提交者电子邮件地址与您的用户帐户不匹配”,我如何将提交推送到 Gerrit?
【发布时间】:2017-02-28 23:37:47
【问题描述】:

Gerrit type auth is http(apache2 用于认证(文件用户密码))

当我尝试 推源 HEAD:refs/for/master 我有错误:

remote: ERROR:  In commit 21875449d592efeb74543b836d7967e12befc944
remote: ERROR:  committer email address Workspace@Workspace-PC
remote: ERROR:  does not match your user account.
remote: ERROR:
remote: ERROR:  You have not registered any email addresses.
remote: ERROR:
remote: ERROR:  To register an email address, please visit:
remote: ERROR:  https://my_gerrit_site:4432/gerrit/#/settings/contact

当我尝试注册新电子邮件时,出现“500 内部服务器错误”(据我了解,此错误与 gerrit 类型身份验证有关)。 如果我属于管理员组,我就没有这个问题。

【问题讨论】:

    标签: gerrit http-authentication access-rights


    【解决方案1】:

    我属于 DEV 组,我为项目添加了一些访问权限:

    Reference: refs/heads/*
    Forge Committer Identity
    ALLOW DEV
    

    它帮助了我

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-08-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-06-03
      相关资源
      最近更新 更多