Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/danger
AgeCommit message (Collapse)Author
2020-01-10Add latest changes from gitlab-org/security/gitlab@12-4-stable-eeGitLab Bot
2019-10-22Add latest changes from gitlab-org/gitlab@12-4-stable-eeGitLab Bot
2019-09-18Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-17Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-16Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-10Danger: Allow fixup commits if squash enabled or MR is WIPElan Ruusamäe
2019-09-06Add new GitlabDanger classAsh McKenzie
This class encapsulates our use of the Danger gem.
2019-09-06Revert "Merge branch '66596-allow-danger-to-be-run-locally' into 'master'"Ash McKenzie
This reverts merge request !32196
2019-09-06Update some Danger rules to not rely upon CIAsh McKenzie
Convert a bunch of Danger rules so they can run locally.
2019-08-26Change docs markdown linterMarcel Amirault
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
2019-08-22Make it clear that it's ok to ignore Danger's 'no changelog' warningRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-08-21Make Danger consider .md files as documentation filesRémy Coutable
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-07-24Fix duplicated suggestion in Danger gem warningTiger
2019-07-19Document database review processToon Claes
See https://gitlab.com/gitlab-com/gl-infra/infrastructure/issues/6069
2019-07-17Merge branch 'danger-throughputs' into 'master'Lin Jen-Shin
Danger asks for throughput labels See merge request gitlab-org/gitlab-ce!30622
2019-07-16Do not fail danger if suggestion commit msg > 72Achilleas Pipinellis
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.
2019-07-11Danger asks for throughput labelsMark Fletcher
2019-07-09Docs: Update danger to accept docs linting changesMarcel Amirault
2019-07-06Update dangerfile to exclude docs ci yamlMarcel Amirault
2019-07-04DRY up conditions for files require DB reviewToon Claes
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
2019-06-27Add a danger rule to suggest `docs-` prefixesLukas Eipert
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
2019-06-19When using suggestions, squash must be enabledAchilleas Pipinellis
2019-06-17Backport the EE schema and migrations to CEYorick Peterse
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.
2019-06-12Excludes MR author from Review rouletteJacopo
Excludes MR author from gitlab_ui and single_codebase Review roulette results.
2019-06-06Don't fail the pipeline when a colon-emoji is usedSean McGivern
A colon-emoji like :100: 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.
2019-06-06Show Test Automation Engineer for spec/feature asLin Jen-Shin
reviewers.
2019-05-30Use roulette for single codebase rouletteLin Jen-Shin
2019-05-30Extract roulette to its own moduleLin Jen-Shin
So it's more modular and extensible
2019-05-05Run rubocop -a on CE filesStan Hu
2019-04-30Fix reviewer roulette when no-one is in a categorySean McGivern
This would return `people.size` before, when it should return `nil`.
2019-04-29Exclude reviewers with OOO in statusMichael Kozono
2019-04-24Add Danger rule for EE/CE templatesNathan Friend
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.
2019-04-08Pick reviewers based on branch nameSean McGivern
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.
2019-04-08Add issue links to Danger roulette commentsSean McGivern
2019-04-05Make trainee maintainers three times as likely to be pickedSean McGivern
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.
2019-03-29Set specific reviewers for the GitLab UI WG effortFilipa Lacerda
2019-03-13Reduce dangerbot message to the essentialsEvan Read
2019-03-11Set specific reviewers for single codebase effortMarin Jankovski
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>
2019-02-22Resolve "Fix danger commit messages check"Lin Jen-Shin
2019-02-21Merge branch 'template-improvements-for-documentation' into 'master'Mike Lewis
Template and process improvements for documentation See merge request gitlab-org/gitlab-ce!24315
2019-02-20Refactor commit_messages#lint_commitKamil Trzciński
This introduces additional method for linting, to reduce the complexity of `lint_commits`.
2019-02-19Ignore revert commitsKamil Trzciński
2019-02-19Merge branch 'master' into 'template-improvements-for-documentation'Mike Lewis
# Conflicts: # .gitlab/merge_request_templates/Documentation.md
2019-02-19Update Documentation Dangerfile with small wording changeMike Lewis
2019-02-18Fix the documentation DangerfileNick Thomas
2019-02-15Reviewer roulette ignores changelogsNick Thomas
2019-02-13Reviewer roulette via DangerNick Thomas
Make danger pick reviewers and maintainers at random, for feontend, backend, database, etc, changes, whenever files belonging to those teams get changed.
2019-02-13Move the ee? helper method into the helperNick Thomas
2019-02-13Move change category detection to a helperNick Thomas
2019-02-12Update Dangerfile per updated Technical Writing review policyMike Lewis