mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Enforce vscode and ads version check when installing extensions (#4267)
* engine check when install extension * gallery install/update and vsix install * FIX COMMENTS * Fix the detail not loading issue when version is invalid * add more comments and adress PR comments * add install telemetry for install from vsix scenario * correct the name of the version property for telemetry
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
"publisher": "Microsoft",
|
||||
"engines": {
|
||||
"vscode": "*",
|
||||
"sqlops": "*"
|
||||
"azdata": "*"
|
||||
},
|
||||
"extensionPack": [
|
||||
"Microsoft.agent",
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"preview": true,
|
||||
"engines": {
|
||||
"vscode": "^1.25.0",
|
||||
"sqlops": "*"
|
||||
"azdata": "*"
|
||||
},
|
||||
"activationEvents": [
|
||||
"*"
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
"icon": "images/sqlserver.png",
|
||||
"aiKey": "AIF-5574968e-856d-40d2-af67-c89a14e76412",
|
||||
"engines": {
|
||||
"vscode": "0.10.x"
|
||||
"vscode": "*",
|
||||
"azdata": "^1.4.0"
|
||||
},
|
||||
"activationEvents": [
|
||||
"*"
|
||||
@@ -27,51 +28,51 @@
|
||||
"type": "object",
|
||||
"title": "Kubernetes configuration",
|
||||
"properties": {
|
||||
"mssql-bdc": {
|
||||
"type": "object",
|
||||
"description": "Kubernetes configuration",
|
||||
"properties": {
|
||||
"mssql-bdc.kubectl-path": {
|
||||
"type": "string",
|
||||
"description": "File path to a kubectl binary."
|
||||
},
|
||||
"mssql-bdc.kubectl-path.windows": {
|
||||
"type": "string",
|
||||
"description": "File path to a kubectl binary."
|
||||
},
|
||||
"mssql-bdc.kubectl-path.mac": {
|
||||
"type": "string",
|
||||
"description": "File path to a kubectl binary."
|
||||
},
|
||||
"mssql-bdc.kubectl-path.linux": {
|
||||
"type": "string",
|
||||
"description": "File path to a kubectl binary."
|
||||
},
|
||||
"mssql-bdc.kubeconfig": {
|
||||
"type": "string",
|
||||
"description": "File path to the kubeconfig file."
|
||||
},
|
||||
"mssql-bdc.knownKubeconfigs": {
|
||||
"type": "array",
|
||||
"description": "File paths to kubeconfig files from which you can select."
|
||||
},
|
||||
"mssql-bdc.outputFormat": {
|
||||
"enum": [
|
||||
"json",
|
||||
"yaml"
|
||||
],
|
||||
"type": "string",
|
||||
"description": "Output format for Kubernetes specs. One of 'json' or 'yaml' (default)."
|
||||
}
|
||||
},
|
||||
"default": {
|
||||
"mssql-bdc.namespace": "",
|
||||
"mssql-bdc.kubectl-path": "",
|
||||
"mssql-bdc.kubeconfig": "",
|
||||
"mssql-bdc.knownKubeconfigs": []
|
||||
}
|
||||
"mssql-bdc": {
|
||||
"type": "object",
|
||||
"description": "Kubernetes configuration",
|
||||
"properties": {
|
||||
"mssql-bdc.kubectl-path": {
|
||||
"type": "string",
|
||||
"description": "File path to a kubectl binary."
|
||||
},
|
||||
"mssql-bdc.kubectl-path.windows": {
|
||||
"type": "string",
|
||||
"description": "File path to a kubectl binary."
|
||||
},
|
||||
"mssql-bdc.kubectl-path.mac": {
|
||||
"type": "string",
|
||||
"description": "File path to a kubectl binary."
|
||||
},
|
||||
"mssql-bdc.kubectl-path.linux": {
|
||||
"type": "string",
|
||||
"description": "File path to a kubectl binary."
|
||||
},
|
||||
"mssql-bdc.kubeconfig": {
|
||||
"type": "string",
|
||||
"description": "File path to the kubeconfig file."
|
||||
},
|
||||
"mssql-bdc.knownKubeconfigs": {
|
||||
"type": "array",
|
||||
"description": "File paths to kubeconfig files from which you can select."
|
||||
},
|
||||
"mssql-bdc.outputFormat": {
|
||||
"enum": [
|
||||
"json",
|
||||
"yaml"
|
||||
],
|
||||
"type": "string",
|
||||
"description": "Output format for Kubernetes specs. One of 'json' or 'yaml' (default)."
|
||||
}
|
||||
},
|
||||
"default": {
|
||||
"mssql-bdc.namespace": "",
|
||||
"mssql-bdc.kubectl-path": "",
|
||||
"mssql-bdc.kubeconfig": "",
|
||||
"mssql-bdc.knownKubeconfigs": []
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"commands": [
|
||||
{
|
||||
@@ -83,7 +84,8 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"vscode-nls": "^3.2.1",
|
||||
"download": "^6.2.5"
|
||||
"download": "^6.2.5",
|
||||
"shelljs": "^0.8.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"mocha-junit-reporter": "^1.17.0",
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"preview": true,
|
||||
"engines": {
|
||||
"vscode": "^1.25.0",
|
||||
"sqlops": "*"
|
||||
"azdata": "*"
|
||||
},
|
||||
"license": "https://raw.githubusercontent.com/Microsoft/azuredatastudio/master/extensions/import/Microsoft_SQL_Server_Import_Extension_and_Tools_Import_Flat_File_Preview.docx",
|
||||
"icon": "images/sqlserver.png",
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"private": true,
|
||||
"engines": {
|
||||
"vscode": "*",
|
||||
"sqlops": "*"
|
||||
"azdata": "*"
|
||||
},
|
||||
"activationEvents": [
|
||||
"*"
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"publisher": "Microsoft",
|
||||
"engines": {
|
||||
"vscode": "*",
|
||||
"sqlops": "*"
|
||||
"azdata": "*"
|
||||
},
|
||||
"main": "./out/extension",
|
||||
"activationEvents": [
|
||||
|
||||
Reference in New Issue
Block a user