Skip to content
Snippets Groups Projects
  1. Feb 24, 2020
  2. Feb 04, 2020
  3. Jan 21, 2020
  4. Dec 18, 2019
  5. Dec 16, 2019
  6. Dec 05, 2019
  7. Nov 20, 2019
  8. Oct 21, 2019
  9. Sep 30, 2019
  10. Jun 20, 2019
    • Stan Hu's avatar
      Omit issues links in merge request entity API response · 1b7ab11f
      Stan Hu authored
      The merge request widget has a section that includes which issues may be
      closed or mentioned based on the merge request description. The problem
      is that rendering and redacting Markdown can be expensive, especially
      since the browser polls for the data every 10 seconds.
      
      Since these links don't change much and are just nice to have, we only
      load them on first page load. The frontend will use the existing data if
      the data doesn't appear on subsequent requests.
      
      This saves about 30% of the rendering time of this endpoint, which adds
      up to significant savings considering that
      `MergeRequestsController#show.json` is called over a million times a day
      on GitLab.com.
      
      Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/63546
      1b7ab11f
  11. Jun 03, 2019
    • Shinya Maeda's avatar
      Abstract auto merge processes · d4b46936
      Shinya Maeda authored
      We have one auto merge strategy today - Merge When Pipeline
      Succeeds.
      
      In order to add more strategies for Merge Train feature,
      we abstract the architecture to be more extensible.
      
      Removed arguments
      
      Fix spec
      d4b46936
  12. Apr 05, 2019
  13. Apr 02, 2019
  14. Mar 21, 2019
    • Luke Duncalfe's avatar
      Enrich commits with full data in CommitCollection · 38bf176c
      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
      38bf176c
    • Sean McGivern's avatar
      Revert "Merge branch... · a97ec84f
      Sean McGivern authored
      Revert "Merge branch '58805-allow-incomplete-commit-data-to-be-fetched-from-collection' into 'master'"
      
      This reverts merge request !26144
      a97ec84f
  15. Mar 18, 2019
    • 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
  16. Feb 06, 2019
  17. Jan 31, 2019
  18. Jan 28, 2019
  19. Oct 29, 2018
  20. Oct 19, 2018
    • Bob Van Landuyt's avatar
      Remove the `ForkedProjectLink` model · f3fba178
      Bob Van Landuyt authored
      This removes the `ForkedProjectLink` model that has been replaced by
      the `ForkNetworkMember` and `ForkNetwork` combination. All existing
      relations have been adjusted to use these new models.
      
      The `forked_project_link` table has been dropped.
      
      The "Forks" count on the admin dashboard has been updated to count all
      `ForkNetworkMember` rows and deduct the number of `ForkNetwork`
      rows. This is because now the "root-project" of a fork network also
      has a `ForkNetworkMember` row. This count could become inaccurate when
      the root of a fork network is deleted.
      f3fba178
  21. Jul 12, 2018
  22. Mar 07, 2018
  23. Jan 05, 2018
    • Jan Provaznik's avatar
      Backport 'Rebase' feature from EE to CE · 27a75ea1
      Jan Provaznik authored
      When a project uses fast-forward merging strategy user has
      to rebase MRs to target branch before it can be merged.
      Now user can do rebase in UI by clicking 'Rebase' button
      instead of doing rebase locally.
      
      This feature was already present in EE, this is only backport
      of the feature to CE. Couple of changes:
      * removed rebase license check
      * renamed migration (changed timestamp)
      
      Closes #40301
      27a75ea1
  24. Jan 02, 2018
  25. Dec 15, 2017
  26. Dec 05, 2017
  27. Nov 02, 2017
  28. Oct 10, 2017
  29. Oct 04, 2017
  30. Sep 20, 2017
  31. Aug 07, 2017
  32. Aug 02, 2017
  33. Jul 11, 2017
  34. May 31, 2017
  35. May 16, 2017
  36. May 09, 2017
Loading