Dmitriy Zaporozhets
23d180f5f1
Merge branch 'ldap_check' of /home/git/repositories/gitlab/gitlabhq
2013-12-04 14:56:19 +00:00
Jacob Vosmaer
80302a0f6f
Limit the number of results in gitlab:ldap:check
2013-12-03 18:51:21 +01:00
Jacob Vosmaer
376cfc6ac6
Give more information in rake gitlab:ldap:check
2013-11-28 18:12:30 +01:00
Jacob Vosmaer
9f4909faad
Add LDAP check to rake gitlab:check
2013-11-28 15:20:40 +01:00
Jacob Vosmaer
562a461c56
Disable rake color output unless connected to TTY
2013-11-27 10:09:46 +01:00
Dmitriy Zaporozhets
b07c02eb13
Add more info to admin dashboard
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-11-20 13:41:41 +02:00
Dmitriy Zaporozhets
7101b22c2e
Recommend gitlab-shell 1.7.9 in docs and check task
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-11-20 12:34:14 +02:00
Jacob Vosmaer
0ab0ca0d9d
Use gitlab-shell 1.7.8
2013-11-14 13:35:45 +01:00
Dmitriy Zaporozhets
c28786ecbe
Require gitlab-shell 1.7.6
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-11-06 21:52:37 +02:00
Gabe Martin-Dempesy
17105038ca
add rake gitlab:import: all_users_to_all_groups and user_to_groups
...
I opted for admins to be added as "owners" instead of "masters" because project masters can managers members, but only group owners can manage members.
2013-11-02 17:12:29 -05:00
Dmitriy Zaporozhets
4c47a89fa5
Require gitlab-shell 1.7.4
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2013-11-01 16:58:24 +02:00
Perry Faro
5d98afb55b
Fix sidekiq start text in documentation and gitlab:check
2013-11-01 11:52:44 +01:00
Dmitriy Zaporozhets
9ab4539a62
Require gitlab-shell v1.7.3
2013-10-31 19:48:39 +02:00
Jacob Vosmaer
73d19bb320
Count sidekiq processes using String#scan
...
It seems there is no easy way to count pattern occurences with
String#match.
2013-10-17 12:01:29 +02:00
Marin Jankovski
f3d77a7661
Add invert match to sidekiq match.
2013-10-16 13:39:09 +02:00
Dmitriy Zaporozhets
3db47d12f2
Merge branch 'check_hooks' of /home/git/repositories/gitlab/gitlabhq
2013-10-07 10:29:00 +00:00
Jacob Vosmaer
99916fe159
Add troubleshooting hints to update hook check
2013-10-07 11:27:38 +02:00
Jacob Vosmaer
4017789f5a
Only kill sidekiqs belonging to gitlab user
2013-10-04 11:25:44 +02:00
Dmitriy Zaporozhets
e48c6fab60
Make rake gitlab:test works
2013-09-29 23:36:44 +03:00
Dmitriy Zaporozhets
9f8d50e996
gitlab:test rake task now includes jasmine and db setup
2013-09-29 17:43:33 +03:00
Dmitriy Zaporozhets
1df225bb38
Merge pull request #3006 from jweslley/master
...
add rake tasks for web hooks management
2013-09-29 05:24:11 -07:00
Johannes Schleifenbaum
b5d7bcb784
[gitlab:check] Fix detecting the status of sidekiq
...
If you are running another sidekiq instance on your server, e.g. GitLab
CI, the check script would parse the output of `ps aux` searching for
`sidekiq` and returning success, although the GitLab sidekiq may not be
running.
Now the `ps` call will only print the processes run by the GitLab user.
2013-09-27 16:06:06 +02:00
Jacob Vosmaer
1a9b0df767
Check whether only one sidekiq is running
2013-09-27 12:57:05 +02:00
Dmitriy Zaporozhets
b6adabb45d
Merge branch '6-1-stable'
...
Conflicts:
lib/tasks/gitlab/check.rake
2013-09-25 18:34:50 +03:00
Jacob Vosmaer
ddf873ad5e
Add gitlab-shell/bin/check to rake gitlab:check
...
We sometimes encounter connectivity issues where gitlab-shell cannot
make API calls to the Rails application. There is a self-test script
`gitlab-shell/bin/check` that tries to connect to the API; this commit
runs that script as part of `rake gitlab:check`.
2013-09-24 14:36:57 +02:00
Hiroyuki Sato
a5e19c4edc
Update check script
...
* GitLab Shell 1.7.1 is required
* Global projects are not supported (refs #5152 )
2013-09-24 15:32:56 +09:00
Marin Jankovski
cb6d7e5192
Rescue an error if group doesn't exist
2013-09-12 15:28:46 +02:00
C. Walker
24bc3e0874
Forgot to fix the comment instructions.
2013-09-06 16:45:42 -07:00
C. Walker
a9d3e6ce57
Fixed description.
2013-09-06 16:18:09 -07:00
James Newton
4994ebbb11
update gitlab:check to look for update hook, not post-receive
2013-08-27 16:15:32 -05:00
Austin Robertson
b74a50451c
Fix GitLab Shell version check
2013-08-22 13:10:18 -05:00
Dmitriy Zaporozhets
a6e57749dc
Use native repo path for import task. Skip wiki repos
2013-08-14 12:45:17 +03:00
Dmitriy Zaporozhets
02e859a234
move backup logic to lib. Fixed removing outdated backups
2013-08-05 12:26:33 +03:00
Johannes Schleifenbaum
cd19f82e51
Fix typos
2013-07-29 12:47:06 +02: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
Dmitriy Zaporozhets
5768f98d8d
Require gitlab-shell 1.6.0
2013-07-16 21:39:39 +03:00
Robert Schilling
c6464aa859
Remove gitolite repo check for import script
2013-06-23 19:00:10 +02:00
Dmitriy Zaporozhets
5cd988249f
Merge pull request #4140 from amacarthur/restore-fixes-clean
...
fixes for gitlab restore with non-standard backup and repo dirs
2013-06-11 02:12:06 -07:00
Dmitriy Zaporozhets
9a0e7c0e85
Merge pull request #4224 from hiroponz/fix-abort-gitlab-app-check
...
Fix abort gitlab:app:check
2013-06-11 01:48:18 -07:00
Sato Hiroyuki
c18564d2cb
Fix abort gitlab:app:check
...
When the file that pointed git bin_path in gitlab.yml dose'nt exist,
bundle rake gitlab:app:check would be aborted.
refs #4205
2013-06-06 10:10:51 +09:00
Axilleas Pipinellis
ff7e808043
Read init script recipe from Rails.root path. Fix #4174
...
Signed-off-by: Axilleas Pipinellis <axilleas@archlinux.gr>
2013-06-05 01:23:28 +03:00
Angus MacArthur
5f4fea17ad
Correction to restore expected current directory
2013-06-03 11:00:24 -04: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
bassrock
3db67ff09c
Update check.rake
2013-05-27 13:30:54 -06:00
James E. Flemer
5f9d78fdff
Include groups in import with import repos rake task
...
Expand the import glob to include `**/*.git` to find projects in groups
as well as top level projects. Check for existing group, and create
group if needed. Set namespace_id for imported projects.
2013-05-25 11:38:55 -06:00
Dmitriy Zaporozhets
76ffd11684
Merge pull request #3964 from mhfan/improve-sidekiq-check
...
improve regrex for match(sidekiq) robustness
2013-05-23 02:27:34 -07:00
Ben Bodenmiller
de29a424e6
changed Gitlab to GitLab
2013-05-19 02:13:39 -07:00
MeiHui FAN
dfe082fa1d
improve regrex for match(sidekiq) robustness
...
e.g.: the sidekiq in my Debian box is v2.11.1
2013-05-16 17:26:15 +08:00
Sato Hiroyuki
06805fff14
Config setting should be used in git version check.
2013-05-14 19:55:08 +09:00
Dmitriy Zaporozhets
e8b963fc32
Merge pull request #3858 from abalkin/issue-3857
...
Save backup time as is. Fixes #3857 .
2013-05-13 09:11:54 -07:00
Lev Abalkin
cef76fdd17
Save backup time as is. Fixes #3857 .
2013-05-08 16:42:29 -04:00
Sato Hiroyuki
862e0ff6b8
Add Gitlab::VersionInfo class to fix and simplify version check.
...
It returns "yes" if required version is "1.7.10" and current version is "1.6.10",
because the patch version of current version equals to that of required version.
2013-05-08 17:36:48 +09:00
Dmitriy Zaporozhets
af5d0e9e92
Merge pull request #3275 from Undev/feature/code_cleanup_remove_old_hashes
...
Code cleanup: Replace old hashes and remove trailing spaces
2013-05-07 06:59:03 -07:00
Sato Hiroyuki
3a8ee2291a
Fix check git version.
...
Checking is "yes" only if git version equals "1.7.10" exactly.
2013-05-07 17:12:44 +09:00
Lev Abalkin
7357ebc4a0
Save backup time as is. Fixes #3857 .
2013-05-06 19:58:10 -04:00
Dmitriy Zaporozhets
ff346c01fa
Check git version in gitlab:check
2013-05-06 15:08:53 +03:00
Andrey Kumanyaev
b1b354b0f8
remove trailing spaces
2013-05-05 18:02:02 +04:00
Andrey Kumanyaev
67ccc8b52a
Replace old hashes with new 1.9 ruby hashes (rebase)
2013-05-05 18:01:10 +04:00
Dmitriy Zaporozhets
3f46287842
require gitlab-shell v1.4.0
2013-04-30 14:49:35 +03:00
Angus MacArthur
2ad723e1c1
fixed broken gitlab version determination during backup
...
If the backup directory is not sub the gitlab install directory,
then the git rev-parse call will fail.
2013-04-23 16:14:13 -04:00
Dmitriy Zaporozhets
44d63b4cea
require gitlab:shell v1.3.0
2013-04-20 15:56:13 +03:00
Dmitriy Zaporozhets
a769662f18
Invoke shell setup after backup restore
2013-04-18 13:27:52 +03:00
Dmitriy Zaporozhets
bd4057910b
Merge pull request #3603 from axilleas/os-name
...
Added os_name support for systems running systemd.
2013-04-18 03:08:40 -07:00
axilleas
7305d98c8e
Added check_redis_version. Fixes #3449
...
Checking the redis version will warn users that
are using an old version to update. Included
reference to the troubleshooting guide.
2013-04-15 21:54:45 +03:00
Axilleas Pipinellis
efe9087606
Added os_name support for systems running systemd.
2013-04-15 18:05:48 +03:00
Dmitriy Zaporozhets
e230551940
backup/restore uploads
2013-04-10 15:41:47 +03:00
Dmitriy Zaporozhets
0da5a4fab1
separate rake task for migration and persistent one
2013-04-05 20:44:16 +03:00
Dmitriy Zaporozhets
c33d5e16fe
refactor backup/restore
2013-04-05 19:01:19 +03:00
Dmitriy Zaporozhets
38d23c0e5f
Replace db:backup/restore with native mysq/pg solution
2013-04-05 15:55:02 +03:00
Evan Wondrasek
f1b369b57d
Fixed: gitlab-shell version check error message
2013-03-28 11:03:00 -05:00
Dmitriy Zaporozhets
53e54ddf8a
require gitlab-shell v1.2.0 now
2013-03-25 15:19:06 +02:00
Kevin Lyda
415bade302
Result of misspellings run.
...
Most of these are comments but a few are strings for users.
Might be an idea to run this from time to time:
https://github.com/lyda/misspell-check
It runs mostly clean now.
2013-03-17 19:46:54 +00:00
Dan Knox
330fe4162e
Fix Wiki migration task and add more test coverage.
...
There was an error in the #extract_attributes_from_page method that
caused an exception when checking to see if a page named "Home"
already exists.
The check occurs to handle the renaming of the main index page to
"Home" to match the Gollum standard. If there is already a page
called "Home" then the migrator will leave that page and create
the Index page as usual. Users will need to manually rename their
old "Home" page to something else then rename their "Index" page
to "Home". Fortunately, I would be highly surprised if this case
ever comes up.
I also added more verbosity to the logging so if an error does
occur, it will be easier to track down which Wiki page is causing
the problem.
2013-03-16 18:01:48 -07:00
Dmitriy Zaporozhets
cf848fd06d
Merge pull request #3217 from chrislawlor/2437
...
Adds DB-sensitive tablename escape for backup task.
2013-03-16 02:26:01 -07:00
Dmitriy Zaporozhets
71ab011a17
Merge branch 'use_gollum_wikis' of https://github.com/DanKnox/gitlabhq into DanKnox-use_gollum_wikis
...
Conflicts:
app/views/layouts/project_resource.html.haml
app/views/wikis/edit.html.haml
app/views/wikis/pages.html.haml
app/views/wikis/show.html.haml
spec/features/gitlab_flavored_markdown_spec.rb
2013-03-15 16:55:07 +02:00
Chris Lawlor
3df5253cc3
Adds DB-sensitive tablename escape for backup task.
...
Uses ActiveRecord::Base.connection.quote_table_name.
Fixes issue 2437.
2013-03-14 13:30:25 -04:00
Dmitriy Zaporozhets
70fc1c5021
cleanup ProjectMover
2013-03-12 14:13:25 +02:00
Dmitriy Zaporozhets
147b93ee3e
check gitlab-shell version in gitlab:check
2013-03-12 12:53:07 +02:00
Dan Knox
f0aa54e0fb
Create Wiki migration task.
...
This commit adds a new Rake task for migrating all of your existing
Wiki content from your database into new Gollum repositories.
The bulk of the logic happens within the `WikiToGollumMigrator`
class which is decently test covered and located in the lib directory.
The new Rake task can be executed by running:
`bundle exec rake gitlab:wiki:migrate`
It will output a nice log of every project that it migrates along
with success or failure messages.
I have used it on my own installation to migrate my Wikis successfully.
2013-03-10 19:10:44 -07:00
Dmitriy Zaporozhets
9c2a6e2013
Merge pull request #3047 from mikew/capistrano-deploy-example
...
Capistrano deploy example
2013-03-07 02:08:11 -08:00
Axilleas Pipinellis
a3bbc5956b
We don't need to check .profile now that gitolite is replaced by gitlab-shell
2013-02-20 17:36:09 +02:00
Mike Wyatt
c6f5b96ba8
allow force=yes rake gitlab:setup for capistrano deploy:cold
2013-02-20 00:14:03 -03:30
Dmitriy Zaporozhets
b729728536
uppercase Gitlab version and revision constants. check api return gitlab version now
2013-02-16 14:42:22 +02:00
Jonhnny Weslley
836b561a12
add rake tasks for web hooks management
2013-02-15 16:35:03 -03: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
Bhagavan Das
08dfbc962b
rename setup to setup_db so that it does not collide with gitlab 🐚 setup task
2013-02-14 21:39:48 +00:00
Riyad Preukschas
428af5ea62
Merge pull request #2890 from cameronyule/support_osx_groups
...
OS X support for gitlab:check rake tasks
2013-02-14 11:07:46 -08:00
Martin Bastien
8353bd8ee3
Forgot gitlab-shell folder
2013-02-12 12:49:11 -05:00
Martin Bastien
6b96ca47e0
Some fix for gitlab:gitlab_shell:check
...
Fixing issue #2970
2013-02-12 12:42:36 -05:00
Dmitriy Zaporozhets
d64090b8a9
No gitolite in project any more
2013-02-11 19:16:59 +02:00
Dmitriy Zaporozhets
2d83e43db0
FIx gitlab:env:info
2013-02-11 10:02:52 +02:00
Dmitriy Zaporozhets
7a88bf0978
Fix gitlab:check
2013-02-11 09:58:02 +02:00
Dmitriy Zaporozhets
a404c43805
removing outdated checks
2013-02-09 15:34:04 +02:00
Dmitriy Zaporozhets
2f019b2b4c
cleanup rake tasks since no gitolite required
2013-02-09 15:21:19 +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
Dmitriy Zaporozhets
adfd36f26a
no need to run gitolite for enable_automerge
2013-02-05 13:30:56 +02:00
Cameron Yule
e0d62d9c5f
Replacing the manual parsing of the /etc/group file with the equivalent call from the Etc class in the Ruby standard library. This has the benefit of supporting additional platforms (e.g. OS X).
2013-02-02 20:04:07 +00:00
Riyad Preukschas
fac503877d
Port changes from #2803
2013-02-01 21:22:40 +01:00
Riyad Preukschas
42dd006dfc
Small fixes to the installation guide and check task
2013-02-01 21:06:44 +01:00
Riyad Preukschas
003c312104
Merge pull request #2440 from klamontagne/master
...
Don't setuid the repositories on installation
2013-02-01 20:56:03 +01:00
Lennart Rosam
f9a48f72d4
Fix issue #2790
2013-01-28 13:52:30 +01:00
Lennart Rosam
66ebf8d83f
Merge remote-tracking branch 'github/master'
2013-01-28 13:04:23 +01:00
Lennart Rosam
dc13af90b1
Fix rake task - Update method name
2013-01-28 12:54:07 +01:00
Alex Denisov
6ab6c55de5
Missed environment added to 'Try fixing it' block
2013-01-26 14:22:48 +00:00
Erwan Arzur
621ca86b9e
[import] - fix project import after refactoring
2013-01-22 19:07:11 +01:00
Riyad Preukschas
47e510e14f
Small fixes
2013-01-19 15:26:55 +01:00
Kevin Lamontagne
f4175219fb
Fix gitlab:check recommendation
...
Running the recommendation would give out:
GNU find: paths must precede expression
2013-01-18 14:14:32 -05:00
Riyad Preukschas
65c35466b6
Rename gitlab:app:setup task to gitlab:setup
2013-01-17 21:26:22 +01:00
Riyad Preukschas
bc59fd046f
Add a warning prompt to the setup task
2013-01-17 21:19:36 +01:00
Riyad Preukschas
9cab79cbe6
Fix gitolite config checks for old Gitolite versions
...
Fixes #2608
2013-01-17 00:43:35 +01:00
Riyad Preukschas
8f9dec2883
Fix check.rake to use the new user and group settings
2013-01-17 00:09:08 +01:00
VonC
471b5910a6
Fix git group detection for gitolite ssh user.
...
The tasks gitlab:env:info mixes user and group, and presume as a group 'git'.
However, gitolite group name can be anything.
That patch add the git group name in the config,
and check gitolite.ssh_user group against git.group
(which defaults to 'git', as before this patch, if undefined).
M config/gitlab.yml.example:
Add 'group' in 'git' section
Mention default value for the two extra settings
M lib/tasks/gitlab/check.rake:
Check that gitolite.ssh_user *group* is the one defined in git.group.
Make sure to default to 'git' as the expected group
if said group is undefined in the config.
Note: uses a more complete regexp for the group detection
(the group can start, end or be in the middle or the list of groups
of gitolite.ssh_user)
M: config/initializers/1_settings.rb:
Add default values for gitolite.group and gitlab.user
2013-01-14 11:44:27 +00:00
Riyad Preukschas
eb626edd3f
Replace all stat command line calls with ruby equivalents
2013-01-12 01:25:01 +01:00
Riyad Preukschas
4d0af232da
Make method names clearer in check.rake
2013-01-12 01:24:57 +01:00
Riyad Preukschas
a213d4b9e8
Move OS detection to task helpers and add detection of OS X
2013-01-12 01:24:51 +01:00
Riyad Preukschas
7cd03836e5
Fix sidekiq check task
2013-01-10 00:09:09 +01:00
Dmitriy Zaporozhets
6869a56403
Fix sidekiq chech and added script/check
2013-01-09 20:31:05 +02:00
Dmitriy Zaporozhets
9773ccc451
sidekiq with green tests
2013-01-09 09:14:05 +03:00
Riyad Preukschas
71c8801eef
Fix checking for the recommended Gitolite version
...
Fixes #2475
2013-01-07 21:20:20 +01:00
Riyad Preukschas
ea8cd13f79
Fix check for outdated config file
2013-01-07 21:20:20 +01:00
Riyad Preukschas
b5f116f08b
Add a check whether repos_path is a symlink
2013-01-07 21:20:20 +01:00
Riyad Preukschas
b7314a1687
Fix bug in OS detection in check task
2013-01-07 21:20:20 +01:00
Riyad Preukschas
11e28aff7d
Fix accessing the project repository path in check task
...
Fixes #2496
2013-01-07 21:20:19 +01:00
Riyad Preukschas
0a16039924
Merge pull request #2504 from mitchty/sles_changes
...
Update info.rake to be able to run successfully on SuSE.
2013-01-07 10:15:27 -08:00
Riyad Preukschas
9be4c5558f
Merge pull request #2485 from gliptak/patch-2
...
Renaming check function from 1056 to 1059
2013-01-07 09:41:27 -08:00
Mitch Tishmack
3e89244e08
Update info.rake to be able to run successfully on SuSE.
2013-01-07 11:21:35 -06:00
Dmitriy Zaporozhets
2c8a46e0fe
Fix backup/restore path_to_repo
2013-01-05 23:29:48 +02:00
gliptak
29623d77e4
Renaming check function from 1056 to 1059
2013-01-04 10:14:55 -05:00
Dmitriy Zaporozhets
e5ff5c2869
Use project with namespace in email subject
2012-12-31 18:22:44 +02:00
Dmitriy Zaporozhets
8392449599
Fix backup/restore of repos
2012-12-31 12:01:05 +02:00
Kevin Lamontagne
c816dcc105
Don't setuid the repositories (Rake checks)
2012-12-30 21:46:28 -05:00
Dmitriy Zaporozhets
96d49bf04c
Use sdoc to generate application code documentation
2012-12-30 14:43:00 +02:00
Dmitriy Zaporozhets
d03964d6ec
Fixed and improved enable_naamespace migration task
2012-12-28 06:14:05 +03:00
Valeriy Sizov
c4536ae587
Merge pull request #2376 from sriharshav/fixed
...
Fix replace return with next in rake rask
2012-12-26 05:02:56 -08:00
Sriharsha Vardhan
d41aac629b
Fix replace return with next in rake rask
2012-12-25 12:13:50 +05:30
Dmitriy Zaporozhets
c5eba169cd
Cleanup service tasks
2012-12-25 07:14:05 +03:00
Dmitriy Zaporozhets
a87fccc083
Update projects in gitolite after namespace moved. Added rake task to cleanup garbage from gitolite
2012-12-24 20:02:08 +02:00
Riyad Preukschas
dea8628171
Merge branch 'stable'
2012-12-24 16:48:32 +01:00
Riyad Preukschas
8ef7b9b6d1
Make SQLite check in gitlab:check more robust
2012-12-24 16:45:10 +01:00
Riyad Preukschas
0e15270b75
Fix crash in gitlab:check while checking hooks
2012-12-24 16:45:08 +01:00
Riyad Preukschas
d9ca1bce7a
Fix paths in gitlab:check
2012-12-24 16:45:03 +01:00
Riyad Preukschas
2462949fd5
Update output of gitlab:gitolite:update_*
2012-12-23 21:16:26 +01:00
Riyad Preukschas
31e0fa6572
Update output of gitlab:enable_namespaces
2012-12-23 21:16:08 +01:00
Riyad Preukschas
1b6c28b976
Update output of gitlab:backup:resore
2012-12-23 21:15:25 +01:00
Riyad Preukschas
430d3ad45b
Update output of gitlab:enable_automerge
2012-12-23 21:14:30 +01:00
Riyad Preukschas
224da71177
Extract task helper methods
2012-12-23 21:13:57 +01:00
Riyad Preukschas
9655350c79
Fix check.rake
2012-12-23 21:13:57 +01:00
Riyad Preukschas
a9e2fa4c35
Fix output of gitlab:check
2012-12-23 20:51:27 +01:00
Riyad Preukschas
3bf0b4e25b
Fix satellite check for projects with empty repo
...
Fixes #2349
2012-12-23 20:51:27 +01:00
Dmitriy Zaporozhets
60038a99ca
Import: Skip if not git repo
2012-12-23 00:18:39 +02:00
Dmitriy Zaporozhets
fa8f834374
Fix import rake task and tests
2012-12-23 00:15:48 +02:00
Dmitriy Zaporozhets
988e6ac205
Fix #2220
2012-12-22 14:34:38 +02:00
Riyad Preukschas
1acff973c8
Rename add_user_to_project_teams to gitlab:import:user_to_projects
...
Rename add_users_to_project_teams to gitlab:import:all_users_to_all_projects
2012-12-20 21:52:37 +01:00
Riyad Preukschas
c9bf2bb288
Rename gitlab:app:backup_* to gitlab:backup:*
...
Rename gitlab:app:db_* to gitlab:backup:db:*
Rename gitlab:app:repo_* to gitlab:backup:repo:*
Rename *_dump to *_create
2012-12-20 21:52:35 +01:00
Riyad Preukschas
56f9a674a6
Add gitlab:satellites:create as an alias for gitlab:enable_automerge
2012-12-20 21:52:26 +01:00
Riyad Preukschas
501f048846
Rename gitlab:app:enable_automerge to gitlab:enable_automerge
2012-12-20 20:22:25 +01:00
Riyad Preukschas
e3a7e43ff4
Rename gitlab:activate_namespaces to gitlab:enable_namespaces
2012-12-20 20:22:25 +01:00
Riyad Preukschas
4c8ac320dd
Updated gitlab:check task
2012-12-20 16:54:28 +01:00
Riyad Preukschas
19eb637419
Update uses of Gitolite.config.foo settings
2012-12-20 16:54:28 +01:00
Riyad Preukschas
645afc384a
Display namespace for projects in gitlab:check task.
2012-12-14 21:13:07 +01:00
Riyad Preukschas
69c18903e7
Update gitlab:check task to use the Gitlab.config.ssh_user setting
2012-12-14 20:22:34 +01:00
Riyad Preukschas
c3b9774f4b
Update and add checks
2012-12-13 12:11:41 +01:00
Riyad Preukschas
71266ad28f
Split and renamed check tasks
2012-12-13 12:09:48 +01:00
Riyad Preukschas
0236b3d17e
Rename status rake task to check
2012-12-13 12:09:48 +01:00
Riyad Preukschas
9f940aeaf4
Fix detecting Ruby version and Omniauth providers in gitlab:env:info task
...
Fixes #2245
2012-12-10 22:53:33 +01:00
Riyad Preukschas
12b4bb5946
Make gitlab:env:info task more robust
...
Closes #2213
2012-12-07 16:42:09 +01:00
Riyad Preukschas
23a8e59938
Improve gitlab:env:info task
...
Renamed from gitlab:app:info
Add several extra info points
2012-12-06 21:16:48 +01:00
Jon Evans
32d9c223a5
Spelling fix to rake info task
2012-12-06 14:10:42 -05:00
Johannes Schleifenbaum
b39aba73d5
add rake task to gather system information
2012-12-05 22:06:47 +01:00
Dmitriy Zaporozhets
10ec9b2293
Merge pull request #2017 from duksis/backup_restore
...
bugfix: backup data retrieved with the same type keys as saved
2012-11-30 12:48:27 -08:00
Dmitriy Zaporozhets
ae282f6326
remove invalid condition
2012-11-25 18:29:18 +02:00
Dmitriy Zaporozhets
04b51a2b89
Improve activate_namespace task to build missing dirs and moving repos correctly
2012-11-25 18:24:27 +02:00
Dmitriy Zaporozhets
fbe03c506f
Improved namespace activation task
2012-11-25 17:58:06 +02:00
Dmitriy Zaporozhets
d405c8fc60
Create namespace on username init. Raise exception if project cannot be moved
2012-11-24 12:25:04 +02:00
Dmitriy Zaporozhets
5ca1772385
Init username migration and rake task for create appropriate namespace
2012-11-23 06:34:09 +03:00
Gosuke Miyashita
71ff619973
Fix hash key settings["gitlab_version"] to settings[:gitlab_version]
...
In backup_create, backup information hash is using symbol as its key.
But in backup_restore, string key is used and it returns empty value.
2012-11-22 10:38:56 +09:00
Dmitriy Zaporozhets
3ab33fcfca
Add post-receive file content validation
2012-11-21 09:04:32 +02:00
Hugo Duksis
e7e1e99e92
retrieve settings with symbols
2012-11-19 22:42:58 +02:00
David Barri
93f0a8c9b3
Merge remote-tracking branch 'gitlabhq/master' into git_commit_fix
...
Conflicts:
doc/install/installation.md
2012-11-11 21:27:55 +11:00
David Barri
6f25967c47
Fixed issue with git commit silently failing.
...
Also updated status task and installation instuctions.
2012-11-08 10:47:11 +11:00
Dmitriy Zaporozhets
37e39e4176
Added bare import script. Removed old unworking script
2012-10-30 13:04:56 +02:00
Michele Franzin
c370c1b389
gitolite's repositories folder symlinked patch
2012-10-27 16:12:01 +02:00
Valeriy Sizov
a54a90188b
remove unnecessary task
2012-10-09 14:59:58 +03:00
Nihad Abbasov
83696b127b
cleanup rake tasks
2012-09-26 04:18:10 -07:00
Nihad Abbasov
ae9689f8ff
remove cucumber completely
2012-09-10 06:40:57 -07:00
Alex Denisov
09a86bd4d6
Capitlization of /gitlab/i normalized. #1367
2012-09-06 11:21:35 +03:00
randx
7cdc5b9e04
Use similar interface to access gitolite
...
Simplified gitolite handle logic
Stubn over monkeypatch
Stub only specific methods in Gitlab:Gitolite
Moved grach auth to lib
added specs for keys observer
removes SshKey role
2012-08-29 00:04:06 +03:00
Dmitriy Zaporozhets
aded7056fd
Merge pull request #1313 from LeonB/master
...
Fixed some hardcoded paths based on issue #1272
2012-08-28 07:00:55 -07:00
LeonB
ffdda12f66
Line not needed anymore
2012-08-28 14:18:49 +02:00
Tiago Ribeiro
7a16572c0a
Fixed typo
2012-08-28 12:09:10 +02:00
LeonB
c81d4ab4a9
Fixed some hardcoded paths
...
New config option: git_hooks_path
2012-08-28 10:57:23 +02:00
randx
867f46076e
No need to chown hooks in backup script any mroe
2012-08-26 01:40:01 +03:00
randx
d1daeba173
Updated app:status & docs with hooks. Removed write_hooks from app:setup
2012-08-21 22:45:14 +03:00
randx
c625293b99
Handle post-receive files via gitolite, not gitlab
2012-08-21 20:14:06 +03:00
Dmitriy Zaporozhets
9b5441bce7
Merge pull request #1152 from natrim/master
...
Fix UMASK checking in .gitoliterc
2012-08-03 23:27:31 -07:00
Michael van Rooijen
19f7b038cb
Post-receive hook should be owned by gitlab user, not git.
2012-07-27 15:30:36 +02:00
natrim
5cb47b761c
fix checking for right gitolite UMASK
2012-07-27 12:03:30 +03:00
Dmitriy Zaporozhets
67ef96ea5f
Merge pull request #1129 from meskyanichi/master
...
Potential solution for current `rake gitlab:app:backup_restore` issues.
2012-07-26 23:11:46 -07:00
Michael van Rooijen
ec01cbef94
Modified the `repo_dump` and `repo_restore` rake tasks to properly dump and restore repositories based on their `path` rather than their (project) `name`. The project name can be uppercase and may contain spaces. This caused the repository to be restored as a different `path` that it was initially created as, thus, breaking the `git remote` and the web interface can no longer detect the repository either because it searches by `path` and not by `name`. Also, when restoring the permissions are incorrect making it impossible to push new commits to the remote repository. So now on success it'll set the correct permissions (but requires that the `gitlab` user has `sudo` privileges, or this task must be executed as root).
2012-07-26 21:30:10 +02:00
randx
18f83016b1
Fixed persmission issue in doc. Added validation of hooks in gitlab:app:status
2012-07-26 16:14:34 +03:00
Michael Richardson
0456ceddb4
Fixing MySQL syntax error
2012-07-18 11:59:32 +01:00
Stefan Morgenthaler
4dae41d5dc
Changes done as per feedback
2012-07-10 16:12:19 +02:00
Stefan Morgenthaler
12b34c8115
add: rake task to backup/restore gitlab db and repos
2012-07-10 00:01:05 +02:00
randx
1d543e6430
Finished with configs
2012-07-02 21:59:48 +03:00
Dmitriy Zaporozhets
9b337b8328
Epic: Gitlab configuration with default values
2012-07-02 21:51:48 +03:00
Denis Peplin
4a40f65090
Replace hardcoded '/home/git/repositories/' with GIT_HOST['base_path']
2012-06-25 08:54:02 +04:00
Dmitriy Zaporozhets
5bbf3ccf05
Cucumber:
...
* Profile
* Browse code
* Sceleton for main features
* Wiki
* Commits
2012-06-15 07:15:28 +03:00
randx
3272620f72
lib/ refactoring. Module Gitlabhq renamed to Gitlab
2012-05-26 13:37:49 +03:00
Valery Sizov
e5f8397fd4
fast automerge: done
2012-04-22 16:14:01 +03:00
Valery Sizov
dcbb875c46
fast automerge: base implementation
2012-04-22 15:19:09 +03:00
Dmitriy Zaporozhets
7058258a2a
Fixed db_schema & reordered rake tasks
2012-04-21 12:45:43 +03:00
Dmitriy Zaporozhets
43f5df21a3
gitlab rake tasks refactored
2012-04-04 01:02:54 +03:00