summaryrefslogtreecommitdiff
path: root/lib/gitlab_projects.rb
Commit message (Collapse)AuthorAgeFilesLines
* Added an optional --force parameter for gitlab-projects fetch-remotefeature/fetch-remote-forcedGabriel Mazetto2016-03-031-1/+6
| | | | | | The optional parameter will decide wheter to fetch using --force or not. fetching with --force is a requirement for Gitlab Geo secondary node replication.
* Merge branch 'master' of https://gitlab.com/jnijhof/gitlab-shellJeroen Nijhof2016-01-041-2/+13
|\ | | | | | | | | Conflicts: lib/gitlab_projects.rb
| * Check if path exists for gcJeroen Nijhof2015-11-191-0/+4
| |
| * Added git gc for housekeepingJeroen Nijhof2015-10-211-3/+10
| |
* | Add fetch-remote commandDouwe Maan2015-11-111-0/+25
| |
* | Exit with non-zero status when import-repository failsDouwe Maan2015-11-111-6/+10
|/
* Handle broken symlinks in create-hookscreate-hooks-broken-symlinkJacob Vosmaer2015-08-121-4/+12
| | | | | | | If a repository contained a broken symlink named 'hooks', this would raise ENOENT in lib/gitlab_projects.rb, which got ignored in bin/create-hooks. This commit fixes that by making sure we handle broken symlinks in lib/gitlab_projects.rb.
* Correct spelling: Symlinking is short for symbolic linkingPetrik de Heus2015-02-271-1/+1
|
* Return true if no action was needed during create_hooks. Log to logger ↵Marin Jankovski2015-01-161-1/+6
| | | | actions taken.
* masking access_token from url for loggingValery Sizov2015-01-131-0/+1
|
* Delete tags and branches that start with hyphenCiro Santilli2014-10-311-2/+2
|
* Added list-projects command & specDavid Martin2014-10-151-1/+9
| | | | | | | | | | list-projects command usage Single quotes Use single quotes Use single quotes
* Add '.old' when renaming existing hooks directoryJacob Vosmaer2014-09-161-1/+1
|
* Symlink the whole hooks directoryJacob Vosmaer2014-09-161-4/+6
|
* Git remote remove only available in git > 1.7.12Dmitriy Zaporozhets2014-09-121-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Merge pull request #175 from yglukhov/security-issueDmitriy Zaporozhets2014-09-111-2/+20
|\ | | | | Security issue: imported URLs are stored along with password.
| * Security issue: imported URLs are stored along with password.uran2014-08-281-2/+20
| |
* | GitlabAccess and GitlabPostReceive classes addedDmitriy Zaporozhets2014-09-011-3/+5
|/ | | | | | Gitlab Access handles security check. GitlabPostReceive creates a sidekiq job Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Adding support+tests for annotated tags.Sean Edge2014-07-091-1/+6
|
* Add process wait for importDmitriy Zaporozhets2014-03-131-1/+3
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Dont import repo if existsDmitriy Zaporozhets2014-03-131-0/+3
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Use KILL instead of TERMDmitriy Zaporozhets2014-03-121-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Use Process spawnDmitriy Zaporozhets2014-03-121-2/+5
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add support for import repo timeoutDmitriy Zaporozhets2014-03-121-1/+16
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Make GitlabProjects#create_hooks a class methodJacob Vosmaer2014-02-261-9/+9
|
* Remove unused open3 dependencyJacob Vosmaer2013-11-191-1/+0
|
* Separate options from arguments with --Jacob Vosmaer2013-11-071-4/+4
|
* Prevent update-head fail if branch not present in refs/headDmitriy Zaporozhets2013-11-061-5/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Remove chdirs from GitlabProjectsJacob Vosmaer2013-11-051-4/+4
|
* Bypass the shell in GitlabProjectsJacob Vosmaer2013-11-011-14/+14
|
* Refactor hook creation in GitlabProjectsJacob Vosmaer2013-11-011-14/+10
|
* Fix typosJohannes Schleifenbaum2013-07-291-1/+1
|
* Remove empty post-receive hookJacob Vosmaer2013-07-191-4/+1
|
* Merge pull request #69 from ↵Dmitriy Zaporozhets2013-07-081-0/+30
|\ | | | | | | | | thomasbiddle/support_adding_and_removing_branches_and_tags Support adding and removing branches and tags
| * Support Adding and Removing of branches and tagsTJ (Thomas) Biddle2013-06-141-0/+30
| | | | | | | | | | | | | | | | | | This commit adds support to create and remove branches and tags from gitlab-shell. The code style was followed as closely as possible to the original. The purpose of this commit is that I will be adding support to the Gitlabhq (Gitlab) project in order to allow adding and removing of branches and tags through their API.
* | Update head featureDmitriy Zaporozhets2013-06-101-1/+22
| |
* | Use :warn instead of :error for invalid commands.ash2013-05-181-1/+1
| |
* | Log during failure cases of fork-project.ash2013-05-181-5/+14
| |
* | Log failure conditions encountered during mv-projects.ash2013-05-181-6/+15
| |
* | Logging messages for successful commands.ash2013-05-171-0/+7
|/
* bug fix for namespaced project forkingagutong-dev2013-04-171-1/+1
|
* additional fork check and enhanced testsAngus MacArthur2013-04-161-0/+5
|
* more fixes for pull reuestAngus MacArthur2013-04-161-5/+14
| | | | Change-Id: I1b3d64d79187c414e326928a96427d1cc6176224
* fork fixes for upstream pullAngus MacArthur2013-04-161-1/+1
| | | | Change-Id: Ia48a93ccbfea6fdc0791ce25cf3e6291bfe7fa08
* add fork_project commandAngus MacArthur2013-04-111-0/+13
|
* return non-zero status if gitlab-projects or gitlab-keys cmd was not successfulv1.2.0Dmitriy Zaporozhets2013-03-251-0/+1
|
* mv-project feature addedDmitriy Zaporozhets2013-03-121-0/+26
|
* tests added: GitlabNet check, GitlabProject execDmitriy Zaporozhets2013-03-111-0/+2
|
* Cover with tests GitlabProjectsDmitriy Zaporozhets2013-03-111-2/+12
|
* Fix truncate repos. Added path option to importv1.0.3Dmitriy Zaporozhets2013-02-091-2/+2
|