我没有在gitlab中看到“接受合并请求”按钮,尽管它具有“开发人员”级别的访问权限。相反,有这样的信息:
Ready to be merged automatically
Ask someone with write access to this repository to merge this request.
根据文档,具有"Developer“访问权限的用户能够”管理合并请求“,但在这种情况下,这似乎是不可能的。我有两个“开发人员”级别的用户看到了这个问题,其中一个首先将项目推到了gitlab实例。我想他一定有写权限吧?
以下版本信息
GitLab 7.14.3
GitLab
我使用的是Gitlab CE,它是我通过omnibus包安装的,并且专门用于API组件。
我让另一个应用服务器使用cURL访问应用程序接口端点,因此对于Gitlab来说,看起来所有的请求都来自相同的IP地址。
当我尝试访问“受保护路径”时,例如登录或注册用户的前10个工作,然后Rack::Attack开始并抛出429个错误。
这是我找到的配置文件的路径:
/var/opt/gitlab/gitlab-rails/etc/rack_attack.rb
此文件的顶部有以下行:
#This file is managed by gitlab-ctl. Manual changes will be
#
我的master分支在受保护。
我只想对主进行小的(一行修改)提交。
我不想做一个新的分支和主人合并。
但是当我在主服务器上推代码时,我会收到消息:
remote: GitLab: You are not allowed to push code to protected branches on this project.
To https://gitlab.com/xyz/api_xyz.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs