michalwedzik commented on code in PR #62:
URL:
https://github.com/apache/sling-org-apache-sling-feature-analyser/pull/62#discussion_r3750576958
##########
src/test/java/org/apache/sling/feature/analyser/task/impl/repoinitconflicts/RepoInitConflictsValidatorTest.java:
##########
@@ -69,9 +69,10 @@ void shouldReportConflictForSamePathDifferentType() {
assertTrue(report.hasConflicts());
List<String> result = report.generate();
- assertTrue(result.get(1).contains("Incorrect repoinit for feature"));
- assertTrue(result.get(2).contains("Found 1 sets of conflicting
repoinit statements"));
- assertTrue(result.get(3).contains("/apps/a/b"));
+ assertTrue(result.get(1).contains("Repoinit validation conflict
summary"));
Review Comment:
I'm preparing the commit. I still need to update the tests, but a single log
message will look like this:
```
[2026/08/10 16:45:37.967] [WARN]
com.adobe.granite.fact.command.ConvertMergeAnalyseCommand -
[repoinit-conflicts] Repoinit validation results:
Repoinit validation conflict summary for feature Assembled Feature
[id=com.adobe.granite:aem-cs-app:slingosgifeature:aggregated-publish.prod:1.0.0-SNAPSHOT]:
found 2 conflict(s)
Conflicting repoinit statement set 1/2:
create path (sling:Folder)
/apps/namics/genericmultifield(sling:Folder)/clientlibs/css(cq:ClientLibraryFolder)
create path (sling:Folder) /apps/namics/genericmultifield/clientlibs/css
Conflicting repoinit statement set 2/2:
create path (sling:Folder)
/apps/namics/genericmultifield(sling:Folder)/clientlibs/js(cq:ClientLibraryFolder)
create path (sling:Folder) /apps/namics/genericmultifield/clientlibs/js
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]