-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Build installers on Windows in aspnetcore. #44828
Build installers on Windows in aspnetcore. #44828
Conversation
@jkoritzinsky there are some failures in the build |
It looks like this whole folder is missing from the VMR. I'll check the source mapping and see if there's anything going on there. |
So this folder is excluded from the VMR because some of the components have a non-OSS license. See dotnet/source-build#3537 @MichaelSimons do you have any suggestions on how we can re-enable this folder while still keeping our distro partners happy? We need it for the VMR build (it continues to not be necessary for source-build scenarios). |
non-oss licensed content is a blocker from a source-build perspective. I don't see a description in the issue/pr trail (e.g. dotnet/aspnetcore#49512) that describes the purpose of license.rtf file which prompted this cloaking. @wtgodbe or @jkoritzinsky can you help me understand? If truly needed, can this be brought in via some other mechanism? |
I just forwarded you & Jeremy a mail thread from last year about this |
Please forward the mail to me as well. |
@mthalman - would it be acceptable to add license.rtf file as an excluded non-source-build installer license similar to https://github.com/dotnet/sdk/blob/main/src/SourceBuild/content/test/Microsoft.DotNet.SourceBuild.Tests/assets/LicenseScanTests/LicenseExclusions.txt#L141? |
Does the license only apply to the installer? |
Additionally, would it make sense to strip these types of licenses for distro maintainers similarly to how we strip binaries? That would help eliminate them having to "deal" with these via whatever their exclusion process is. |
Temporarily, I think it makes sense to do this.
Maybe? I'm concerned about the optics of that. Stripping binaries are fine because maintainers don't want them. Licenses have a real purpose though. I imagine there might be some suspicion of just yanking out licenses from the source. IMO, what would be better is to strip all the source associated with the license (in the same dynamic way as the stripping of binaries). |
I agree. |
@jkoritzinsky - to unblock, let's remove the cloak. You will need to add an exclusion to the license scan as I eluded to in #44828 (comment). I will open a follow-up issue on what the appropriate was is to handle these types of situations from a source build perspective. |
I'll split out the source-mapping change to a separate PR. Looks like that's required. |
Extracted the source-mapping change to #44857 |
Blocked on dotnet/dotnet#110 |
The problem is that the wixprojs build too soon. They need to build after everything else is finished. |
Build the Installer projects after everythign else got built by adding a new Traversal project that builds all P2Ps in it in parallel. Fixes #58984 Unblocks dotnet/sdk#44828
Build the Installer projects after everythign else got built by adding a new Traversal project that builds all P2Ps in it in parallel. Fixes #58984 Unblocks dotnet/sdk#44828
Build the Installer projects after everythign else got built by adding a new Traversal project that builds all P2Ps in it in parallel. Fixes #58984 Unblocks dotnet/sdk#44828
Build the Installer projects after everythign else got built by adding a new Traversal project that builds all P2Ps in it in parallel. Fixes #58984 Unblocks dotnet/sdk#44828
One step closer. New errors that I don't see offline:
|
Enables building the aspnetcore repo with a single eng\build.cmd invocation (when using desktop msbuild). Unblocks dotnet/sdk#44828 & dotnet/aspnetcore#58987
Contributes to dotnet/source-build#4692