Iss #156 - Add handling of Gitlab repo field from projects API
1 unresolved thread
1 unresolved thread
- Iss #156 (closed) - Add handling of Gitlab repo field from projects API
In cases where there are dash repositories added outside the typical Gitlab organization, they should now be detected properly as a project.
Resolves #156 (closed)
Merge request reports
Activity
Filter activity
requested review from @cguindon, @malowe, and @zacharysabourin
76 76 case GITLAB: 77 77 return availableProjects 78 78 .stream() 79 .filter(p -> projectNamespace.startsWith(p.getGitlab().getProjectGroup() + "/") 80 && p.getGitlab().getIgnoredSubGroups().stream().noneMatch(sg -> projectNamespace.startsWith(sg + "/"))) 79 .filter(p -> p.getGitlabRepos().stream().anyMatch(re -> re.getUrl() != null && re.getUrl().endsWith(repoUrl)) 80 || (projectNamespace.startsWith(p.getGitlab().getProjectGroup() + "/") && p 81 .getGitlab() 82 .getIgnoredSubGroups() 83 .stream() 84 .noneMatch(sg -> projectNamespace.startsWith(sg + "/")))) changed this line in version 2 of the diff
added 1 commit
- 8d456262 - Separate out logic for matching Github/lab repos into own methods
requested review from @zacharysabourin
mentioned in commit bec0588d
Please register or sign in to reply