Skip to content
Snippets Groups Projects
  1. Dec 27, 2019
  2. Dec 04, 2019
  3. Oct 24, 2019
  4. Sep 18, 2019
  5. Sep 05, 2019
  6. Aug 28, 2019
  7. Jul 10, 2019
  8. May 17, 2019
  9. Apr 08, 2019
    • Luke Duncalfe's avatar
      Refactor PushOptionsHandlerService from review · e73f537c
      Luke Duncalfe authored
      Exceptions are no longer raised, instead all errors encountered are
      added to the errors property.
      
      MergeRequests::BuildService is used to generate attributes of a new
      merge request.
      
      Code moved from Api::Internal to Api::Helpers::InternalHelpers.
      e73f537c
    • Luke Duncalfe's avatar
      Support merge request create with push options · aa352a95
      Luke Duncalfe authored
      To create a new merge request:
      
        git push -u origin -o merge_request.create
      
      To create a new merge request setting target branch:
      
        git push -u origin -o merge_request.create \
          -o merge_request.target=123
      
      To update an existing merge request with a new target branch:
      
        git push -u origin -o merge_request.target=123
      
      A new Gitlab::PushOptions class handles parsing and validating the push
      options array. This can be the start of the standard of GitLab accepting
      push options that follow namespacing rules. Rules are discussed in issue
      https://gitlab.com/gitlab-org/gitlab-ce/issues/43263.
      
      E.g. these push options:
      
        -o merge_request.create -o merge_request.target=123
      
      Become parsed as:
      
        {
          merge_request: {
            create: true,
            target: '123',
          }
        }
      
      And are fetched with the class via:
      
        push_options.get(:merge_request)
        push_options.get(:merge_request, :create)
        push_options.get(:merge_request, :target)
      
      A new MergeRequests::PushOptionsHandlerService takes the `merge_request`
      namespaced push options and handles creating and updating
      merge requests.
      
      Any errors encountered are passed to the existing `output` Hash in
      Api::Internal's `post_receive` endpoint, and passed to gitlab-shell
      where they're output to the user.
      
      Issue https://gitlab.com/gitlab-org/gitlab-ce/issues/43263
      aa352a95
  10. Mar 26, 2019
    • Bob Van Landuyt's avatar
      Allow multiple repositories per project · d36415b7
      Bob Van Landuyt authored
      This changes the repository type from a binary `wiki?` to a type. So
      we can have more than 2 repository types.
      
      Now everywhere we called `.wiki?` and expected a boolean, we check
      that type.
      d36415b7
  11. Feb 16, 2019
  12. Sep 30, 2018
  13. May 17, 2018
  14. Mar 30, 2018
  15. Mar 21, 2018
  16. Mar 06, 2018
  17. Feb 06, 2018
  18. Jan 22, 2018
  19. Nov 29, 2017
  20. Nov 22, 2017
  21. Nov 17, 2017
  22. Nov 14, 2017
  23. Sep 18, 2017
  24. Sep 05, 2017
  25. Aug 31, 2017
  26. Jul 07, 2017
  27. Jun 16, 2017
  28. Jun 05, 2017
  29. May 03, 2017
    • Alejandro Rodríguez's avatar
      Generate and handle a gl_repository param to pass around components · c45341c8
      Alejandro Rodríguez authored
      This new param allows us to share project information between components
      that don't share or don't have access to the same filesystem
      mountpoints, for example between Gitaly and Rails or between Rails and
      Gitlab-Shell hooks. The previous parameters are still supported, but if
      found, gl_repository is prefered. The old parameters should be deprecated
      once all components support the new format.
      c45341c8
  30. Apr 14, 2017
  31. Apr 10, 2017
  32. Mar 03, 2017
  33. Feb 03, 2017
Loading