Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added more details in the rule output #105

Merged
merged 4 commits into from
Nov 29, 2023
Merged

Added more details in the rule output #105

merged 4 commits into from
Nov 29, 2023

Conversation

Bullrich
Copy link
Contributor

Added detailed explanation in the rules output, informing how each rule works and a list of approvals that counts towards incomplete rules (so we can see who's review count where).

Resolves #103


Example of rule output:

Details per rule:

Core developers

Missing 1 review

Rule explanationRule 'Basic' requires a given amount of reviews from users/teams

For more info found out how the rules work in Review-bot types

Missing reviews from teams

  • core-devs

Users approvals that counted towards this rule

  • gavofyork

Runtime files cumulus

Missing 2 reviews

Rule explanationRule 'And Distinct' has many required reviewers/teams and requires all of them to be fulfilled **by different users**.

The approval of one user that belongs to two teams will count only towards one team.

For more info found out how the rules work in Review-bot types

Missing reviews from teams

  • locks-review
  • polkadot-review

Users approvals that counted towards this rule

  • gavofyork

This way we can know what approvals counted towards a rule
This way it is better shown for people who care about the rule logic
@Bullrich Bullrich requested a review from a team as a code owner November 29, 2023 13:53
@Bullrich Bullrich self-assigned this Nov 29, 2023
@Bullrich Bullrich mentioned this pull request Nov 29, 2023
@Bullrich Bullrich merged commit 5c058f0 into main Nov 29, 2023
13 checks passed
@Bullrich Bullrich deleted the detail-explanation branch November 29, 2023 17:10
Bullrich added a commit that referenced this pull request Nov 29, 2023
This new version includes the fix for PRs with too many reviews and a
more detailed rule explanation.

Must be merged **after** #104 and #105 have been merged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add more detailed results
2 participants