-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: remove Shared project and older versions support [IDE-518] (#…
…287) * chore: remove jobs for Snyk.VisualStudio.Extension build and deploy * chore: delete shared proj * refactor: rename namespace Snyk.VisualStudio.Extension.Shared to Snyk.VisualStudio.Extension * chore: delete pre 2022 tests * fix: namespaces after deleting shared * chore: delete legacy readme * fix: temporarily dont use main for ci * fix: ensure .net 48 on all projects * fix: tests added "Microsoft.VisualStudio.Sdk.TestFramework package
- Loading branch information
Showing
239 changed files
with
815 additions
and
1,685 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,11 +26,6 @@ jobs: | |
- name: Calculate next semantic version Git tag (vsix version) | ||
id: vsix_version | ||
uses: ./.github/actions/next-git-tag | ||
- name: Set VSIX version for 2015-2019 | ||
uses: cezarypiatek/[email protected] | ||
with: | ||
version: ${{ steps.vsix_version.outputs.next-tag }} | ||
vsix-manifest-file: .\Snyk.VisualStudio.Extension\source.extension.vsixmanifest | ||
- name: Set VSIX version for 2022 | ||
uses: cezarypiatek/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,7 +48,7 @@ jobs: | |
working-directory: ${{ github.workspace }} | ||
environment: snyk-msbuild-envs | ||
env: | ||
VsixManifestPath: .\Snyk.VisualStudio.Extension\source.extension.vsixmanifest | ||
VsixManifestPath: .\Snyk.VisualStudio.Extension.2022\source.extension.vsixmanifest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -79,16 +79,6 @@ jobs: | |
draft: false | ||
prerelease: false | ||
|
||
- name: Upload GitHub Release 2015-2019 Asset | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: .\Snyk.VisualStudio.Extension\bin\Release\Snyk.VisualStudio.Extension.vsix | ||
asset_name: Snyk_Vulnerability_Scanner-${{ needs.build-project.outputs.version }}.vsix | ||
asset_content_type: application/zip | ||
|
||
- name: Upload GitHub Release 2022 Asset | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
|
@@ -99,13 +89,6 @@ jobs: | |
asset_name: Snyk_Vulnerability_Scanner-${{ needs.build-project.outputs.version }}-2022.vsix | ||
asset_content_type: application/zip | ||
|
||
- name: Publish 2015-2019 extension to Marketplace | ||
uses: cezarypiatek/[email protected] | ||
with: | ||
extension-file: '.\Snyk.VisualStudio.Extension\bin\Release\Snyk.VisualStudio.Extension.vsix' | ||
publish-manifest-file: '.\Snyk.VisualStudio.Extension\vs-publish.json' | ||
personal-access-code: ${{ secrets.VS_PUBLISHER_ACCESS_TOKEN }} | ||
|
||
- name: Publish 2022 extension to Marketplace | ||
uses: cezarypiatek/[email protected] | ||
with: | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...alStudio.Extension.Shared/CLI/CLIError.cs → ...sualStudio.Extension.2022/CLI/CLIError.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...lStudio.Extension.Shared/CLI/CLIResult.cs → ...ualStudio.Extension.2022/CLI/CLIResult.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...n.Shared/CLI/CliGroupedVulnerabilities.cs → ...ion.2022/CLI/CliGroupedVulnerabilities.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...xtension.Shared/CLI/CliVulnerabilities.cs → ....Extension.2022/CLI/CliVulnerabilities.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...Download/ChecksumVerificationException.cs → ...Download/ChecksumVerificationException.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
....Shared/CLI/Download/LatestReleaseInfo.cs → ...on.2022/CLI/Download/LatestReleaseInfo.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...o.Extension.Shared/CLI/Dto/Identifiers.cs → ...dio.Extension.2022/CLI/Dto/Identifiers.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...VisualStudio.Extension.Shared/CLI/ICli.cs → Snyk.VisualStudio.Extension.2022/CLI/ICli.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...udio.Extension.Shared/CLI/ICliProvider.cs → ...Studio.Extension.2022/CLI/ICliProvider.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...nsion.Shared/CLI/InvalidTokenException.cs → ...tension.2022/CLI/InvalidTokenException.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
namespace Snyk.VisualStudio.Extension.Shared.CLI | ||
namespace Snyk.VisualStudio.Extension.CLI | ||
{ | ||
using System; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...Extension.Shared/CLI/SnykConsoleRunner.cs → ...o.Extension.2022/CLI/SnykConsoleRunner.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...dio.Extension.Shared/CLI/Vulnerability.cs → ...tudio.Extension.2022/CLI/Vulnerability.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
namespace Snyk.VisualStudio.Extension.Shared.CLI | ||
namespace Snyk.VisualStudio.Extension.CLI | ||
{ | ||
using System; | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...red/Cache/AbstractCacheHierarchyEvents.cs → ...022/Cache/AbstractCacheHierarchyEvents.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
....Shared/Cache/CodeCacheHierarchyEvents.cs → ...on.2022/Cache/CodeCacheHierarchyEvents.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...n.Shared/Cache/OssCacheHierarchyEvents.cs → ...ion.2022/Cache/OssCacheHierarchyEvents.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...on.Shared/Commands/AbstractSnykCommand.cs → ...sion.2022/Commands/AbstractSnykCommand.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...on.Shared/Commands/AbstractTaskCommand.cs → ...sion.2022/Commands/AbstractTaskCommand.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
....Shared/Commands/SnykCleanPanelCommand.cs → ...on.2022/Commands/SnykCleanPanelCommand.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...hared/Commands/SnykOpenSettingsCommand.cs → ....2022/Commands/SnykOpenSettingsCommand.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...ension.Shared/Commands/SnykScanCommand.cs → ...xtension.2022/Commands/SnykScanCommand.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...ed/Commands/SnykStopCurrentTaskCommand.cs → ...22/Commands/SnykStopCurrentTaskCommand.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...xtension.Shared/ManualAssemblyResolver.cs → ....Extension.2022/ManualAssemblyResolver.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...Studio.Extension.Shared/Model/Severity.cs → ...alStudio.Extension.2022/Model/Severity.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
2 changes: 1 addition & 1 deletion
2
...Shared/Service/Domain/FeaturesSettings.cs → ...n.2022/Service/Domain/FeaturesSettings.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...o.Extension.Shared/Service/IOssService.cs → ...dio.Extension.2022/Service/IOssService.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...xtension.Shared/Service/ISentryService.cs → ....Extension.2022/Service/ISentryService.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.