1. 07 May, 2019 1 commit
  2. 06 May, 2019 1 commit
  3. 05 May, 2019 2 commits
  4. 02 May, 2019 2 commits
    • Luke Duncalfe's avatar
      Add support for two-step Gitaly Rebase RPC · 49cb4b3d
      Luke Duncalfe authored
      The new two-step Gitaly `Rebase` RPC yields the rebase commit SHA to the
      client before proceeding with the rebase.
      This avoids an issue where the rebase commit SHA was returned when the
      RPC had fully completed, and in some cases this would be after the Rails
      `post_receive` worker services had already run. In these situations,
      the merge request did not yet have its rebase_commit_sha attribute set
      introducing the possibility for bugs (such as previous approvals being
    • Jan Provaznik's avatar
      Add opentracing integration for graphql · 96750fac
      Jan Provaznik authored
      Extends existing graphql's tracer with opentracing measurements. Because
      it also adds Tracing::Graphql class (for opentracing), it also renames
      Graphql::Tracing class to Graphql::GenericTracing to minimize confusion
      with similar class names.
  5. 30 Apr, 2019 2 commits
    • John Cai's avatar
      Add client methods for FetchIntoObjectPool RPC · 5ee78765
      John Cai authored
      Gitaly's FetchIntoObjectPool RPC will idempotently fetch objects into an
      object pool. If the pool doesn't exist, it will create an empty pool
      before attempting the fetch. This change adds client code as well as
      specs to cover this behavior.
    • Stan Hu's avatar
      Disable method replacement in avatar loading · 25818bd7
      Stan Hu authored
      We've seen a significant performance penalty when using
      `BatchLoader#__replace_with!`. This defines methods on the batch loader
      that proxy to the 'real' object using send. The alternative is
      `method_missing`, which is slower.  However, we've noticed that
      `method_missing` can be faster if:
      1. The objects being loaded have a large interface.
      2. We don't call too many methods on the loaded object.
      Avatar uploads meet both criteria above, so let's use the newly-released
      feature in https://github.com/exAspArk/batch-loader/pull/45.
      Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/60903
  6. 29 Apr, 2019 2 commits
  7. 27 Apr, 2019 1 commit
  8. 26 Apr, 2019 1 commit
  9. 25 Apr, 2019 1 commit
    • Francisco Javier López's avatar
      Added list_pages method to avoid loading all wiki pages content · dde69bfb
      Francisco Javier López authored
      Inside a wiki, when we show the sidebar or browse to the `pages`,
      all page contents are retrieved from Gitaly and that is a waste
      of resources, since no content from that pages are going to be
      This MR introduces the method `ProjectWiki#list_pages`,
      which uses new wiki_list_pages RPC call to retrieve
      pages without content
      Also in the `WikisController` we're using the method to show
      pages in the sidebar and also on the `pages` page.
  10. 23 Apr, 2019 4 commits
  11. 22 Apr, 2019 1 commit
  12. 18 Apr, 2019 2 commits
    • Ryan Cobb's avatar
      Adds new metrics for unicorn monitoring · 4c248c05
      Ryan Cobb authored
      This adds new metrics for monitoring unicorn. These metrics include
      process_cpu_seconds_total, process_start_time_seconds, process_max_fds,
      and unicorn_workers.
    • Andrew Newdigate's avatar
      Migrate correlation and tracing code to LabKit · 4f4de36c
      Andrew Newdigate authored
      This change is a fairly straightforward refactor to extract the tracing
      and correlation-id code from the gitlab rails codebase into the new
      LabKit-Ruby project.
      The corresponding import into LabKit-Ruby was in
      The code itself remains very similar for now.
      Extracting it allows us to reuse it in other projects, such as
      Gitaly-Ruby. This will give us the advantages of correlation-ids and
      distributed tracing in that project too.
  13. 17 Apr, 2019 1 commit
  14. 12 Apr, 2019 3 commits
  15. 10 Apr, 2019 1 commit
  16. 05 Apr, 2019 1 commit
  17. 04 Apr, 2019 1 commit
  18. 02 Apr, 2019 1 commit
    • Patrick Bajao's avatar
      Download a folder from repository · 6766a0a1
      Patrick Bajao authored
      Add `GetArchiveRequest` to git-archive params.
      Modifies `Git::Repository#archive_metadata` to append `path`
      to `ArchivePrefix` so it'll not hit the cache of repository archive
      when it already exists.
  19. 27 Mar, 2019 1 commit
    • Gabriel Mazetto's avatar
      Upgrade `gitlab-markup` to 1.7.0 · e5af7d83
      Gabriel Mazetto authored
      The new version requires `python3` to be available. In omnibus
      installation this is already a reality as we are currently pathing
      previous `gitlab-markup` version to use `python3` instead of `python2`.
      We are now requiring `python3` with the gem without having to patch it.
      As a consequence to also make it easy to use it in development, we've
      introduced a `Pipfile` and `Pipfile.lock`, working similarly to
      `Gemfile` and `Gemfile.lock`, and added documentation on how to use
  20. 25 Mar, 2019 1 commit
  21. 19 Mar, 2019 2 commits
  22. 18 Mar, 2019 1 commit
  23. 13 Mar, 2019 1 commit
  24. 12 Mar, 2019 1 commit
  25. 08 Mar, 2019 4 commits
  26. 06 Mar, 2019 1 commit
    • Patrick Bajao's avatar
      Accept force option on commit via API · de5aef3b
      Patrick Bajao authored
      When `force` is set to `true` and `start_branch` is set, the
      branch will be ovewritten with the new commit based on the
      `HEAD` of the `start_branch`.
      This commit includes changes to update the `gitaly-proto` gem.