BigW Consortium Gitlab

  1. 01 Jul, 2016 1 commit
  2. 29 Jun, 2016 1 commit
  3. 03 Jun, 2016 2 commits
  4. 19 May, 2016 1 commit
  5. 16 May, 2016 2 commits
    • Return a relation with Postgres · e8058bd2
      Sean McGivern authored
      Postgres only needs to select a single column, so that can used as a
      sub-query where `Milestone.upcoming_ids_by_projects` is actually used in
      `IssuableFinder`.
      
      MySQL needs to select the `due_date` column because it's used in the
      `HAVING` clause, so it has to return an array of IDs.
    • Make upcoming milestone work across projects · 750b2ff0
      Sean McGivern authored
      Before: we took the next milestone due across all projects in the
      search and found issues whose milestone title matched that
      one. Problems:
      
      1. The milestone could be closed.
      2. Different projects have milestones with different schedules.
      3. Different projects have milestones with different titles.
      4. Different projects can have milestones with different schedules, but
         the _same_ title. That means we could show issues from a past
         milestone, or one that's far in the future.
      
      After: gather the ID of the next milestone on each project we're looking
      at, and find issues with those milestone IDs. Problems:
      
      1. For a lot of projects, this can return a lot of IDs.
      2. The SQL query has to be different between Postgres and MySQL, because
         MySQL is much more lenient with HAVING: as well as the columns
         appearing in GROUP BY or in aggregate clauses, MySQL allows them to
         appear in the SELECT list (un-aggregated).
  6. 09 May, 2016 2 commits
  7. 06 May, 2016 1 commit
  8. 05 May, 2016 1 commit
  9. 21 Apr, 2016 3 commits
  10. 01 Apr, 2016 2 commits
  11. 23 Mar, 2016 1 commit
  12. 17 Mar, 2016 1 commit
  13. 12 Mar, 2016 3 commits
  14. 11 Mar, 2016 1 commit
  15. 07 Mar, 2016 1 commit
  16. 02 Mar, 2016 2 commits
  17. 22 Feb, 2016 1 commit
  18. 08 Feb, 2016 1 commit
  19. 03 Feb, 2016 1 commit
  20. 02 Feb, 2016 3 commits
  21. 08 Jan, 2016 1 commit
  22. 07 Jan, 2016 2 commits
  23. 05 Jan, 2016 1 commit
  24. 24 Dec, 2015 1 commit
  25. 03 Dec, 2015 1 commit
  26. 02 Dec, 2015 1 commit
  27. 26 Nov, 2015 1 commit
  28. 19 Oct, 2015 1 commit
    • Improve performance of sorting milestone issues · 4ff75e31
      Yorick Peterse authored
      This cuts down the time it takes to sort issues of a milestone by about
      10x. In the previous setup the code would run a SQL query for every
      issue that had to be sorted. The new setup instead runs a single SQL
      query to update all the given issues at once.
      
      The attached benchmark used to run at around 60 iterations per second,
      using the new setup this hovers around 600 iterations per second. Timing
      wise a request to update a milestone with 40-something issues would take
      about 760 ms, in the new setup this only takes about 130 ms.
      
      Fixes #3066