Skip to content
代码片段 群组 项目
该项目从 https://gitlab.com/gitlab-org/gitlab.git 镜像。 拉取镜像更新于
  1. 6月 28, 2022
    • Eugenia Grieff's avatar
      Remove valid epic check · 0f285847
      Eugenia Grieff 创作于
      Checking for each epic validatiy in
      Issues::ExportCsvService is no longer needed
      after migration that deleted invalida records.
      Given it is an expensive check, we need to remove
      it
      
      Changelog: fixed
      EE: true
      0f285847
  2. 6月 02, 2022
  3. 9月 09, 2021
  4. 4月 08, 2021
  5. 6月 05, 2020
  6. 4月 16, 2020
  7. 3月 02, 2020
  8. 1月 14, 2020
  9. 9月 27, 2019
  10. 6月 02, 2018
  11. 4月 10, 2018
  12. 4月 09, 2018
  13. 2月 15, 2018
  14. 12月 20, 2017
    • Jan Provaznik's avatar
      Use 'preload' in export to CSV · 020701fa
      Jan Provaznik 创作于
      If issues are filtered by multiple labels, then GROUP BY statement
      is used to filter only issues with these labels. This is problem in
      combination with '.includes' which may use JOIN statement to load
      associated resources in single query instead of a separate query.
      
      Then the generated SQL query fails because associated resources
      are included in 'SELECT ...' statements but not in the GROUP BY
      statement.
      
      Usage of '.preload' instead of '.includes' ensures that Active Record
      uses a separate query instead of JOIN.
      
      Closes #4376
      020701fa
  15. 9月 06, 2017
  16. 8月 18, 2017
  17. 8月 09, 2017
  18. 8月 03, 2017
  19. 7月 28, 2017
    • Yorick Peterse's avatar
      Merge issuable "reopened" state into "opened" · 9f3e8eb5
      Yorick Peterse 创作于
      Having two states that essentially mean the same thing is very much like
      having a boolean "true" and boolean "mostly-true": it's rather silly.
      This commit merges the "reopened" state into the "opened" state while
      taking care of system notes still showing messages along the lines of
      "Alice reopened this issue".
      
      A big benefit from having only two states (opened and closed) is that
      indexing and querying becomes simpler and more performant. For example,
      to get all the opened queries we no longer have to query both states:
      
          SELECT *
          FROM issues
          WHERE project_id = 2
          AND state IN ('opened', 'reopened');
      
      Instead we can query a single state directly, which can be much faster:
      
          SELECT *
          FROM issues
          WHERE project_id = 2
          AND state = 'opened';
      
      Further, only having two states makes indexing easier as we will only
      ever filter (and thus scan an index) using a single value. Partial
      indexes could help but aren't supported on MySQL, complicating the
      development process and not being helpful for MySQL.
      9f3e8eb5
  20. 7月 26, 2017
  21. 6月 07, 2017
  22. 3月 28, 2017
  23. 3月 20, 2017
  24. 3月 08, 2017
  25. 3月 07, 2017
  26. 3月 03, 2017
  27. 2月 27, 2017
  28. 2月 20, 2017
加载中