Skip to content
代码片段 群组 项目
该项目从 https://gitlab.com/gitlab-org/gitlab.git 镜像。 拉取镜像更新于
  1. 4月 22, 2024
  2. 4月 18, 2024
  3. 4月 17, 2024
  4. 4月 16, 2024
  5. 4月 15, 2024
  6. 4月 13, 2024
  7. 4月 12, 2024
  8. 4月 11, 2024
  9. 4月 09, 2024
  10. 4月 07, 2024
  11. 4月 03, 2024
    • Peter Leitzen's avatar
      Skip Migration/EnsureFactoryForTable in CE · 2bd4e811
      Peter Leitzen 创作于
      Since migrations for EE models don't have factories in CE we need to
      skip this cop in foss-only CI.
      
      This commit also simplifies the implementation and improves the
      performances be caching files operations.
      2bd4e811
  12. 3月 21, 2024
  13. 3月 20, 2024
    • Dylan Griffith's avatar
      Refactor git push logic to Git class · dbb56d46
      Dylan Griffith 创作于
      This is to make it easier to support origin remote in the following
      commit. Also we're trying to move logic out of Runner as it's become a
      bit unmanageable.
      dbb56d46
  14. 3月 18, 2024
    • Dylan Griffith's avatar
      Improve stub_env handling of unset keys raise error on fetch · 2a8aefca
      Dylan Griffith 创作于
      In real usage if you call `ENV.fetch('NON_EXISTENT_KEY')` it will raise
      a `KeyError`. But our previously implementation of of `stub_env` with
      `nil` is causing it to return `nil` rather than raising an error. This
      can cause us to write tests that don't match the actual production
      behaviour. We might forget to rescue the exception in a certain place or
      we also may not be able to write a test case for the expected behaviour.
      
      ```
      irb(main):001> ENV.fetch('NON_EXISTENT_KEY')
      (irb):1:in `fetch': key not found: "NON_EXISTENT_KEY" (KeyError)
      
      irb(main):002> ENV['NON_EXISTENT_KEY'] = nil
      => nil
      
      irb(main):003> ENV.fetch('NON_EXISTENT_KEY')
      (irb):3:in `fetch': key not found: "NON_EXISTENT_KEY" (KeyError)
      ```
      2a8aefca
  15. 3月 07, 2024
  16. 3月 05, 2024
加载中