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

1026: Skara bot doesn't update Progress checklist for clean backports to show that it is properly reviewed #1198

Closed
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -68,13 +68,20 @@ List<String> hiddenMessages() {
.collect(Collectors.toList());
}

/**
* Get all the displayed checks with results.
*/
Map<String, Boolean> getChecks() {
return enabledChecks.stream()
.filter(check -> displayedChecks.contains(check.getClass()))
.collect(Collectors.toMap(Check::description,
check -> !failedChecks.containsKey(check.getClass())));
}

/**
* Get all the displayed checks with results that were used to decide if this change is ready for
* review.
*/
Map<String, Boolean> getReadyForReviewChecks() {
return enabledChecks.stream()
.filter(check -> displayedChecks.contains(check.getClass()))