From 3c896f16115bc3c1cd2cdcfe1986cf9f8b774330 Mon Sep 17 00:00:00 2001 From: Christian Mourier Date: Wed, 1 Jul 2026 22:43:51 +0200 Subject: [PATCH 1/2] Add icon and license to the gallery .vsix (#3) extension.vsixmanifest.v2 now declares icon.png and LICENSE.txt; release.yml bundles the repo logo and Apache LICENSE into the .vsix and adds png/txt content types so the OPC package stays valid. Fixes the gallery's missing-icon / no-license warnings. Install-verified on SSMS 22 (exit 0, both assets present). --- .github/workflows/release.yml | 7 +++++++ src/SqlPilot.Package/extension.vsixmanifest.v2 | 4 +++- src/SqlPilot.Package/source.extension.vsixmanifest | 3 ++- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5bca545..075ff7b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -170,6 +170,11 @@ jobs: # that rejects the manifest ("version Invalid"); a clean OPC vsix (manifest + # payload) installs. The payload ZIP above still ships them for the installer. Remove-Item "$vsixStaging/catalog.json","$vsixStaging/manifest.json" -Force -ErrorAction SilentlyContinue + # Icon + license for the gallery listing. extension.vsixmanifest.v2 + # references icon.png/LICENSE.txt; both must live inside the .vsix (and + # need content types below). Reuse the repo logo and Apache LICENSE. + Copy-Item ".github/logo.png" "$vsixStaging/icon.png" -Force + Copy-Item "LICENSE" "$vsixStaging/LICENSE.txt" -Force # Build the content as an indented array-join (NOT a column-0 here-string, # which would break this YAML literal block). Single-quoted lines keep the # XML angle brackets/quotes literal. @@ -181,6 +186,8 @@ jobs: ' ' ' ' ' ' + ' ' + ' ' '' ) -join "`r`n" # Brackets in the filename are PowerShell wildcards — must use -LiteralPath. diff --git a/src/SqlPilot.Package/extension.vsixmanifest.v2 b/src/SqlPilot.Package/extension.vsixmanifest.v2 index 7a12c69..3e0b1dd 100644 --- a/src/SqlPilot.Package/extension.vsixmanifest.v2 +++ b/src/SqlPilot.Package/extension.vsixmanifest.v2 @@ -4,9 +4,11 @@ + Publisher="Christian Mourier" /> SQL Pilot Quick Search Tool for SQL Server Management Studio + LICENSE.txt + icon.png diff --git a/src/SqlPilot.Package/source.extension.vsixmanifest b/src/SqlPilot.Package/source.extension.vsixmanifest index 36d6e1f..fa0d543 100644 --- a/src/SqlPilot.Package/source.extension.vsixmanifest +++ b/src/SqlPilot.Package/source.extension.vsixmanifest @@ -5,11 +5,12 @@ + Publisher="Christian Mourier" /> SQL Pilot Quick Search Tool for SQL Server Management Studio. Rapidly find tables, views, stored procedures, and functions across all databases. https://github.com/mourier/sql-pilot LICENSE + icon.png SQL, SSMS, Search, Database, Quick Find From 80fb62b5c2e59ebf7e07d904cbe333a4d7ce3f65 Mon Sep 17 00:00:00 2001 From: Christian Mourier Date: Wed, 1 Jul 2026 22:43:51 +0200 Subject: [PATCH 2/2] Set author/publisher to Christian Mourier Was 'SQL Pilot Contributors' in the VSIX manifests (gallery author) and Directory.Build.props (assembly Authors/Copyright). --- Directory.Build.props | 4 ++-- src/SqlPilot.Package/extension.vsixmanifest.v1 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index ad1ecdf..93b7f62 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -2,10 +2,10 @@ latest true - Copyright (c) 2026 SQL Pilot Contributors + Copyright (c) 2026 Christian Mourier SQL Pilot SQL Pilot - SQL Pilot Contributors + Christian Mourier en-US diff --git a/src/SqlPilot.Package/extension.vsixmanifest.v1 b/src/SqlPilot.Package/extension.vsixmanifest.v1 index f10f7a8..eea9cbc 100644 --- a/src/SqlPilot.Package/extension.vsixmanifest.v1 +++ b/src/SqlPilot.Package/extension.vsixmanifest.v1 @@ -2,7 +2,7 @@ SQL Pilot - SQL Pilot Contributors + Christian Mourier 1.0.0 Quick Search Tool for SQL Server Management Studio 1033