Skip to content

[automated] Merge branch 'release/9.0.2xx' => 'release/9.0.3xx' #47434

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

Merged
merged 104 commits into from
Mar 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
597d10f
Merge commit '976c7dd211acc1c0da7dd73dcd53e2c0bad6b4e5'
Dec 5, 2024
8971bfc
Merge commit '42ea0e39541b165e77b6424ee9b81a255d25ac6f'
Jan 7, 2025
577e8ca
Merge commit '3422e387e62864fa1b88bbe2a5e2fc1e8a5cab82'
Jan 7, 2025
b9f86c1
Merge commit '5a7b13708aa9774738b031c4583a981cf425229f'
Jan 8, 2025
d0cb993
Merge commit '0df58f701c490b927c0b5037c57278dc92fd89e5'
Jan 8, 2025
b07def4
Merge commit '6ef1188411c04e0224b608679dd49c12289bb947'
Jan 8, 2025
15cd536
Merge commit '3712bc9d4f26ba0a45e5c4a5ec48e13f74cfa1d9'
Jan 8, 2025
f38ab24
Merge commit 'a85c17a62d70f53dbb16cbd5967621b3c898e647'
Jan 8, 2025
6cb6dc4
Merge commit '7538734103ef1bca1a72af49ef00f3c4c312706d'
Jan 8, 2025
5bdc3a4
Merge commit 'a411afafab116ee975b7f65fe41ed9c12afc5eda'
Jan 8, 2025
75bf771
Merge commit '1ef4c6421207a8daf38a3088834806f4de400708'
Jan 8, 2025
c9c8a02
Merge commit '766991da78cc05b07ec28753d5a58d934f7c7a45'
Jan 9, 2025
4809c40
Merge commit 'dde6d6626c2aa3c2a39ec6b68d8c0c7a41604e0b'
Jan 9, 2025
369fecd
Merge commit '85db80d7ef6e66035deb59c106fb2cfcf1b73cc7'
Jan 9, 2025
d0971f4
Merge commit '9ad3903f304419f1e7449690f2a7c5147b16b64e'
Jan 9, 2025
b080040
Merge commit '828cbce8af1cd514bfa5d16d8eb56ca83fa24687'
Jan 10, 2025
efaaece
Merge commit '35efc19c53fd9bcf723a49f575f2c1d2c6e4aaee'
Jan 10, 2025
0024fac
Merge commit 'c057ab52a3de643315561c1015223cb5a232bf2f'
Jan 10, 2025
a4d5889
Merge commit 'be5863b68d1829069e37f32c598a5ea0df69e154'
Jan 10, 2025
50265ca
Merge commit 'ffd8f751602ab10d7994d096c3e13a1b3a2c7d3a'
Jan 11, 2025
2e1544b
Merge commit '6973e2b2b1a7747124d166012ddd79bb727f34af'
Jan 13, 2025
a21e2d2
Merge commit '57b1fe73b8c96ccdc13eeff42d14f138ab961259'
Jan 13, 2025
94cbda0
Merge commit 'cf91715441b4349ff1ba38093ad0fcec9b2f8ddf'
Jan 13, 2025
2e6a045
Merge commit 'ee0ab51a5fe7778d76198fa08640220abe0d0651'
Jan 13, 2025
2ff1808
Merge commit 'f5d091931c20988ad9e519f73c249322c6149b02'
Jan 13, 2025
eb9b728
Merge commit '8634d6a517287ca1378bdc079545c6fb8a5932e3'
Jan 13, 2025
2b29320
Merge commit 'dc30145f542b34c0b8ed1262809aebb4ead29bdd'
Jan 13, 2025
9b73544
Merge commit '0e070de21f29e445ef84374d15c1378973437c07'
Jan 15, 2025
8818cb8
Merge commit '83488461b76b8e6849ea0f256cace1a4df52aba2'
Jan 15, 2025
6835568
Merge commit '66c72070649b7664acef941ba8549add1487bb1e'
Jan 15, 2025
c60ece0
Merge commit '63b5485459a4465266f5b790acdbee6887d63c61'
Jan 15, 2025
eb8b410
Merge commit '889ab418ebf6bd4eff1d0d696afe50aecd8b854d'
Jan 15, 2025
eccc5f9
Merge commit 'dac48c6ffbdd2ca1b3b306354030ffcf58f5270c'
Jan 16, 2025
9f06121
Merge commit '878e872f17c1568a2e98e16de16f8332ab135fa9'
Jan 16, 2025
2e476db
Merge commit 'f2aeb62f10d0008b4e0e7210670c8e55dcfe7f45'
Jan 16, 2025
c6198ba
Merged PR 46808: [internal/release/8.0.3xx] Update dependencies from …
Jan 17, 2025
ed92d2b
Merged PR 46810: [internal/release/8.0.4xx] Update dependencies from …
Jan 17, 2025
6590cc1
Merge commit 'ea3d3d66d7df8bd1e19d319d8dcd68fef8eafbd1'
Jan 17, 2025
af5d9e7
Merge commit '0cd99e6c3c3892605d943988e485949b99e6add1'
Jan 17, 2025
42dd52f
Merged PR 46844: [internal/release/8.0.4xx] Update dependencies from …
Jan 17, 2025
7418f78
Merged PR 46843: [internal/release/8.0.3xx] Update dependencies from …
Jan 17, 2025
a9b0f54
Merged PR 46862: [internal/release/8.0.4xx] Merge from public
vseanreesermsft Jan 17, 2025
4a9730e
Merged PR 46861: [internal/release/8.0.3xx] Merge from public
vseanreesermsft Jan 17, 2025
d831120
Update dependencies from https://github.com/dotnet/templating build 2…
dotnet-maestro[bot] Feb 6, 2025
eb36b6b
Merge branch 'release/8.0.3xx' of https://github.com/dotnet/sdk into …
Feb 7, 2025
209e564
Update dependencies from https://github.com/dotnet/templating build 2…
dotnet-maestro[bot] Feb 7, 2025
12faf66
Merge branch 'release/8.0.3xx' of https://github.com/dotnet/sdk into …
Feb 8, 2025
c549b5e
[Backport to 8.0.1xx] Workflows: Don't allow merge if pr in lockdown …
edvilme Feb 11, 2025
0cafa61
[release/8.0.3xx] Update dependencies from dotnet/templating (#46588)
nagilson Feb 11, 2025
91a36c3
Merge commit '4a9730ee10805a27ac90611393768b744482762d' into internal…
vseanreesermsft Feb 11, 2025
3076a66
Merge commit 'a9b0f54c875b04f36e7206c0effe5ff9f3736f13' into internal…
vseanreesermsft Feb 11, 2025
7163b4d
Merging internal commits for release/8.0.3xx (#46732)
nagilson Feb 11, 2025
fcf9e7f
Update dependencies from https://github.com/dotnet/msbuild build 2025…
dotnet-maestro[bot] Feb 12, 2025
083da41
Update dependencies from https://github.com/dotnet/arcade build 20250…
dotnet-maestro[bot] Feb 12, 2025
187b72f
Update dependencies from https://github.com/dotnet/msbuild build 2025…
dotnet-maestro[bot] Feb 12, 2025
998c820
Update dependencies from https://github.com/dotnet/arcade build 20250…
dotnet-maestro[bot] Feb 12, 2025
e3ecbc4
[release/8.0.3xx] Update dependencies from dotnet/msbuild (#46752)
Feb 12, 2025
fa8c83b
[release/8.0.3xx] Update dependencies from dotnet/arcade (#46755)
Feb 12, 2025
61b9f31
[release/8.0.4xx] Update dependencies from dotnet/msbuild (#46756)
Feb 12, 2025
00f16bf
Update dependencies from https://github.com/dotnet/templating build 2…
dotnet-maestro[bot] Feb 12, 2025
c47d5a1
[release/8.0.1xx] Update dependencies from dotnet/templating (#46769)
Feb 12, 2025
129c04b
Merge branch 'release/8.0.3xx' of https://github.com/dotnet/sdk into …
Feb 12, 2025
b690735
Merging internal commits for release/8.0.4xx (#46733)
nagilson Feb 12, 2025
651cf86
Merge branch 'release/8.0.4xx' into darc-release/8.0.4xx-9199b10d-cd0…
nagilson Feb 12, 2025
6400b6a
[automated] Merge branch 'release/8.0.1xx' => 'release/8.0.3xx' (#46772)
nagilson Feb 12, 2025
8561980
[release/8.0.4xx] Update dependencies from dotnet/arcade (#46758)
nagilson Feb 13, 2025
b182500
Merge branch 'release/8.0.4xx' of https://github.com/dotnet/sdk into …
Feb 13, 2025
869279c
Update dependencies from https://github.com/dotnet/templating build 2…
dotnet-maestro[bot] Feb 13, 2025
84b6ca4
[release/8.0.4xx] Update dependencies from dotnet/templating (#46816)
Feb 13, 2025
2d0477f
[automated] Merge branch 'release/8.0.3xx' => 'release/8.0.4xx' (#46799)
Feb 13, 2025
6c4510c
Update dependencies from https://github.com/dotnet/msbuild build 2025…
dotnet-maestro[bot] Feb 14, 2025
5b1cc30
Update dependencies from https://github.com/dotnet/razor build 202502…
dotnet-maestro[bot] Feb 19, 2025
ce571cd
Update dependencies from https://github.com/dotnet/razor build 202502…
dotnet-maestro[bot] Feb 22, 2025
2883d54
Update dependencies from https://github.com/dotnet/roslyn-analyzers b…
dotnet-maestro[bot] Feb 23, 2025
9cbec7c
Update dependencies from https://github.com/dotnet/razor build 202502…
dotnet-maestro[bot] Feb 23, 2025
c6e07ea
Update dependencies from https://github.com/dotnet/roslyn build 20250…
dotnet-maestro[bot] Feb 24, 2025
b53b085
Update dependencies from https://github.com/dotnet/roslyn build 20250…
dotnet-maestro[bot] Feb 25, 2025
0f94e6a
Update dependencies from https://github.com/dotnet/msbuild build 2025…
dotnet-maestro[bot] Feb 26, 2025
5ff7dda
[Backport to 9.0.1xx] Workflows: Don't allow merge if pr in lockdown …
edvilme Feb 26, 2025
a1cfcc5
[release/9.0.1xx] Check shipping packages for poison (#47224)
github-actions[bot] Mar 3, 2025
de13f4c
Update branding to 8.0.408
vseanreesermsft Mar 6, 2025
b412c5d
Update dependencies from https://github.com/dotnet/templating build 2…
dotnet-maestro[bot] Mar 6, 2025
5c2f691
Update branding to 9.0.105 (#47325)
vseanreesermsft Mar 6, 2025
8231308
[release/9.0.1xx] Update dependencies from dotnet/roslyn-analyzers (#…
Mar 7, 2025
bf13b2b
[release/9.0.1xx] Update dependencies from dotnet/roslyn (#47051)
Mar 7, 2025
8026d66
[release/9.0.1xx] Update dependencies from dotnet/razor (#46955)
Mar 7, 2025
87af099
[release/9.0.1xx] Update dependencies from dotnet/msbuild (#46850)
Mar 7, 2025
c0484e4
[release/9.0.1xx] Update dependencies from dotnet/templating (#47330)
Mar 7, 2025
9c60697
[release/9.0.1xx] Update dependencies from dotnet/templating (#47342)
dotnet-maestro[bot] Mar 7, 2025
2145610
Update branding to 8.0.408 (#47324)
marcpopMSFT Mar 7, 2025
fbaf2d7
[release/8.0.4xx] NugetConfigWriter: Update CDN tests (#47369)
edvilme Mar 7, 2025
c35d72a
[release/9.0.1xx] Update dependencies from dotnet/source-build-extern…
dotnet-maestro[bot] Mar 7, 2025
3ce3b34
[release/8.0.4xx] Update dependencies from dotnet/arcade (#46877)
dotnet-maestro[bot] Mar 7, 2025
f6c2a6e
NuGetPackageDownloader: Only verify signing on windows by default (#4…
edvilme Mar 9, 2025
e184d63
[release/8.0.4xx] Update dependencies from dotnet/templating (#47384)
dotnet-maestro[bot] Mar 9, 2025
70e33b9
Merge branch 'release/9.0.1xx' of https://github.com/dotnet/sdk into …
Mar 10, 2025
239328b
[release/9.0.2xx] Update dependencies from dotnet/fsharp (#47265)
dotnet-maestro[bot] Mar 10, 2025
d8512e1
WorkloadRestoreCommand.DiscoverAllProjects: Return full paths (#47415)
edvilme Mar 10, 2025
99247e4
[automated] Merge branch 'release/9.0.1xx' => 'release/9.0.2xx' (#47341)
github-actions[bot] Mar 10, 2025
198c3ab
[automated] Merge branch 'release/8.0.4xx' => 'release/9.0.1xx' (#47367)
edvilme Mar 10, 2025
a541367
Merge branch 'release/9.0.2xx' of https://github.com/dotnet/sdk into …
Mar 11, 2025
5eb4440
[REF] SolutionProjectModel Full Paths (#47422)
edvilme Mar 11, 2025
27e9ef4
[automated] Merge branch 'release/9.0.1xx' => 'release/9.0.2xx' (#47418)
Mar 11, 2025
1828045
Merge branch 'release/9.0.3xx' of https://github.com/dotnet/sdk into …
Mar 11, 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
14 changes: 14 additions & 0 deletions .github/workflows/pr-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: PR Analysis
on:
pull_request:
types: [opened, synchronize, labeled, unlabeled]
permissions:
contents: read
pull-requests: read
jobs:
allowed-labels:
runs-on: ubuntu-latest
steps:
- name: Return error if branch is in lockdown or 'do not merge' label is present
run: echo "Labels on this PR prevent it from being merged. Please contact the repo owners for more information." && exit 1
if: ${{ contains(github.event.pull_request.labels.*.name, 'Branch Lockdown') || contains(github.event.pull_request.labels.*.name, 'DO NOT MERGE') }}
21 changes: 18 additions & 3 deletions src/Cli/dotnet/NugetPackageDownloader/NuGetPackageDownloader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ internal class NuGetPackageDownloader : INuGetPackageDownloader
private readonly Dictionary<PackageSource, SourceRepository> _sourceRepositories;
private readonly bool _shouldUsePackageSourceMapping;

/// <summary>
/// If true, the package downloader will verify the signatures of the packages it downloads.
/// Temporarily disabled for macOS and Linux.
/// </summary>
private readonly bool _verifySignatures;
private readonly VerbosityOptions _verbosityOptions;
private readonly string _currentWorkingDirectory;
Expand Down Expand Up @@ -65,7 +69,9 @@ public NuGetPackageDownloader(
_restoreActionConfig = restoreActionConfig ?? new RestoreActionConfig();
_retryTimer = timer;
_sourceRepositories = new();
_verifySignatures = verifySignatures;
// If windows or env variable is set, verify signatures
_verifySignatures = verifySignatures && (OperatingSystem.IsWindows() ? true
: bool.TryParse(Environment.GetEnvironmentVariable(NuGetSignatureVerificationEnabler.DotNetNuGetSignatureVerification), out var shouldVerifySignature) ? shouldVerifySignature : OperatingSystem.IsLinux());

_cacheSettings = new SourceCacheContext
{
Expand Down Expand Up @@ -130,8 +136,17 @@ public async Task<string> DownloadPackageAsync(PackageId packageId,
packageVersion.ToNormalizedString()));
}

await VerifySigning(nupkgPath, repository);

// Delete file if verification fails
try
{
await VerifySigning(nupkgPath, repository);
}
catch (NuGetPackageInstallerException)
{
File.Delete(nupkgPath);
throw;
}

return nupkgPath;
}

Expand Down
4 changes: 2 additions & 2 deletions src/Cli/dotnet/ReleasePropertyProjectLocator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ public IEnumerable<string> GetCustomDefaultConfigurationValueIfSpecified()
Parallel.ForEach(sln.SolutionProjects.AsEnumerable(), (project, state) =>
{
#pragma warning disable CS8604 // Possible null reference argument.
string projectFullPath = Path.Combine(Path.GetDirectoryName(slnFullPath), project.FilePath);
string projectFullPath = Path.GetFullPath(project.FilePath, Path.GetDirectoryName(slnFullPath));
#pragma warning restore CS8604 // Possible null reference argument.
if (IsUnanalyzableProjectInSolution(project, projectFullPath))
return;
Expand Down Expand Up @@ -220,7 +220,7 @@ public IEnumerable<string> GetCustomDefaultConfigurationValueIfSpecified()
foreach (var project in sln.SolutionProjects.AsEnumerable())
{
#pragma warning disable CS8604 // Possible null reference argument.
string projectFullPath = Path.Combine(Path.GetDirectoryName(slnPath), project.FilePath);
string projectFullPath = Path.GetFullPath(project.FilePath, Path.GetDirectoryName(slnPath));
#pragma warning restore CS8604 // Possible null reference argument.
if (IsUnanalyzableProjectInSolution(project, projectFullPath))
continue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,11 @@ internal static List<string> DiscoverAllProjects(string currentDirectory,
.Select(Path.GetFullPath).ToList();
}

foreach (string file in slnFiles)
foreach (string solutionFilePath in slnFiles)
{
var solutionFile = SlnFileFactory.CreateFromFileOrDirectory(file);
projectFiles.AddRange(solutionFile.SolutionProjects.Select(p => p.FilePath));
var solutionFile = SlnFileFactory.CreateFromFileOrDirectory(solutionFilePath);
projectFiles.AddRange(solutionFile.SolutionProjects.Select(
p => Path.GetFullPath(p.FilePath, Path.GetDirectoryName(solutionFilePath))));
}

if (projectFiles.Count == 0)
Expand Down
18 changes: 14 additions & 4 deletions src/SourceBuild/content/eng/finish-source-only.proj
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,22 @@
Outputs="$(BaseIntermediateOutputPath)ReportPoisonUsage.complete" >
<ItemGroup>
<!-- Exclude the Private.SourceBuilt.Artifacts archive from poison usage scan. -->
<PoisonFileToCheck Include="$(ArtifactsAssetsDir)*$(ArchiveExtension)" />
<PoisonFileToCheck Remove="$(ArtifactsAssetsDir)$(SourceBuiltArtifactsTarballName)*" />
<AssetToCheck Include="$(ArtifactsAssetsDir)*$(ArchiveExtension)" />
<AssetToCheck Remove="$(ArtifactsAssetsDir)$(SourceBuiltArtifactsTarballName)*" />
<!-- Include shipping nuget packages. -->
<PoisonFileToCheck Include="$(ArtifactsShippingPackagesDir)*.nupkg" />
<ShippingPackageToCheck Include="$(ArtifactsShippingPackagesDir)**/*.nupkg" />
<!-- Add and mark SBRP packages to validate that they have the correct poison attribute. -->
<PoisonFileToCheck Include="$(ReferencePackagesDir)**\*.nupkg" IsSourceBuildReferencePackage="true" />
<SbrpPackageToCheck Include="$(ReferencePackagesDir)**\*.nupkg" IsSourceBuildReferencePackage="true" />
</ItemGroup>

<Error Condition="'@(AssetToCheck)' == ''" Text="No assets will be poison checked - this is unexpected!" />
<Error Condition="'@(ShippingPackageToCheck)' == ''" Text="No shipping packages will be poison checked - this is unexpected!" />
<Error Condition="'@(SbrpPackageToCheck)' == ''" Text="No SBRP packages will be poison checked - this is unexpected!" />

<ItemGroup>
<PoisonFileToCheck Include="@(AssetToCheck)" />
<PoisonFileToCheck Include="@(ShippingPackageToCheck)" />
<PoisonFileToCheck Include="@(SbrpPackageToCheck)" />
</ItemGroup>

<Message Importance="High" Text="[$([System.DateTime]::Now.ToString('HH:mm:ss.ff'))] Checking @(PoisonFileToCheck) for poisoned files." />
Expand Down