该项目从 https://gitlab.com/gitlab-org/gitlab.git 镜像。
拉取镜像更新于 。
- 3月 11, 2025
-
-
由 Shane Maglangit 创作于
Changelog: added
-
- 3月 03, 2025
-
-
由 Peter Leitzen 创作于
This reverts merge request !172742
-
- 2月 28, 2025
-
-
由 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.
-
- 2月 27, 2025
-
-
由 Allen Cook 创作于
-
- 2月 18, 2025
-
-
由 Kerri Miller 创作于
-
- 2月 14, 2025
-
-
由 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.
-
由 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.
-
- 2月 10, 2025
-
-
由 Peter Leitzen 创作于
We've moved RuboCop TODO's to `.rubocop_todo/**/*.yml` over an year ago and it's not been used ever since then.
-
- 2月 04, 2025
-
-
由 Omar Qunsul 创作于
Changelog: other First part of issue https://gitlab.com/gitlab-org/gitlab/-/issues/507343
-
- 1月 14, 2025
-
-
由 Gabriel Mazetto 创作于
-
- 12月 21, 2024
-
-
由 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`
-
- 12月 19, 2024
-
-
由 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
-
- 12月 17, 2024
-
-
由 Paul Gascou-Vaillancourt 创作于
Moves the `Gitlab/DocUrl` cop to the `Gitlab/DocumentationLinks/HardcodedUrl` namespace.
-
- 12月 09, 2024
-
-
由 Peter Leitzen 创作于
When `feature_category` is missing RuboCop set the whole `RSpec.describe` as offended node which made some IDEs like RubyMine highlight the complete file making it hard to read. This MR ensures that only `RSpec.describe ...` (without `do`) is marked making the offenses easier on the eyes.
-
由 Maxime Orefice 创作于
-
由 Halil Coban 创作于
Implement RuboCop rule to prevent misuse of allow_access_with_scope method. This ensures the method is only used at the class level, not nested in namespaces. Because, if this method is called multiple times on the same class, the scopes are all aggregated Changelog: other
-
- 12月 03, 2024
-
-
由 Maxime Orefice 创作于
As we want to be able to round trip this YAML, but unfortunate the Ruby Psych library does not preserve comments.
-
由 Maxime Orefice 创作于
-
- 12月 02, 2024
-
-
由 Maxime Orefice 创作于
-
- 11月 29, 2024
-
-
由 Andy Schoenen 创作于
To point to the correct example
-
- 11月 28, 2024
-
-
由 Maxime Orefice 创作于
This commit updates our existing cop to prevent adding columns on large tables.
-
- 11月 19, 2024
-
-
由 Dmitry Gruzd 创作于
-
由 Furkan Ayhan 创作于
In the GitLab monolith codebase, we should use the `Gitlab::HTTP` wrapper instead of `Gitlab::HTTP_V2` because we need to pass options that are related to the GitLab instance setting.
-
- 11月 15, 2024
-
-
由 Thong Kuah 创作于
We go through sizes in ascending order, so the largest partition sets the final `table_size` for the table dictionary
-
- 11月 14, 2024
-
-
由 Peter Leitzen 创作于
We've stopped support for Ruby 3.1 some time ago.
-
- 11月 11, 2024
-
-
由 Mehmet Emin INAC 创作于
-
- 10月 30, 2024
-
-
由 Abdul Wadood 创作于
As we want to enable this cop after fixing all the offenses.
-
- 10月 24, 2024
-
-
由 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
-
- 10月 23, 2024
-
-
由 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.
-
- 10月 21, 2024
-
-
由 Martin Schurz 创作于
-
- 10月 18, 2024
-
-
由 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.
-
- 10月 17, 2024
-
-
由 Martin Schurz 创作于
-
- 10月 08, 2024
-
-
由 Marcel Amirault 创作于
We should use .md in all links to markdown documentation files for better maintainability. Changelog: changed EE: true
-
由 Martin Schurz 创作于
Changelog: other
-
- 9月 20, 2024
-
-
由 Luke Duncalfe 创作于
This enforces some of the guidelines added around use of `ID` type added in https://gitlab.com/gitlab-org/gitlab/-/merge_requests/152002.
-
- 9月 17, 2024
-
-
由 Doug Stull 创作于
- placing an ee only class under an ee/**/ee subdirectory is not the right placement and we should alert on it. - see https://docs.gitlab.com/ee/development/ee_features.html#extend-ce-features-with-ee-backend-code - see https://gitlab.com/gitlab-org/gitlab/-/issues/378167
-
- 9月 12, 2024
-
-
由 Prabakaran Murugesan 创作于
MR: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/165640 Changelog: removed
-
- 9月 04, 2024
-
-
由 Tianwen Chen 创作于
-
- 8月 29, 2024
-
-
由 Maxime Orefice 创作于
This new batched migration will add partition_id in the where clause in order to leverage partition pruning and not scanning all partitions.
-