BigW Consortium Gitlab

  1. 07 Jun, 2017 3 commits
  2. 29 Mar, 2017 1 commit
  3. 03 Mar, 2017 2 commits
  4. 23 Feb, 2017 1 commit
  5. 14 Feb, 2017 1 commit
  6. 27 Oct, 2016 1 commit
  7. 30 Aug, 2016 1 commit
  8. 11 Aug, 2016 1 commit
  9. 25 Jul, 2016 1 commit
    • Fix backup restore · c6ff77d4
      Stan Hu authored
      Set permissions of backup dir to g+s
      
      Closes #20188
  10. 30 Jun, 2016 1 commit
  11. 03 Jun, 2016 1 commit
    • Replace colorize gem with rainbow. · 903946c7
      Connor Shea authored
      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
  12. 03 Nov, 2015 1 commit
  13. 30 Jul, 2015 1 commit
  14. 29 Jul, 2015 1 commit
  15. 19 Mar, 2015 1 commit
  16. 30 Nov, 2014 1 commit
    • Properly fix wiki restore. · 191aa971
      Achilleas Pipinellis authored
      ProjectWiki.new() creates a new wiki git repository, so any tries
      to bare clone a bundle fail. With this patch we remove the newly
      created wiki.git before restoring from the backup bundle.
  17. 29 Nov, 2014 1 commit
  18. 20 Nov, 2014 1 commit
  19. 13 Nov, 2014 1 commit
    • Correctly restore empty repositories. · 4a5044e3
      Dimitry Andric authored
      If a project is being restored, but there is no bundle file, the project was
      empty when it was backed up.  In this case, just use git init --base to create a
      new bare repository.
  20. 05 Nov, 2014 1 commit
  21. 20 Oct, 2014 2 commits
    • Ask the wiki repo, not Gollum, if it's empty · 082d59d2
      Jacob Vosmaer authored
      We need to skip empty repositories when creating a backup. Before this
      change, we were asking gollum-lib if the wiki contains any _pages_. Now
      we ask gitlab_git if the repository contains _files_. This should
      resolve gollum_lib Grit timeouts in the backup script.
    • Ask the wiki repo, not Gollum, if it's empty · 8ad1330b
      Jacob Vosmaer authored
      We need to skip empty repositories when creating a backup. Before this
      change, we were asking gollum-lib if the wiki contains any _pages_. Now
      we ask gitlab_git if the repository contains _files_. This should
      resolve gollum_lib Grit timeouts in the backup script.
  22. 01 Oct, 2014 1 commit
  23. 08 Sep, 2014 1 commit
  24. 08 May, 2014 1 commit
  25. 09 Apr, 2014 1 commit
  26. 26 Feb, 2014 1 commit
    • Use gitlab_shell.path to invoke rewrite-hooks.sh · 91c70c5b
      Jacob Vosmaer authored
      The backup restore code for repositories was assuming that gitlab-shell
      is installed in /home/git/gitlab-shell. This commit changes that to use
      the configuration setting from gitlab.yml that specifies the path where
      gitlab-shell is installed.
  27. 06 Nov, 2013 1 commit
  28. 05 Nov, 2013 1 commit
  29. 04 Nov, 2013 1 commit
    • More escaping · c46eaca9
      Nigel Kukard authored
      - Database name may contain characters which are not shell friendly
      - Database password could contain the same
      - While we at it there is no harm in escaping generated paths too
      - Refactored 2-line system(command)
      Signed-off-by: 's avatarNigel Kukard <nkukard@lbsd.net>
  30. 10 Oct, 2013 1 commit
  31. 30 May, 2013 1 commit
    • fixes for gitlab restore with non-standard backup and repo dirs · 9c82bca5
      Angus MacArthur authored
      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.
  32. 10 Apr, 2013 1 commit
  33. 05 Apr, 2013 3 commits