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

Fix Binary Signing #5117

Merged
merged 11 commits into from
Dec 15, 2023
Merged

Fix Binary Signing #5117

merged 11 commits into from
Dec 15, 2023

Conversation

ugras-ergun-sonarsource
Copy link
Contributor

Fixes #5116

@@ -40,25 +40,13 @@
<CallTarget Targets="ValidateCommonSigningInputs" />
<Error Condition="@(VSIXesToSign) == '' " Text="The list of VSIXes to sign is empty." />

<!-- For info on timestamping see https://www.digicert.com/kb/code-signing/signcode-signtool-command-line.htm -->
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Link is dead


<Target Name="ValidateCommonSigningInputs">
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need for this anymore we don't have these.

<Error Condition=" @(AssembliesToSign) == '' " Text="The list of assemblies to sign is empty." />
<Error Condition=" $(SIGNTOOL_PATH) == '' " Text="The location of the signtool.exe has not been set ('SIGNTOOL_PATH')" />
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we do not calculate signtool path anymore

@@ -365,8 +365,8 @@
<Message Importance="high" Text="Copying vsix from $(TargetDir)$(TargetVsixContainerName) to $(BinariesFolder)$(TargetVsixContainerName)" />
<Copy OverwriteReadOnlyFiles="true" SourceFiles="$(TargetDir)$(TargetVsixContainerName)" DestinationFiles="$(BinariesFolder)$(TargetVsixContainerName)" />

<Message Condition=" $(SignArtifacts) != 'true' " Importance="high" Text="Skipping signing VSIXes - SignArtifacts = '$(SignArtifacts)'" />
<CallTarget Condition=" $(SignArtifacts) == 'true' " Targets="LocateVsixSignToolAndBinaries;SignVsixes" />
<!--<Message Condition=" $(SignArtifacts) != 'true' " Importance="high" Text="Skipping signing VSIXes - SignArtifacts = '$(SignArtifacts)'" />
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

signing vsix does not work so we have removed this step but we will add it later.

@@ -8,6 +8,7 @@
We'd prefer to set this the shared SonarLint.VSSpecificAssemblies.props file, but
the IDE isn't picking up the setting if we do that. -->
<DefineConstants Condition="$(VSTargetVersion)=='2022'">$(DefineConstants);VS2022</DefineConstants>
<RequiresAlmAuthentication>true</RequiresAlmAuthentication>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the step that changed the testing failures.

Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@ugras-ergun-sonarsource ugras-ergun-sonarsource merged commit d13ed6e into master Dec 15, 2023
18 checks passed
@ugras-ergun-sonarsource ugras-ergun-sonarsource deleted the ue/sign2 branch December 15, 2023 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix Binary Signing
2 participants