1. 20 6月, 2018 1 次提交
  2. 11 6月, 2018 1 次提交
  3. 06 6月, 2018 1 次提交
  4. 05 6月, 2018 1 次提交
  5. 22 5月, 2018 1 次提交
  6. 18 5月, 2018 1 次提交
  7. 14 5月, 2018 1 次提交
  8. 10 5月, 2018 1 次提交
  9. 07 5月, 2018 2 次提交
  10. 25 4月, 2018 1 次提交
  11. 15 4月, 2018 1 次提交
  12. 28 3月, 2018 1 次提交
  13. 20 3月, 2018 1 次提交
  14. 07 3月, 2018 3 次提交
    • S
      Memoize Repository#empty? instead of double caching the value · 611929eb
      Stan Hu 提交于
      We saw that in a customer instance, `empty?` was cached to be `true` even
      though `has_visible_content?` and `exists?` were `true`. This double caching
      can run into edge cases because there's no guarantee that the inner values
      will properly expire the outer one, especially if there is Redis replication lag.
      Consider this scenario:
      
      1. `exists?` and `has_visible_content?` are false
      2. `empty?` is expired
      3. A subsequent call to `empty?` returns `true` because `exists?` is false even though `empty` is true
      4. `exists?` and `has_visible_content?` are then expired
      5. `exists?` and `has_visible_content?` are set to true
      6. `empty?` is still stuck in the wrong value as `true`
      
      Closes #43882
      611929eb
    • Z
      Fix tests not completely disabling Gitaly · a76ce8d9
      Zeger-Jan van de Weg 提交于
      a76ce8d9
    • A
  15. 01 3月, 2018 1 次提交
  16. 15 2月, 2018 2 次提交
    • S
      Simplify license generator error handling · 5b3b2b82
      Stan Hu 提交于
      5b3b2b82
    • S
      Fix Error 500s loading repositories with no master branch · 35b3a0b9
      Stan Hu 提交于
      We removed the exception handling for Rugged errors in !16770, which
      revealed that the licensee gem attempts to retrieve a license file
      via Rugged in `refs/heads/master` by default. If that branch
      did not exist, a Rugged::ReferenceError would be thrown.
      
      There were two issues:
      
      1. Not every project uses `master` as the default branch. This
      change uses the head commit to identify the license.
      
      2. Removing the exception handling caused repositories to fail
      loading. We can safely catch and ignore any Rugged error because
      this means we weren't able to load a license file.
      
      Closes #43268
      35b3a0b9
  17. 07 2月, 2018 1 次提交
  18. 03 2月, 2018 1 次提交
  19. 01 2月, 2018 1 次提交
    • Z
      Client changes for Tag,BranchNamesContainingCommit · 0a47d192
      Zeger-Jan van de Weg 提交于
      As part of gitlab-org/gitaly#884, this commit contains the client
      implementation for both TagNamesContaintingCommit and
      BranchNamesContainingCommit. The interface in the Repository model stays
      the same, but the implementation on the serverside, e.g. Gitaly, uses
      `for-each-ref`, as opposed to `branch` or `tag` which both aren't
      plumbing command. The result stays the same.
      
      On the serverside, we have the opportunity to limit the number of names
      to return. However, this is not supported on the front end yet. My
      proposal to use this ability: gitlab-org/gitlab-ce#42581. For now, this
      ability is not used as that would change more behaviours on a feature
      flag which might lead to unexpected changes on page refresh for example.
      0a47d192
  20. 31 1月, 2018 1 次提交
  21. 29 1月, 2018 1 次提交
  22. 25 1月, 2018 1 次提交
  23. 24 1月, 2018 1 次提交
  24. 16 1月, 2018 2 次提交
  25. 15 1月, 2018 3 次提交
  26. 11 1月, 2018 1 次提交
  27. 10 1月, 2018 1 次提交
  28. 06 1月, 2018 2 次提交
  29. 21 12月, 2017 1 次提交
  30. 19 12月, 2017 1 次提交
    • Z
      Load commit in batches for pipelines#index · c6edae38
      Zeger-Jan van de Weg 提交于
      Uses `list_commits_by_oid` on the CommitService, to request the needed
      commits for pipelines. These commits are needed to display the user that
      created the commit and the commit title.
      
      This includes fixes for tests failing that depended on the commit
      being `nil`. However, now these are batch loaded, this doesn't happen
      anymore and the commits are an instance of BatchLoader.
      c6edae38
  31. 14 12月, 2017 2 次提交
    • H
      sorting for tags api · e7b40c2f
      haseeb 提交于
      e7b40c2f
    • J
      Adds ordering to projects contributors in API · 55f32208
      Jacopo 提交于
      Allows ordering in GET api/v4/projects/:project_id/repository/contributors
      through `order_by` and `sort` params.
      The available `order_by` options are: name|email|commits.
      The available `sort` options are: asc|desc.
      55f32208