mirror of
https://github.com/ysoftdevs/odc-analyzer.git
synced 2026-03-24 01:52:26 +01:00
Initial commit
This commit is contained in:
7
app/views/warnings/badGroupedDependencies.scala.html
Normal file
7
app/views/warnings/badGroupedDependencies.scala.html
Normal file
@@ -0,0 +1,7 @@
|
||||
@(name: String, count: Int, items: Traversable[_])
|
||||
@name (@count)<br>
|
||||
<ul>
|
||||
@for(i <- items){
|
||||
<li>@i</li>
|
||||
}
|
||||
</ul>
|
||||
7
app/views/warnings/badValues.scala.html
Normal file
7
app/views/warnings/badValues.scala.html
Normal file
@@ -0,0 +1,7 @@
|
||||
@(name: String, items: Seq[(ReportInfo, Html)])
|
||||
<strong>@name:</strong>
|
||||
<ul>
|
||||
@for((name, i) <- items){
|
||||
<li>@friendlyProjectName(name): @i</li>
|
||||
}
|
||||
</ul>
|
||||
5
app/views/warnings/emptyResults.scala.html
Normal file
5
app/views/warnings/emptyResults.scala.html
Normal file
@@ -0,0 +1,5 @@
|
||||
@(emptyReports: Seq[Build], urlBase: String)
|
||||
<strong>Following projects have produced no results:</strong>
|
||||
@for(build <- emptyReports.toSeq.sortBy(_.projectName)){
|
||||
<li>@secureLink(build.resultLink(urlBase)){@build.projectName}</li>
|
||||
}
|
||||
7
app/views/warnings/failedReports.scala.html
Normal file
7
app/views/warnings/failedReports.scala.html
Normal file
@@ -0,0 +1,7 @@
|
||||
@(failedReports: Set[Build], urlBase: String)
|
||||
<strong>There are some reports that failed to build:</strong>
|
||||
<ul>
|
||||
@for(build <- failedReports.toSeq.sortBy(_.projectName)){
|
||||
<li>@secureLink(build.resultLink(urlBase)){@build.projectName}</li>
|
||||
}
|
||||
</ul>
|
||||
19
app/views/warnings/failedResults.scala.html
Normal file
19
app/views/warnings/failedResults.scala.html
Normal file
@@ -0,0 +1,19 @@
|
||||
@(errors: Map[String, Throwable])
|
||||
<ul>
|
||||
Some reports failed to be downloaded:
|
||||
@for((project, e) <- errors){
|
||||
<li>
|
||||
@project: @e
|
||||
@(e match {
|
||||
case upickle.Invalid.Data(data, msg) => s"$msg (data: $data)"
|
||||
case upickle.Invalid.Json(msg, input) => s"$msg (input: $input)"
|
||||
case _ => ""
|
||||
})
|
||||
|
||||
</li>
|
||||
@{
|
||||
play.api.Logger.logger.error(s"Project results of $project failed to parse.", e)
|
||||
()
|
||||
}
|
||||
}
|
||||
</ul>
|
||||
10
app/views/warnings/groupedDependencies.scala.html
Normal file
10
app/views/warnings/groupedDependencies.scala.html
Normal file
@@ -0,0 +1,10 @@
|
||||
@(items: IndexedSeq[GroupedDependency])(implicit rh: DefaultRequest, snoozes: SnoozesInfo, messages: Messages)
|
||||
(ignore this item)
|
||||
@groupedDependencyList(name = "", id = s"grouped-dependencies-warning-${java.util.UUID.randomUUID.toString}", collapse = false, allowSnoozes = false, versions = Map())(list = items)
|
||||
@for(groupedDependency <- items){
|
||||
<li>
|
||||
<strong>@groupedDependency.fileNames.toSeq.sorted</strong>
|
||||
@identifiers(groupedDependency.identifiers)
|
||||
@groupedDependency.dependencies.keySet.groupBy(_.evidenceCollected)
|
||||
</li>
|
||||
}
|
||||
5
app/views/warnings/resultsWithErrorMessages.scala.html
Normal file
5
app/views/warnings/resultsWithErrorMessages.scala.html
Normal file
@@ -0,0 +1,5 @@
|
||||
@(reportsWithErrorMessages: Seq[Build], urlBase: String)
|
||||
<strong>Following projects seem to contain some error messages in their logs:</strong>
|
||||
@for(build <- reportsWithErrorMessages.toSeq.sortBy(_.projectName)){
|
||||
<li>@secureLink(build.resultLink(urlBase)){@build.projectName}</li>
|
||||
}
|
||||
2
app/views/warnings/textWarning.scala.html
Normal file
2
app/views/warnings/textWarning.scala.html
Normal file
@@ -0,0 +1,2 @@
|
||||
@(text: String)
|
||||
@text
|
||||
7
app/views/warnings/unknownIdentifierType.scala.html
Normal file
7
app/views/warnings/unknownIdentifierType.scala.html
Normal file
@@ -0,0 +1,7 @@
|
||||
@(unknownIdentifierTypes: Set[String])
|
||||
There are some unknown identifier types. These will not be handled by the application:
|
||||
<ul>
|
||||
@for(identifierType <- unknownIdentifierTypes.toSeq.sorted){
|
||||
<li>@identifierType</li>
|
||||
}
|
||||
</ul>
|
||||
Reference in New Issue
Block a user