Skip to content
Snippets Groups Projects
  1. Feb 12, 2018
  2. Feb 08, 2018
    • Gregory Stark's avatar
      Add indexes and change SQL for expired artifacts to deal with artifacts migration efficiently · 271e7a32
      Gregory Stark authored
      Artifacts are in the middle of being migrated from ci_builds to
      ci_job_artifacts. The expiration date is currently visible in both of
      these tables and the test for whether an expired artifact is present
      for a job is complex as it requires checking both the of the tables.
      
      Add two new indexes, one on ci_builds.artifacts_expire_at and one on
      ci_job_artifacts.expire_at to enable finding expired artifacts
      efficiently.
      
      And until the migration is finished, replace the SQL for finding
      expired and non-expired artifacts with a hand-crafted UNION ALL based
      query instead of using OR. This overcomes a database optimizer
      limitation that prevents it from using these indexes.
      
      When the migration is finished the next version should remove this
      query and replace it with a much simpler query on just
      ci_job_artifacts. See
      https://gitlab.com/gitlab-org/gitlab-ce/issues/42561 for followup.
      271e7a32
  3. Feb 07, 2018
  4. Feb 06, 2018
  5. Feb 05, 2018
  6. Feb 02, 2018
  7. Feb 01, 2018
  8. Jan 31, 2018
  9. Jan 30, 2018
  10. Jan 26, 2018
  11. Jan 17, 2018
  12. Jan 11, 2018
  13. Jan 04, 2018
  14. Jan 03, 2018
  15. Dec 22, 2017
  16. Dec 21, 2017
  17. Dec 14, 2017
  18. Dec 13, 2017
    • Jacopo's avatar
      Adds ordering to projects contributors in API · 55f32208
      Jacopo authored
      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
  19. Dec 08, 2017
  20. Dec 07, 2017
  21. Dec 05, 2017
  22. Dec 04, 2017
  23. Dec 03, 2017
Loading