- Sep 10, 2019
-
-
- Sep 06, 2019
-
-
Ash McKenzie authored
This class encapsulates our use of the Danger gem.
-
Ash McKenzie authored
This reverts merge request !32196
-
Ash McKenzie authored
Convert a bunch of Danger rules so they can run locally.
-
- Aug 26, 2019
-
-
Change from ruby mdl to node markdownlint, add config file to root of project, delete old config file, update exceptions, and fix one doc that was didn't meet standards
-
- Aug 22, 2019
-
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
- Aug 21, 2019
-
-
Rémy Coutable authored
Signed-off-by:
Rémy Coutable <remy@rymai.me>
-
- Jul 24, 2019
-
-
Tiger Watson authored
-
- Jul 19, 2019
- Jul 16, 2019
-
-
Achilleas Pipinellis authored
We have another rule that requires squash enabled when suggestions are applied. No need to fail the ones that are more than 72 characters long since they will be squashed anyway.
-
- Jul 11, 2019
-
-
Mark Fletcher authored
-
- Jul 09, 2019
-
-
- Jul 06, 2019
-
-
- Jul 04, 2019
-
-
Stop using two separate lists for the conditions which files require a database review. Related discussion: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/30156#note_187732053
-
- Jun 27, 2019
-
-
Lukas Eipert authored
If an MR only changes files within `doc/` we can save valueable CI time by prepending a branch name with `docs-`. This danger rule helps educate people about that fact. On the other hand, if someone has a branch with a `docs` prefix or suffix, the branch shouldn't contain any changes outside of the `docs` directory
-
- Jun 19, 2019
-
-
Achilleas Pipinellis authored
-
- Jun 17, 2019
-
-
Yorick Peterse authored
This backports all EE schema changes to CE, including EE migrations, ensuring both use the same schema. == Updated tests A spec related to ghost and support bot users had to be modified to make it pass. The spec in question assumes that the "support_bot" column exists when defining the spec. In the single codebase setup this is not the case, as the column is backported in a later migration. Any attempt to use a different schema version or use of "around" blocks to conditionally disable specs won't help, as reverting the backport migration would also drop the "support_bot" column. Removing the "support_bot" tests entirely appears to be the only solution. We also need to update some foreign key tests now that we have backported the EE columns. Fortunately, these changes are very minor. == Backporting migrations This commit moves EE specific migrations (except those for the Geo tracking database) and related files to CE, and also removes any traces of the ee/db directory. Some migrations had to be modified or removed, as they no longer work with the schema being backported. These migrations were all quite old, so we opted for removing them where modifying them would take too much time and effort. Some old migrations were modified in EE, while also existing in CE. In these cases we took the EE code, and in one case removed them entirely. It's not worth spending time trying to merge these changes somehow as we plan to remove old migrations around the release of 12.0, see https://gitlab.com/gitlab-org/gitlab-ce/issues/59177 for more details.
-
- Jun 12, 2019
-
-
Jacopo authored
Excludes MR author from gitlab_ui and single_codebase Review roulette results.
-
- Jun 06, 2019
-
-
Sean McGivern authored
A colon-emoji like
can be valid in the case where we're talking about the GitLab feature that processes these into emojis. It's fine to warn about those, but failing the pipeline is too restrictive. -
Lin Jen-Shin authored
reviewers.
-
- May 30, 2019
-
-
Lin Jen-Shin authored
-
Lin Jen-Shin authored
So it's more modular and extensible
-
- May 05, 2019
-
-
Stan Hu authored
-
- Apr 30, 2019
-
-
Sean McGivern authored
This would return `people.size` before, when it should return `nil`.
-
- Apr 29, 2019
-
-
Michael Kozono authored
-
- Apr 24, 2019
-
-
Nathan Friend authored
This commit adds a rule to Danger that warns the developer when their MR includes changes to a CE .vue file that has a counterpart in the EE repo or vice-versa.
-
- Apr 08, 2019
-
-
Sean McGivern authored
Change reviewer roulette to always pick the same reviewers for the same branch name. We do this by: 1. Making the branch name 'canonical' across CE and EE by stripping a leading 'ce-' or 'ee-' and a trailing '-ce' or '-ee'. If people are following our branch naming guidelines, this should give the same branch name in both repos. 2. Converting the branch name to a stable integer by taking the integer form of its MD5. 3. Passing that integer as a seed to Ruby's `Random` class, which 'may be used to ensure repeatable sequences of pseudo-random numbers between different runs of the program' (from the Ruby documentation). The upshot is that the same branch name (in CE and EE) should always pick the same reviewers, and those should be evenly distributed across the set of possible reviewers due to the use of MD5.
-
Sean McGivern authored
-
- Apr 05, 2019
-
-
Sean McGivern authored
Trainee maintainers count as reviewers, but should get more reviews than most reviewers, as they need practice to become a maintainer. This makes them three times as likely to be picked (compared to another reviewer; compared to before, it's roughly twice as likely at the current numbers for each). Also, switch to `Array#sample` because I think it looks nicer.
-
- Mar 29, 2019
-
-
Filipa Lacerda authored
-
- Mar 13, 2019
-
-
- Mar 11, 2019
-
-
Marin Jankovski authored
This extends Danger so it informs MR authors that single codebase merge requests need to be approved by a specific group of engineers. Co-authored-by:
Yorick Peterse <yorickpeterse@gmail.com>
-
- Feb 22, 2019
-
-
Lin Jen-Shin authored
-
- Feb 20, 2019
-
-
Kamil Trzcińśki authored
This introduces additional method for linting, to reduce the complexity of `lint_commits`.
-
- Feb 19, 2019
-
-
Kamil Trzcińśki authored
-
- Feb 18, 2019
-
-
Mike Lewis authored
-
Nick Thomas authored
-
- Feb 14, 2019
-
-
Nick Thomas authored
-
- Feb 13, 2019
-
-
Nick Thomas authored
Make danger pick reviewers and maintainers at random, for feontend, backend, database, etc, changes, whenever files belonging to those teams get changed.
-
Nick Thomas authored
-