Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge latest Library.Template #1350

Merged
merged 36 commits into from
Feb 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
b9f8bc9
Fix typo
AArnott Jan 15, 2025
df52435
Add GitS sponsorship badge
AArnott Jan 18, 2025
02bf9ee
Revert "Add GitS sponsorship badge"
AArnott Jan 20, 2025
aa8e870
Update dependency powershell to 7.5.0 (#341)
renovate[bot] Jan 23, 2025
5fa9788
Merge remote-tracking branch 'origin/main' into microbuild
AArnott Jan 23, 2025
3730643
Bump all microbuild packages at once
AArnott Jan 24, 2025
66fe1ca
Add markup link checker to GitHub workflow
AArnott Jan 27, 2025
b3b3da2
Fix stale link in CONTRIBUTING.md
AArnott Jan 27, 2025
e562b36
Merge pull request #342 from AArnott/mlc
AArnott Jan 27, 2025
c58551b
Merge remote-tracking branch 'origin/main' into microbuild
AArnott Jan 27, 2025
1da3863
Skip aka.ms links that don't validate
AArnott Jan 27, 2025
df8d6cd
Merge pull request #343 from AArnott/mbdocs
AArnott Jan 27, 2025
9409f44
Bump nuget.exe build tool to 6.12.2
AArnott Jan 27, 2025
4868200
Merge branch 'main' into microbuild
AArnott Jan 27, 2025
e25313b
Update becheran/mlc action to v0.19.1
renovate[bot] Feb 4, 2025
83228fe
Suppress an expected doc warning
AArnott Feb 4, 2025
015fcf6
Merge pull request #344 from AArnott/renovate/becheran-mlc-0.x
AArnott Feb 4, 2025
3114358
Remove dependabot.yml
AArnott Feb 4, 2025
3856c54
Update becheran/mlc action to v0.19.2 (#345)
renovate[bot] Feb 4, 2025
399d3d5
Stick with .NET 8 packages
AArnott Feb 5, 2025
56ac670
Update microbuild to 2.0.181
AArnott Feb 5, 2025
37e48d0
Update dependency ubuntu to v24
AArnott Feb 5, 2025
28c5968
Avoid daily updates of VS packages
AArnott Feb 5, 2025
b4a369c
Group VS SDK package updates
AArnott Feb 5, 2025
b1e2782
Merge remote-tracking branch 'origin/main' into microbuild
AArnott Feb 5, 2025
674e010
Merge branch 'renovateFTW' into microbuild
AArnott Feb 5, 2025
2d06ba4
Update becheran/mlc action to v0.19.2
AArnott Feb 5, 2025
429e76f
Fix mlc suppressions for SECURITY.md
AArnott Feb 5, 2025
8eb0937
Renovate should not update to versions from non-release branches
AArnott Feb 6, 2025
41d1b78
Merge branch 'main' into microbuild
AArnott Feb 6, 2025
9db1062
Drop group name in renovate
AArnott Feb 6, 2025
907d58c
Merge branch 'main' into microbuild
AArnott Feb 6, 2025
574886f
Update xunit (#346)
renovate[bot] Feb 7, 2025
de76cb2
Merge remote-tracking branch 'origin/main' into microbuild
AArnott Feb 7, 2025
158d15c
Merge the microbuild branch from https://github.com/aarnott/Library.T…
AArnott Feb 7, 2025
0a07ed6
Adjust renovate to lock in VS 2019 Update 11 targeting
AArnott Feb 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"isRoot": true,
"tools": {
"powershell": {
"version": "7.4.6",
"version": "7.5.0",
"commands": [
"pwsh"
],
Expand Down
23 changes: 0 additions & 23 deletions .github/dependabot.yml

This file was deleted.

39 changes: 39 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,45 @@
"matchDatasources": ["dotnet-version", "docker"],
"matchDepNames": ["dotnet-sdk", "mcr.microsoft.com/dotnet/sdk"],
"groupName": "Dockerfile and global.json updates"
},
{
"matchPackageNames": ["*"],
"allowedVersions": "!/-g[a-f0-9]+$/"
},
{
"matchPackageNames": [
"System.Collections.Immutable",
"System.Composition*",
"System.Diagnostics.DiagnosticSource",
"System.IO.Pipelines",
"System.Reflection.Metadata",
"System.Text.Json",
"System.Threading.Tasks.Dataflow",
"Microsoft.Bcl.AsyncInterfaces"
],
"allowedVersions": "<9.0",
"groupName": "Included in .NET runtime"
},
{
"matchPackageNames": ["Microsoft.VisualStudio.Internal.MicroBuild*"],
"groupName": "microbuild"
},
{
"matchPackageNames": ["Microsoft.VisualStudio.*"],
"groupName": "Visual Studio SDK"
},
{
"matchPackageNames": ["Microsoft.VisualStudio.*"],
"matchUpdateTypes": ["patch"],
"enabled": false
},
{
"matchPackageNames": ["MessagePack"],
"enabled": false
},
{
"matchJsonata": [ "sharedVariableName='CodeAnalysisVersionForAnalyzers'" ],
"enabled": false
}
]
}
12 changes: 10 additions & 2 deletions .github/workflows/docs_validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,23 @@ name: 📃 Docfx Validate
on:
pull_request:
workflow_dispatch:
push:
branches:
- main
- microbuild

jobs:
build:
name: 📚 docfx
runs-on: ubuntu-22.04
name: 📚 Doc validation
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
- name: 🔗 Markup Link Checker (mlc)
uses: becheran/mlc@v0.19.2
with:
args: --do-not-warn-for-redirect-to https://learn.microsoft.com*,https://dotnet.microsoft.com/*,https://dev.azure.com/*,https://app.codecov.io/* -p docfx -i https://aka.ms/onboardsupport,https://aka.ms/spot,https://msrc.microsoft.com/*,https://www.microsoft.com/msrc*,https://microsoft.com/msrc*
- name: ⚙ Install prerequisites
run: |
./init.ps1 -UpgradePrerequisites
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/libtemplate-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:

# Pushing commits that add or change files under .github/workflows will cause our workflow to fail.
# But it usually isn't necessary because the target branch already has (or doesn't have) these changes.
# So if the merged doesn't bring in any changes to these files, try the merge locally and push that
# So if the merge doesn't bring in any changes to these files, try the merge locally and push that
# to keep github happy.
if ((git rev-list FETCH_HEAD ^HEAD --count -- .github/workflows) -eq 0) {
# Indeed there are no changes in that area. So merge locally to try to appease GitHub.
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ You should install the version specified in `global.json` or a later version wit
the same major.minor.Bxx "hundreds" band.
For example if 2.2.300 is specified, you may install 2.2.300, 2.2.301, or 2.2.310
while the 2.2.400 version would not be considered compatible by .NET SDK.
See [.NET Core Versioning](https://docs.microsoft.com/dotnet/core/versions/) for more information.
See [.NET Core Versioning](https://learn.microsoft.com/dotnet/core/versions/) for more information.

## Package restore

Expand All @@ -49,7 +49,7 @@ When we identify a gem that we should support but do not yet support, file [an i
## Releases

Use `nbgv tag` to create a tag for a particular commit that you mean to release.
[Learn more about `nbgv` and its `tag` and `prepare-release` commands](https://github.com/dotnet/Nerdbank.GitVersioning/blob/main/doc/nbgv-cli.md).
[Learn more about `nbgv` and its `tag` and `prepare-release` commands](https://dotnet.github.io/Nerdbank.GitVersioning/docs/nbgv-cli.html).

Push the tag.

Expand Down
20 changes: 12 additions & 8 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>

<MicroBuildVersion>2.0.171</MicroBuildVersion>
<MicroBuildVersion>2.0.181</MicroBuildVersion>
<MetadataVersion>61.0.15-preview</MetadataVersion>
<WDKMetadataVersion>0.12.8-experimental</WDKMetadataVersion>
<!-- <DiaMetadataVersion>0.2.185-preview-g7e1e6a442c</DiaMetadataVersion> -->
<ApiDocsVersion>0.1.42-alpha</ApiDocsVersion>
<CodeAnalysisVersion>4.12.0</CodeAnalysisVersion>
<CodeAnalysisVersion Condition="'$(IsTestProject)'!='true'">3.11.0</CodeAnalysisVersion>
<CodeAnalysisVersionForAnalyzers>3.11.0</CodeAnalysisVersionForAnalyzers>
</PropertyGroup>
<ItemGroup>
<!-- We have to use the MessagePack version used by win32metadata (https://github.com/microsoft/CsWin32/issues/371) -->
<PackageVersion Include="MessagePack" Version="2.2.85" />
<PackageVersion Include="MessagePackAnalyzer" Version="2.5.192" />
<PackageVersion Include="Microsoft.CodeAnalysis.BannedApiAnalyzers" Version="3.3.4" />
Expand All @@ -36,19 +37,22 @@
<PackageVersion Include="Xunit.Combinatorial" Version="2.0.24" />
<PackageVersion Include="Xunit.Assert" Version="2.3.0" />
</ItemGroup>
<ItemGroup Label="Library.Template">
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
<PackageVersion Include="Microsoft.VisualStudio.Internal.MicroBuild.NonShipping" Version="$(MicroBuildVersion)" />
<PackageVersion Include="xunit.runner.visualstudio" Version="3.0.1" />
<PackageVersion Include="xunit.v3" Version="1.0.1" />
</ItemGroup>
<ItemGroup Condition="'$(IsTestProject)'!='true'">
<!-- These versions carefully chosen to support VS 2019 Update 11. -->
<PackageVersion Update="Microsoft.CodeAnalysis.Common" Version="$(CodeAnalysisVersionForAnalyzers)" />
<PackageVersion Update="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="$(CodeAnalysisVersionForAnalyzers)" />
<PackageVersion Update="Microsoft.CodeAnalysis.CSharp" Version="$(CodeAnalysisVersionForAnalyzers)" />
<PackageVersion Update="System.Collections.Immutable" Version="5.0.0" />
<PackageVersion Update="System.Memory" Version="4.5.4" />
<PackageVersion Update="System.Reflection.Metadata" Version="5.0.0" />
<PackageVersion Update="System.Runtime.CompilerServices.Unsafe" Version="5.0.0" />
</ItemGroup>
<ItemGroup Label="Library.Template">
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.12.0" />
<PackageVersion Include="Microsoft.VisualStudio.Internal.MicroBuild.NonShipping" Version="$(MicroBuildVersion)" />
<PackageVersion Include="xunit.runner.visualstudio" Version="3.0.2" />
<PackageVersion Include="xunit.v3" Version="1.1.0" />
</ItemGroup>
<ItemGroup>
<!-- Put repo-specific GlobalPackageReference items in this group. -->
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion tools/Get-NuGetTool.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#>
Param(
[Parameter()]
[string]$NuGetVersion='6.4.0'
[string]$NuGetVersion='6.12.2'
)

$toolsPath = & "$PSScriptRoot\Get-TempToolsPath.ps1"
Expand Down
Loading