summaryrefslogtreecommitdiff
path: root/lib/gitlab_projects.rb
Commit message (Collapse)AuthorAgeFilesLines
* Track ongoing pushes and reject mv-storage commands if there are push ↵mv-storageAlejandro Rodríguez2016-07-271-2/+22
| | | | running (after waiting some time)
* Add command to move repositories between repository storagesAlejandro Rodríguez2016-07-271-0/+32
|
* Allow gitlab-project's fork-project command to fork projects between ↵Alejandro Rodríguez2016-07-261-1/+8
| | | | different repository storages
* Refactor repository paths handling to allow multiple git mount pointsshardsAlejandro Rodríguez2016-06-291-1/+1
|
* Remove the update-head command since GitLab doesn't use it anymoreRémy Coutable2016-04-281-17/+0
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Revert "Remove unused #list_remote_tags"revert-53Rémy Coutable2016-04-251-0/+22
| | | | | | This reverts commit f5e87590d463b4b3d1bf5cd6b49a9d0d60acd552. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Remove branch functionalityRobert Schilling2016-04-191-15/+0
|
* Remove rm-tag commandRobert Schilling2016-04-181-7/+0
|
* Remove unused #list_remote_tagsRobert Schilling2016-04-161-22/+0
|
* Revert "Do not prune objects during 'git gc'"Jacob Vosmaer2016-04-061-1/+1
| | | | | | | This reverts commit 1ca8a44f0baa1728650308fe992f42660170ae16. Never pruning loose objects at all is not really a solution for anything, and it causes annoying `git gc --auto` warnings.
* Add new command to list tags from a remote repo.Rubén Dávila2016-03-311-1/+24
| | | | | | The output of the `git ls-remote` command is written to the STDOUT so the client can read and parse the list of tags. If there is an error it's also written to STDOUT.
* Add the ability to fetch remote repo without tags.gl_ee_issue_116Rubén Dávila2016-03-301-2/+6
| | | | | | When fetching remote repo with tags the new remote tags are mixed in with the local tags (all tags are saved under refs/tags), this affects the UI of the Project given that we're showing up tags of a remote repo.
* Add new commands: push-branches and delete-remote-branches.Rubén Dávila2016-03-211-0/+43
|
* Do not prune objects during 'git gc'Jacob Vosmaer2016-03-141-1/+1
| | | | | This is a workaround to reduce the impact of https://gitlab.com/gitlab-org/gitlab-ce/issues/13524 .
* Remove redundant `|| false`Douwe Maan2016-03-031-1/+1
|
* 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.