gitlab

How to create a GitLab merge request via command line

别说谁变了你拦得住时间么 提交于 2019-12-17 23:16:35
问题 We are working on integrating GitLab (enterprise edition) in our tooling, but one thing that is still on our wishlist is to create a merge request in GitLab via a command line (or batchfile or similar, for that matter). We would like to integrate this in our tooling. Searching here and on the web lead me to believe that this is not possible with native GitLab, but that we need additional tooling for that. Am I correct? And what kind of tooling would I want to use for this? 回答1: It's not

Can't clone gitlab's repo via ssh, via http - OK

左心房为你撑大大i 提交于 2019-12-17 22:52:33
问题 I'm new to gitlab and CI so i had tons of questions but some of them solved via google, SO, git mans, but not the last ... I can't clone repo via ssh =( If i try to clone repo via http: lesha@lesha-SeoTeam:/var/www$ git clone http://gitlab.vbox/root/virtualboxgitlab.git Cloning into 'virtualboxgitlab'... Username for 'http://gitlab.vbox': root Password for 'http://root@gitlab.vbox': warning: You appear to have cloned an empty repository. That's OK! But via ssh ... lesha@lesha-SeoTeam:/var/www

How to import an existing bare git repository into Gitlab?

我的梦境 提交于 2019-12-17 22:42:37
问题 I import my bare git repository into Gitlab as described as here , because it was not recognized as an git repository, but creates a 94K big 'empty' repo (the original is 2,8GB big): $ bundle exec rake gitlab:import:repos RAILS_ENV=production fatal: Not a git repository (or any of the parent directories): .git Processing test.git INFO: Sidekiq client using redis://localhost:6379 with options:namespace=>"resque:gitlab"} * Created test (test.git) Done! As a workaround I replace the empty

Download a GitLab private repository

丶灬走出姿态 提交于 2019-12-17 22:40:36
问题 I want to use curl to download my private repo in GitLab. I know I can use the Gitlab API, but for some reason, It doesn't work. Is this possible? When I try to do it this way, it always returns the login page. 回答1: This is possible, just follow these steps: First, you have to create a "Personal Access Token": Go to Your Profile > Settings > Access Tokens. Enter a name for your "Personal Access Token". Check " api Access the authenticated user's API" Click "Create personal access token" The

How to use GoLang with a private Gitlab repo?

限于喜欢 提交于 2019-12-17 21:46:53
问题 Gitlab is a free, open-source way to host private .git repositories but it does not seem to work with GoLang. When you create a project it generates a URL of the form: git@1.2.3.4:private-developers/project.git where: 1.2.3.4 is the IP address of the gitlab server private-developers is a user group which has access to the private repo Golang 1.2.1 doesn't seem to understand this syntax. go get git@1.2.3.4:private-developers/project.git results in: package git@23.251.148.129/project.git:

CentOS7安装gitlab中文版

笑着哭i 提交于 2019-12-17 18:42:23
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 1.安装软件包及解决依赖项 yum groupinstall "Development tools" yum install gcc autoconf cmake unzip vim libcurl-devel zlib-devel curl-devel expat-devel gettext-devel openssl-devel perl-devel nodejs libicu-devel wget curl 安装git 如果已经用yum安装过git,并且版本低于2.7.4,要先卸载掉旧的版本 yum remove git 使用源码编译安装git mkdir /tmp/git && cd /tmp/git curl -O --progress https://www.kernel.org/pub/software/scm/git/git-2.10.0.tar.gz tar -xzf git-2.10.0.tar.gz cd git-2.10.0 ./configure make prefix=/usr/local all # 安装到/usr/local/bin make prefix=/usr/local install # 验证git版本号 git --version #查看git安装路径 which

Git Clone Fails with sslRead() error on OS X Yosemite

血红的双手。 提交于 2019-12-17 18:36:29
问题 I'm currently on OS X Yosemite 10.10.3, and trying to git clone an existing repo which works fine on Windows. I've tried a combo of installing git through homebrew with curl/openssl with no luck. When i run the git clone, i get the following ssl read error: GIT_CURL_VERBOSE=1 git clone http://myURL/gitlab/project/project.git > remote: Counting objects: 1641, done. remote: Compressing objects: > 100% (1588/1588), done. > * SSLRead() return error -98061641), 136.73 MiB | 1.71 MiB/s > * Closing

Getting “Repositroy test has failed” error while cloning repository from Gitlab in Android Studio?

南楼画角 提交于 2019-12-17 18:15:05
问题 I will like to clone my android code from gitlab repository in Android Studio 0.8.1.I checked into VCS >> Checked out from Version Control >> Git >> Added HTTP url here.It prompts me that "Repositroy test has failed".Kindly help me to sort out the issue.I have checked the plugins as well.Thanks a lot. 回答1: You need to download and install git from http://git-scm.com/downloads Then you need to track the git.exe on AndroidStudio: Go to Settings > Project Settings > Version Control > VCSs > Git

Transfer git repositories from GitLab to GitHub - can we, how to and pitfalls (if any)?

眉间皱痕 提交于 2019-12-17 17:19:30
问题 Can one transfer repositories from GitLab to GitHub if the need be. If so, how exactly can I go about doing the same? Also, are there any pitfalls in doing so or precautionary measures that I need to keep in mind before doing so given that I may decide to eventually move them to GitHub (as it has more features at the moment that I might find handy for my project). 回答1: You can transfer those (simply by adding a remote to a GitHub repo and by pushing them) create an empty repo on GitHub git

SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

筅森魡賤 提交于 2019-12-17 16:37:53
问题 i just installed new version of gitlab, after new installation ssl is not working... it throws SSL23_GET_SERVER_HELLO:sslv3 alert handshake error. ssh is working fine. only difference i see is in old browser says it is using TLS 1.0 and in new version it says 1.2. Since this is nothing to do with gitlab i posting the problem in stackoverflow... $ git clone https://gitlabserver/group/project.git Cloning into 'project'... * Couldn't find host gitlabserver in the _netrc file; using defaults *