An error occurred fetching the project authors.
  1. 19 Mar, 2019 2 commits
  2. 18 Mar, 2019 1 commit
    • Luke Duncalfe's avatar
      Enrich commits with full data in CommitCollection · 8ef0a9d5
      Luke Duncalfe authored
      Allow incomplete commit records to load their full data from gitaly.
      
      Commits can be based on a Hash of data retrieved from PostgreSQL, and
      this data can be intentionally incomplete in order to save space.
      
      A new method #gitaly? has been added to Gitlab::Git::Commit, which
      returns true if the underlying data source of the Commit is a
      Gitaly::GitCommit.
      
      CommitCollection now has a method #enrich which replaces non-gitaly
      commits in place with commits from gitaly.
      
      CommitCollection#without_merge_commits has been updated to call this
      method, as in order to determine a merge commit we need to have parent
      data.
      
      Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/58805
      8ef0a9d5
  3. 09 Mar, 2019 1 commit
  4. 06 Mar, 2019 2 commits
  5. 01 Mar, 2019 1 commit
  6. 26 Nov, 2018 1 commit
    • Douwe Maan's avatar
      Batch load only data from same repository when lazy object is accessed · 5f0e4040
      Douwe Maan authored
      By specifying `key`, we get a different lazy batch loader for each
      repository, which means that accessing a lazy object from one repository
      will only result in that repository's objects being fetched, not those
      of other repositories, saving us some unnecessary Gitaly lookups.
      5f0e4040
  7. 13 Nov, 2018 1 commit
    • gfyoung's avatar
      Enable even more frozen string in lib/gitlab · ebf98f27
      gfyoung authored
      Enables frozen string for the following:
      
      * lib/gitlab/fogbugz_import/**/*.rb
      * lib/gitlab/gfm/**/*.rb
      * lib/gitlab/git/**/*.rb
      * lib/gitlab/gitaly_client/**/*.rb
      * lib/gitlab/gitlab_import/**/*.rb
      * lib/gitlab/google_code_import/**/*.rb
      * lib/gitlab/gpg/**/*.rb
      * lib/gitlab/grape_logging/**/*.rb
      * lib/gitlab/graphql/**/*.rb
      * lib/gitlab/graphs/**/*.rb
      * lib/gitlab/hashed_storage/**/*.rb
      * lib/gitlab/health_checks/**/*.rb
      
      Partially address gitlab-org/gitlab-ce#47424.
      ebf98f27
  8. 30 Oct, 2018 1 commit
  9. 02 Oct, 2018 2 commits
    • Alejandro Rodríguez's avatar
      Remove Gitlab::Git::Repository#rugged and Gollum code · a99bf447
      Alejandro Rodríguez authored
      Cleanup code, and refactor tests that still use Rugged. After this, there should
      be no Rugged code that access the instance's repositories on non-test
      environments. There is still some rugged code for other tasks like the
      repository import task, but since it doesn't access any repository storage path
      it can stay.
      a99bf447
    • Alejandro Rodríguez's avatar
      Remove Gitlab::Git::Repository#rugged and Gollum code · 4372ea61
      Alejandro Rodríguez authored
      Cleanup code, and refactor tests that still use Rugged. After this, there should
      be no Rugged code that access the instance's repositories on non-test
      environments. There is still some rugged code for other tasks like the
      repository import task, but since it doesn't access any repository storage path
      it can stay.
      4372ea61
  10. 18 Jul, 2018 2 commits
  11. 06 Jul, 2018 2 commits
  12. 05 Jul, 2018 2 commits
  13. 04 Jul, 2018 1 commit
  14. 28 Jun, 2018 2 commits
  15. 27 Jun, 2018 2 commits
  16. 26 Jun, 2018 1 commit
  17. 22 Jun, 2018 1 commit
  18. 06 Jun, 2018 2 commits
  19. 18 May, 2018 1 commit
  20. 16 May, 2018 1 commit
  21. 17 Apr, 2018 1 commit
  22. 04 Apr, 2018 1 commit
  23. 07 Mar, 2018 1 commit
  24. 01 Mar, 2018 1 commit
  25. 19 Feb, 2018 1 commit
  26. 16 Feb, 2018 2 commits
  27. 07 Feb, 2018 1 commit
    • Zeger-Jan van de Weg's avatar
      Don't use rugged in Repository#refs_hash · 73e78c4e
      Zeger-Jan van de Weg authored
      The refs hash is used to determine what branches and tags have a commit
      as head in the network graph. The previous implementation depended on
      Rugged#references. The problem with this implementation was that it
      depended on rugged, but also that it iterated over all references and
      thus loading more data than needed if for example the project uses CI/CD
      environments, Pipelines, or Merge Requests.
      
      Given only refs are checked the network cares about the GraphHelper#refs
      method has no need to reject those, simplifying the method.
      
      Closes gitlab-org/gitaly#880
      73e78c4e
  28. 18 Jan, 2018 1 commit
  29. 15 Jan, 2018 1 commit
  30. 04 Jan, 2018 1 commit