Skip to content
代码片段 群组 项目
该项目从 https://gitlab.com/gitlab-org/gitlab.git 镜像。 拉取镜像更新于
  1. 3月 11, 2025
  2. 3月 03, 2025
  3. 2月 28, 2025
    • Keeyan Nejad's avatar
      Generate docs for internal GitLab RuboCop cops · 34c3dfb8
      Keeyan Nejad 创作于
      There are many RuboCop cops used internally, which have inline
      documentation.
      
      These cops can now have documentation generated for them automatically,
      so GitLab developers and contributors can reference our documentation
      and examples, to better understand the cops as well as the reasoning
      behind our decisions.
      34c3dfb8
  4. 2月 27, 2025
  5. 2月 18, 2025
  6. 2月 14, 2025
    • Paul Gascou-Vaillancourt's avatar
      Let the docs link linter register two offenses at once · 0aec258b
      Paul Gascou-Vaillancourt 创作于
      This improves the `Gitlab/DocumentationLinks/Link` cop to make it able
      to register two offenses when a given path lacks the `.md` extension and
      does not exist. Previously, a missing extension would prevent the cop
      from performing the subsequent check.
      
      This also generally improves how the cop reports offenses by targetting
      specific parts of the offending code when possible.
      0aec258b
    • Peter Leitzen's avatar
      RuboCop: Auto-enable grace period for new/increased violations · 35da2baa
      Peter Leitzen 创作于
      When generating TODOs, automatically enable grace period for RuboCop
      rules that are:
      - Newly added
      - Have an increased number of violations
      
      This helps manage the gradual adoption of code style rules while
      preventing immediate enforcement of rules with growing violations.
      35da2baa
  7. 2月 10, 2025
  8. 2月 04, 2025
  9. 1月 14, 2025
  10. 12月 21, 2024
    • Joe Woodward's avatar
      Match namespaced factories in Migration/EnsureFactoryForTable Cop · be166074
      Joe Woodward 创作于
      Before this change we only matched tables against their file name e.g.
      
      ```ruby
      create_table :projects_branch_rules_squash_options do
      ```
      
      Would require a factory stored in:
      
      `spec/factories/projects_branch_rules_squash_options.rb`
      
      However, we often use namespacing to retain some structure within the
      codebase. This change allows us to specify a factory in:
      
      `spec/factories/projects/branch_rules/squash_options.rb`
      be166074
  11. 12月 19, 2024
    • Abdul Wadood's avatar
      Run EnsureFactoryForTable in CE to avoid RedundantCopDisableDirective · bb76605d
      Abdul Wadood 创作于
      Currently, we skip the Migration/EnsureFactoryForTable cop when
      running in CE. This results in a Lint/RedundantCopDisableDirective
      offense when there's a
      "rubocop: disable Migration/EnsureFactoryForTable" comment.
      
      To avoid this, we now run the Migration/EnsureFactoryForTable cop
      when a disable comment is present. This prevents the redundant
      disable directive offense.
      
      Changelog: other
      bb76605d
  12. 12月 17, 2024
  13. 12月 09, 2024
  14. 12月 03, 2024
  15. 12月 02, 2024
  16. 11月 29, 2024
  17. 11月 28, 2024
  18. 11月 19, 2024
  19. 11月 15, 2024
  20. 11月 14, 2024
  21. 11月 11, 2024
  22. 10月 30, 2024
  23. 10月 24, 2024
    • Brian Williams's avatar
      Remove `vulnerability_occurrence_pipelines` table and code · bdebec6c
      Brian Williams 创作于
      This table is excessively large because it is a many-to-many
      relationship between vulnerability findings and ci pipelines. We've
      removed all usages of this table from the application, so it can now be
      dropped and all code associated with it can be deleted.
      
      Changelog: removed
      EE: true
      bdebec6c
  24. 10月 23, 2024
    • Maxime Orefice's avatar
      Add IgnoreColumns to ApplicationRecord · ac84ca52
      Maxime Orefice 创作于
      This commit includes IgnoreColumns by default in ApplicationRecord
      in order to reduce the number of line we include while removing a column.
      We seem to use this helper quite a lot, it might makes sense to include
      it by default in all models.
      ac84ca52
  25. 10月 21, 2024
  26. 10月 18, 2024
    • Paul Gascou-Vaillancourt's avatar
      Create the `HelpPagePath/EnsureValidLinks` cop · 8b7e65e1
      Paul Gascou-Vaillancourt 创作于
      This creates a cop that ensures that `help_page_path` usages link to
      existing documentation.
      As the documentation gets updated, it's easy to forget that we link to
      it from many parts of the product. Those links can get outdated as
      documented are removed, section moved around, titles changed, etc.
      This cop should ensure the product links stay in sync with the
      documentation.
      8b7e65e1
  27. 10月 17, 2024
  28. 10月 08, 2024
  29. 9月 20, 2024
  30. 9月 17, 2024
  31. 9月 12, 2024
  32. 9月 04, 2024
  33. 8月 29, 2024
加载中