gitlabhq/lib/tasks/gitlab
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
..
backup.rake Fix backup/restore path_to_repo 2013-01-05 23:29:48 +02:00
bulk_add_permission.rake Rename add_user_to_project_teams to gitlab:import:user_to_projects 2012-12-20 21:52:37 +01:00
check.rake Fix git group detection for gitolite ssh user. 2013-01-14 11:44:27 +00:00
cleanup.rake Cleanup service tasks 2012-12-25 07:14:05 +03:00
enable_automerge.rake Fix replace return with next in rake rask 2012-12-25 12:13:50 +05:30
enable_namespaces.rake Fixed and improved enable_naamespace migration task 2012-12-28 06:14:05 +03:00
generate_docs.rake Use sdoc to generate application code documentation 2012-12-30 14:43:00 +02:00
gitolite_rebuild.rake Cleanup service tasks 2012-12-25 07:14:05 +03:00
import.rake Import: Skip if not git repo 2012-12-23 00:18:39 +02:00
info.rake Move OS detection to task helpers and add detection of OS X 2013-01-12 01:24:51 +01:00
setup.rake Rename gitlab:app:enable_automerge to gitlab:enable_automerge 2012-12-20 20:22:25 +01:00
task_helpers.rake Replace all stat command line calls with ruby equivalents 2013-01-12 01:25:01 +01:00
test.rake remove cucumber completely 2012-09-10 06:40:57 -07:00