Skip to content
代码片段 群组 项目
该项目从 https://gitlab.com/gitlab-org/gitlab.git 镜像。 拉取镜像更新于
  1. 8月 30, 2024
  2. 5月 30, 2024
  3. 5月 22, 2024
  4. 3月 07, 2024
  5. 12月 15, 2023
  6. 11月 30, 2023
  7. 11月 18, 2023
  8. 11月 08, 2023
  9. 10月 31, 2023
  10. 10月 21, 2023
    • Jon Jenkins's avatar
      Start using milestones · c61263bc
      Jon Jenkins 创作于
      Adds support code to start requiring milestones as well as including the
      current milestone when generating a new migration.
      
      Update some failing tests
      
      Slight updates
      c61263bc
  11. 10月 20, 2023
  12. 10月 14, 2023
  13. 9月 21, 2023
  14. 8月 16, 2023
  15. 8月 08, 2023
  16. 7月 29, 2023
  17. 7月 18, 2023
    • Piotr Skorupa's avatar
      Add events to metric data sources · 12b7d671
      Piotr Skorupa 创作于
      This adds a new data_source for metrics for use with internal events
      tracking, which combines firing both Redis HLL and Snowplow events
      associated with the metric at the same time.
      12b7d671
  18. 7月 13, 2023
  19. 6月 07, 2023
  20. 5月 30, 2023
  21. 4月 28, 2023
  22. 3月 31, 2023
  23. 11月 11, 2022
  24. 4月 13, 2022
    • Kamil Trzciński's avatar
      Make `Gitlab::Database::Migration[2.0]` to be default · f14c7af7
      Kamil Trzciński 创作于
      This does the following changes:
      
      - Add documentation for migrations for multiple databases.
      - This makes the migrations using a new style being a default
        (not yet mandatory).
      - This updates all exceptions and other documentation places
        to include link to migration docs.
      - Create `MigrationRecord` as a base class for migrations
      f14c7af7
  25. 11月 24, 2021
  26. 11月 08, 2021
  27. 9月 16, 2021
  28. 9月 02, 2021
  29. 9月 01, 2021
    • Andreas Brandl's avatar
      Introduce versioned GitLab migration class · 137f716c
      Andreas Brandl 创作于
      This introduces a versioned parent class for database migrations.
      
      This implements a simple versioning scheme for migration helpers.
      
      We need to be able to version helpers, so we can change their behavior
      without altering the behavior of already existing migrations in
      incompatible ways.
      
      We can continue to change the behavior of helpers without bumping the
      version here, *if* the change is backwards-compatible.
      
      If not, we would typically override the helper method in a new
      MigrationHelpers::V[0-9]+ class and create a new entry with a bumped
      version below.
      
      We use major version bumps to indicate significant changes and minor
      version bumps to indicate backwards-compatible or otherwise minor
      changes (e.g. a Rails version bump). However, this hasn't been
      strictly formalized yet.
      
      Changelog: other
      137f716c
  30. 8月 14, 2021
  31. 8月 12, 2021
  32. 7月 27, 2021
  33. 7月 13, 2021
  34. 6月 15, 2021
  35. 4月 23, 2021
  36. 4月 21, 2021
  37. 4月 15, 2021
  38. 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
  39. 3月 25, 2021
加载中