Marin Jankovski
e5951cf4ae
Don't forget to splat.
2014-12-12 10:42:55 +01:00
Marin Jankovski
bd43cf0653
Use system where only return result is needed.
2014-12-12 10:17:07 +01:00
Marin Jankovski
cd4c65c159
Use shell invocation according to the shell commands guidelines.
2014-12-11 13:17:43 +01:00
Dmitriy Zaporozhets
f7bf892cca
Revert "gitlab shell works if multiple rubies installed"
...
This reverts commit 533f4cdf30
.
2014-11-18 17:14:36 +02:00
Ciro Santilli
533f4cdf30
gitlab shell works if multiple rubies installed
...
Before this it would fail because git hooks automatically prepend
things to the path, which can lead the wrong Ruby version to be called
in which dependencies are not installed.
To make sure that this is correct, the forked_merge_requests commented
out test that depends on this change was uncommented.
For that test to pass, it is also necessary to setup the mock server
on port 3001 under test_env.rb.
2014-11-18 11:38:23 +01:00
Dmitriy Zaporozhets
6641341b65
Merge pull request #8254 from cirosantilli/factor-get-shell-version
...
Factor GITLAB_SHELL_VERSION get method
2014-11-08 11:04:56 +02:00
Ciro Santilli
e4a38e4471
Factor using Repository#path_to_repo
2014-11-05 17:51:49 +01:00
Ciro Santilli
f36db59d97
Factor GITLAB_SHELL_VERSION get method
2014-11-05 17:16:04 +01:00
Dmitriy Zaporozhets
f4178f9601
Merge pull request #8005 from cirosantilli/settings-to-gitlab-config
...
Use Gitlab.config instead of Settings everywhere
2014-10-27 19:18:48 +02:00
Jacob Vosmaer
90e960f4ce
Merge pull request #8088 from cirosantilli/sh-str-to-args
...
Use argument list for sh instead of string
2014-10-23 12:23:40 +02:00
Ciro Santilli
a3623a9691
Use argument list for sh instead of string
...
Faster, more portable and less error prone since no shell expansion.
2014-10-18 22:49:56 +02:00
Ciro Santilli
2901042196
Replace match with end_with: more readable, faster
2014-10-18 22:41:39 +02:00
Ciro Santilli
39c66c822e
Use Gitlab.config instead of Settings everywhere
2014-10-15 23:01:31 +02:00
Dmitriy Zaporozhets
28b6f09fcc
Merge pull request #7823 from cirosantilli/test-fetch-shell
...
Only clone GitLab Shell on tests if necessary.
2014-09-24 12:58:10 +03:00
Ciro Santilli
065ab3e5f3
Only clone GitLab Shell on tests if necessary.
2014-09-22 21:37:52 +02:00
Jacob Vosmaer
4f61061cfb
Support sockets in 'rake gitlab 🐚 install'
2014-09-22 15:02:46 +02:00
Jacob Vosmaer
37d6293842
Write authorized_keys in tmp/tests during tests
...
This should reduce the number of gitlab-shell error messages while the
tests run.
2014-08-26 11:33:26 +02:00
Dmitriy Zaporozhets
394ac378f8
Fix markdown tests. Use new repo for testing. Fixed gitlab-shell test setup
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-07-31 23:05:30 +03:00
Dmitriy Zaporozhets
3a017a4e3c
Get gitlab-shell verion from file for install rake task
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-07-31 22:34:25 +03:00
Dmitriy Zaporozhets
87c397f577
More fixes to gitlab 🐚 install
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-05-02 14:13:45 +03:00
Dmitriy Zaporozhets
dd47f9532f
Fix gitlab-shell setup rake task
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-05-02 13:46:32 +03:00
Cyril Rohr
301c4068e1
Add rake task to install or upgrade gitlab-shell installation.
2014-04-08 15:12:18 +01:00
Jacob Vosmaer
779fa4a7b7
Use batch_add_keys in rake gitlab
🐚 setup
2014-03-14 15:49:11 +01:00
Dmitriy Zaporozhets
475f607a22
Use gitlab-shell authorized_keys truncation. Fix issue with authorized_keys stored in different location
2013-07-18 13:55:01 +03:00
Angus MacArthur
9c82bca5ee
fixes for gitlab restore with non-standard backup and repo dirs
...
These fixes will allow a restore of gitlab when the backups and
repositories directories are in non-standard locations (ie sub-dirs
of gitlabhq). Also allows the restore to be run from script
overriding the need of a user to confirm the rebuild of the
authorized_keys file.
2013-05-30 09:58:36 -04:00
Bhagavan Das
4bc7d98d65
Remove hardcoded refernce to gitlab-shell home. so that gitlab can be installed on any unix account other than git
2013-02-14 23:10:18 +00:00
Dmitriy Zaporozhets
d64090b8a9
No gitolite in project any more
2013-02-11 19:16:59 +02:00
Dmitriy Zaporozhets
433f2dbcef
task to build missing projects with gitlab-shell
2013-02-09 12:30:49 +02:00
Dmitriy Zaporozhets
cdcf69d0d9
gitlab;shell init script
2013-02-07 10:06:39 +02:00