-
Notifications
You must be signed in to change notification settings - Fork 352
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
Tracking sbom update #9325
Comments
PR to unblock pr builds #9337 |
Merged the PR, will have to wait to get this change promoted. Once that is done, I will fix the pipelines and the pr build failures should go away. |
I got a few repos onboarded to the sbom generation feature. Then I tried Roslyn and to the way things are set up in repo is pretty different from all the other repos we have. Here we have components of component generation one vsman file. Need to dig more to understand the way they generate vsmanifest. |
To add more context about Roslyn case, there are three projects which set the When generating the "Microsoft.CodeAnalysis.LanguageServices" VS Component we need to include a Such that the following code: arcade/src/Microsoft.DotNet.Arcade.Sdk/tools/VisualStudio.SetupPackage.vsmanproj Lines 79 to 83 in b7796f6
would expand into: <ItemGroup>
<MergeManifest Include="$(SetupOutputPath)\Microsoft.CodeAnalysis.ExpressionEvaluator.json">
<SBOMFileLocation>$(ArtifactsDir)sbom\Microsoft.CodeAnalysis.ExpressionEvaluator\spdx_2.2\manifest.spdx.json</SBOMFileLocation>
</MergeManifest>
<MergeManifest Include="$(SetupOutputPath)\Microsoft.CodeAnalysis.VisualStudio.Setup.json">
<SBOMFileLocation>$(ArtifactsDir)sbom\Microsoft.CodeAnalysis.VisualStudio.Setup\spdx_2.2\manifest.spdx.json</SBOMFileLocation>
</MergeManifest>
<MergeManifest Include="$(SetupOutputPath)\Roslyn.VisualStudio.Setup.ServiceHub.json">
<SBOMFileLocation>$(ArtifactsDir)sbom\Roslyn.VisualStudio.Setup.ServiceHub\spdx_2.2\manifest.spdx.json</SBOMFileLocation>
</MergeManifest>
</ItemGroup> The concern is that at the time VS Components are being generated, we have already lost the mapping of cc: @tmat |
We reached point where we get such failure: Pipelines - Run 20220527.4 logs (visualstudio.com) we are now generating 4 vsixes:
but those 3 vsix files: |
Our PR build (with |
Spoke to one of the engineers in SBOM team
|
with the PR #9556, this error should go away |
this is more like what Roslyn and F sharp error :( |
Spoke to @tmat He suggested move sbom generation to .vsmanproj right before generation of vs manifest. Get the .vsix file name from the .stubfile Going to try this out |
I did some tests, and I figured the place we were expecting the .vsix files are not present. this was important cos one componentname can have multiple vsixs.. Going to chat with @tmat again.. |
PR #9629 |
Arcade side work is completed. I created a new FR issue to track the manifest tool error #10104, @ilyas1974 will help drive this one. |
The text was updated successfully, but these errors were encountered: