Commit graph

14 commits

Author SHA1 Message Date
Alejandro Rodríguez
86359ec854 Refactor repository paths handling to allow multiple git mount points 2016-06-29 22:30:31 -04:00
Connor Shea
903946c78a
Replace colorize gem with rainbow.
Colorize is a gem licensed under the GPLv2, so we can’t use it in GitLab without relicensing GitLab under the terms of the GPL. Rainbow is licensed under the MIT license and does the exact same thing as Colorize, so Rainbow was added in place of Colorize.

The syntax is slightly different for Rainbow vs. Colorize, and was updated in accordance.

The gem is still a dependency of Spinach, so it’s included in the development/test environments, but won’t be packaged with the actual product, and therefore doesn’t require we relicense the product.

An attempt at relicensing Colorize was made, but didn’t succeed as the library owner never responded.

Rainbow library: https://github.com/sickill/rainbow
Relevant issue regarding licensing in GitLab's gems: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3775
2016-06-03 10:37:09 -06:00
Jacob Vosmaer
ed38627ec5 Guard against trailing slashes in repos_path 2015-09-15 17:07:51 +02:00
Jacob Vosmaer
52d7813f2e Improve repo cleanup task
Clean up more than just global (legacy) repos. Also, instead of
deleting, just rename.
2015-09-15 16:10:29 +02:00
Dmitriy Zaporozhets
b8f12d1917 Replace GITLAB with GitLab in rake task descriptions 2015-06-23 16:52:40 +02:00
zenati
b0de6e9ae2 An in_namespace scope is already present 2015-06-09 13:42:01 +02:00
Daniel Steinborn
880fb9eac0 fixed rake task to block removed ldap users 2015-02-16 10:00:25 +01:00
Marvin Frick
1f902c2464 fixes the block_removed_ldap_users rake task
In e23a26a (and later 1bc9936) the API for Gitlab::LDAP::Adapter was
changed. I assume this rake task was an oversight in the refactoring of
the changed class.

While being on it, I noticed that already blocked users cannot be
blocked again.
2014-11-12 12:06:24 +01:00
Marvin Frick
ec61dfdc8c adds rake task to clean up deleted LDAP users 2014-06-26 16:09:15 +02:00
Johannes Schleifenbaum
cd19f82e51 Fix typos 2013-07-29 12:47:06 +02:00
Andrey Kumanyaev
67ccc8b52a Replace old hashes with new 1.9 ruby hashes (rebase) 2013-05-05 18:01:10 +04:00
Dmitriy Zaporozhets
d64090b8a9 No gitolite in project any more 2013-02-11 19:16:59 +02:00
Dmitriy Zaporozhets
2f019b2b4c cleanup rake tasks since no gitolite required 2013-02-09 15:21:19 +02:00
Dmitriy Zaporozhets
c5eba169cd Cleanup service tasks 2012-12-25 07:14:05 +03:00