Skip to content

Commit

Permalink
Adding top level stats (#645)
Browse files Browse the repository at this point in the history
* Updated stats

* Updated packages
  • Loading branch information
samsmithnz authored Nov 9, 2023
1 parent 8fe8109 commit 8facf95
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/RepoGovernance.Core/RepoGovernance.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<PackageReference Include="DotNetCensus.Core" Version="1.6.4" />
<PackageReference Include="GitHubActionsDotNet" Version="1.2.7" />
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="7.0.0" />
<PackageReference Include="Microsoft.Graph" Version="5.33.0" />
<PackageReference Include="Microsoft.Graph" Version="5.34.0" />
<PackageReference Include="RepoAutomation.Core" Version="1.5.6" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/RepoGovernance.Function/RepoGovernance.Function.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<UserSecretsId>56a80713-9f41-47ac-bcbe-6d61d992bf79</UserSecretsId>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Azure.Storage.Queues" Version="12.16.0" />
<PackageReference Include="Azure.Storage.Queues" Version="12.17.0" />
<PackageReference Include="Microsoft.Azure.WebJobs.Extensions.Storage" Version="5.2.1" />
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="7.0.0" />
<PackageReference Include="Microsoft.NET.Sdk.Functions" Version="4.2.0" />
Expand Down
2 changes: 1 addition & 1 deletion src/RepoGovernance.Tests/RepoGovernance.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="7.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.7.2" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.1.1" />
<PackageReference Include="MSTest.TestFramework" Version="3.1.1" />
<PackageReference Include="coverlet.collector" Version="6.0.0">
Expand Down
9 changes: 8 additions & 1 deletion src/RepoGovernance.Web/Views/Home/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,14 @@
<h4>For user <code>@user</code>@* (last updated at @lastUpdated)*@</h4>
<b>Legend</b>: <i class="bi bi-heart-fill greenHeart" data-toggle="tooltip" data-placement="bottom" title="No recommendations"></i>=Repo is OK, no recommendations
<i class="bi bi-heart-pulse redHeart" data-toggle="tooltip" data-placement="bottom" title="Recommendations for improvement"></i>=Recommendations for improvement
<br /><a href="https://github.com/samsmithnz/RepoGovernance" target="_blank" style="font-size:12px">This project source code</a>
<br />
<div style="font-size:14px;">
<a href="https://github.com/samsmithnz/RepoGovernance" target="_blank" style="font-size:12px">This project source code</a> &nbsp;
<span class="badge bg-primary">Total repos: @Model.SummaryItems.Count</span> &nbsp;
<span class="badge bg-primary">Total PRs: @Model.SummaryItems.Sum(x => x.PullRequests.Count)</span> &nbsp;
<span class="badge bg-primary">Total issues: @Model.SummaryItems.Sum(x => x.TotalRecommendationCount)</span>
</div>
<br />
</div>
<div class="col-md-6">
<h4>&nbsp;</h4>
Expand Down

0 comments on commit 8facf95

Please sign in to comment.