Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Git ECA API
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eclipse Foundation
IT
APIs
Git ECA API
Merge requests
!165
The source project of this merge request has been removed.
Iss
#146
- Update status UI to list successfully validated users
Merged
Iss
#146
- Update status UI to list successfully validated users
(removed):malowe/main/146
into
main
Overview
0
Commits
1
Pipelines
0
Changes
3
Merged
Martin Lowe
requested to merge
(removed):malowe/main/146
into
main
1 year ago
Overview
0
Pipelines
0
Changes
3
Expand
Resolves
#146 (closed)
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
3d0b23b1
1 commit,
1 year ago
3 files
+
56
−
16
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
src/main/java/org/eclipsefoundation/git/eca/config/EclipseQuteTemplateExtensions.java
+
15
−
0
Options
@@ -50,6 +50,21 @@ public class EclipseQuteTemplateExtensions {
return
statuses
.
stream
().
flatMap
(
s
->
s
.
getErrors
().
stream
()).
collect
(
Collectors
.
toList
());
}
/**
* Converts the status list to a list of email addresses that were associated with validated commits.
*
* @param statuses the list of commit statuses for the current validation.
* @return list of email addresses associated with valid requests
*/
static
List
<
String
>
getUniquePassedMails
(
List
<
CommitValidationStatus
>
statuses
)
{
return
statuses
.
stream
()
.
filter
(
s
->
s
.
getErrors
().
isEmpty
())
.
map
(
CommitValidationStatus:
:
getUserMail
)
.
distinct
()
.
collect
(
Collectors
.
toList
());
}
/**
* <p>
* Obfuscates an email for public consumption, showing the first letter of the email address, and the domain of the
Loading