我们使用Gitlab 7.8,我试图通过gitlab api在我们的prod服务器上获取完整的组列表,遗憾的是gitlab api只返回80个可用组中的20个组.任何帮助都将不胜感激.
command used is curl -k --header "PRIVATE-TOKEN: token of admin users" https://server_name/api/v3/groups
Run Code Online (Sandbox Code Playgroud)
以管理员身份运行并将管理员帐户添加到所有组也无济于事.
我刚刚安装了新版本的gitlab,在新安装ssl不能正常工作之后......它会抛出SSL23_GET_SERVER_HELLO:sslv3警报握手错误.ssh工作正常.唯一的区别我看到的是在旧的浏览器中说它使用的是TLS 1.0,在新版本中它说的是1.2.由于这与gitlab无关,我在stackoverflow中发布问题...
$ git clone https://gitlabserver/group/project.git
Cloning into 'project'...
* Couldn't find host gitlabserver in the _netrc file; using defaults
* Adding handle: conn: 0x282d6f8
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x282d6f8) send_pipe: 1, recv_pipe: 0
* About to connect() to gitlabserver port 443 (#0)
* Trying gitlabserver...
* Connected to gitlabserver port 443 (#0)
* successfully set certificate verify locations:
* CAfile: c:/Users/lanid/curl-ca-bundle.crt
CApath: none
* error:14077410:SSL …Run Code Online (Sandbox Code Playgroud) 我已将$ projectroot指向400GB的目录,其中包含n个git项目.早些时候我们只有很少的项目和gitweb开始非常快,一旦项目编号开始增长,它需要时间来加载.有没有办法加快?
我正在尝试查找clearcase视图的最后访问日期,perl脚本如下所示.
@Property = `cleartool lsview -prop $viewtag ` ;
foreach $property (@Property)
{
$last_accessed = $property if ( $property =~ /^Last accessed / );
# | cut -b 15-24 | awk -F '-' '{ print $3"/"$2"/"$1 }'
}
Run Code Online (Sandbox Code Playgroud)
如果cleartool命令失败,我面临的问题是perl脚本退出.即使cleartool返回错误,我希望perl继续.
BRs Mani.
我有以下用例,需要30个用户在一个项目(组件)上工作,可能由不同级别的团队使用.我想在任何级别维护发布分支或发布repo stable.什么是处理这个的最好方法.两个回购像稳定和一个克隆从它称为开发用户克隆并推动那里的变化,稳定将回到稳定的回购.
稳定的回购< - >开发回购< - >用户回购
要么
在单个repo中有两个分支作为稳定版本,另一个作为用户推动其更改的开发.
哪个最好?
如果是分支模型,则其他团队可能只克隆该分支而不是整个仓库.我不希望他们对特定分支进行结账,因为他们可能会从他们的回购中获得开发人员克隆.