Skip to content
Snippets Groups Projects
  1. Jan 16, 2013
  2. Jan 14, 2013
    • VonC's avatar
      Fix git group detection for gitolite ssh user. · 471b5910
      VonC authored
      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
      471b5910
  3. Dec 28, 2012
  4. Dec 24, 2012
  5. Dec 20, 2012
  6. Dec 06, 2012
  7. Nov 06, 2012
  8. Oct 21, 2012
  9. Sep 26, 2012
  10. Sep 12, 2012
  11. Sep 02, 2012
  12. Aug 28, 2012
  13. Aug 17, 2012
  14. Aug 16, 2012
  15. Jul 11, 2012
    • VonC's avatar
      Look for 'gitolite_admin_uri' in the right section · 2600e80b
      VonC authored
      of 'gitlab.yml'.
      
      gitlabhq\config\initializers\1_settings.rb looks for
      'gitolite_admin_uri' in the 'git' section of 'gitlab.yml'
      
      Actually, that setting is in the 'git_host' section.
      If not fixed, the 'gitolite_admin_uri' would always be equals to
      'git@localhost:gitolite-admin', even if the administrator wants
      to have another user than 'git' in charge of that repo.
      2600e80b
  16. Jul 10, 2012
  17. Jul 03, 2012
  18. Jul 02, 2012
  19. Jul 01, 2012
Loading