Skip to content
代码片段 群组 项目
该项目从 https://gitlab.com/gitlab-org/gitlab.git 镜像。 拉取镜像更新于
  1. 8月 02, 2021
  2. 7月 24, 2021
  3. 7月 22, 2021
  4. 7月 14, 2021
  5. 7月 13, 2021
  6. 7月 06, 2021
  7. 7月 02, 2021
  8. 6月 29, 2021
  9. 6月 28, 2021
  10. 6月 17, 2021
  11. 6月 15, 2021
  12. 5月 20, 2021
  13. 5月 19, 2021
  14. 5月 07, 2021
  15. 4月 06, 2021
    • Dylan Griffith's avatar
      Remove migration downtime check since we do not allow downtime · 016c3969
      Dylan Griffith 创作于
      For 4 years we've had logic in our database migrations that required you
      to set a constant `DOWNTIME = true` if you required downtime and seek
      approval from the VP of Engineering. We have never once used this
      process as we've always found a way around the problem using a different
      approach.
      
      As such we decided in
      https://gitlab.com/gitlab-org/gitlab/-/issues/326495 that we should just
      remove this `DOWNTIME` constant and the extra checks here to reduce
      noise in our database code review and give less processes for people to
      learn.
      
      This MR removes a lot of things and here is a high level summary:
      
      1. Remove DowntimeCheck class and the rake task that invoked and the CI
      job that invoked that rake task and any related tests, helper classes
      2. Update documentation to make it clearer that downtime is not allowed
      and therefore remove the approval process
      3. Update a page called `what_requires_downtime` to be called
      `avoiding_downtime_in_migrations` since it was already a set of patterns
      to avoid downtime and now it's worded more strongly to imply that we can
      always get away without downtime
      4. Various other docs pages that had examples of migrations that used
      the `DOWNTIME` constant
      5. Various rubocop specs that had migrations in them which used the
      `DOWNTIME` constant
      
      The one thing I did not do is go back and remove `DOWNTIME = false` from
      all the existing migrations. In general we should not be updating
      migrations once they've run and this would have made this MR change many
      thousands of files so it's not worth it.
      016c3969
  16. 3月 30, 2021
  17. 3月 27, 2021
  18. 3月 25, 2021
  19. 3月 09, 2021
  20. 2月 25, 2021
  21. 2月 05, 2021
  22. 2月 04, 2021
  23. 1月 30, 2021
  24. 1月 11, 2021
    • Patrick Bair's avatar
      Add migration helper to create table with CHECKs · c6c17bcf
      Patrick Bair 创作于
      Add a new migration helper that allows the caller to define CHECK
      constraints in the table definition block. This can be used to avoid
      having to `disable_ddl_transaction!` and add the check constraints using
      the existing helper, which cannot be used inside a transaction block.
      Also provides a convenience method to more easily add CHECK constraints
      for text limits.
      c6c17bcf
  25. 12月 11, 2020
  26. 12月 09, 2020
  27. 12月 05, 2020
  28. 11月 23, 2020
    • Achilleas Pipinellis's avatar
      Update handbook URL for Technical Writers assignments · 2dc1b3be
      Achilleas Pipinellis 创作于
      The previous URL had two drawbacks:
      
      1. It didn't match what the title was about (`Assignments to DevOps
         Stages and Groups`, and the anchor was `#designated-technical-writers`).
      2. It didn't account for the other sections, like development and API
         guidelines.
      2dc1b3be
  29. 11月 17, 2020
  30. 11月 16, 2020
  31. 11月 09, 2020
  32. 10月 31, 2020
  33. 10月 21, 2020
加载中