mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 01:25:37 -05:00
Added in auto-install prompt for Azure CLI and arcdata extension, "Don't Ask Again" logic, removed waiting on azcli extension activate (#16646)
* Added back Don't Ask Again logic * If no Azure CLI found, throw error instead of returning undefined. * Deleted 'restart ADS' text for arcdata extension prompts * Added error catch for parse version and parsed out the * in az --version * Added back findAz() * Added arcdata version to AzTool. Parse --version using regex. * Return undefined if no az found. * Added userRequested param for findAz * No longer await on extension activate. Re-added some functions for az install. * Install works for windows * Changed auto install for az on Linux and MacOS. * Added comment for findSpecificAzAndArc and uncommented some localizedConstants * Added comment for getSemVersionArc and took out the path for some tests. * Made findSpecificAzAndArc return an object instead of a list * Removed azToolService test * Removed azToolService tests and renamed suite to azcli Extension Tests * Got rid of new Regexp for regex in parseVersions * Added back azToolService.ts * Added logic to enable prompt user to install arcdata extension and auto-install capability. No update capability yet. Co-authored-by: Candice Ye <canye@microsoft.com>
This commit is contained in:
@@ -32,6 +32,45 @@
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "%azcli.arc.config.debug%"
|
||||
},
|
||||
"azcli.arcdataInstall": {
|
||||
"type": "string",
|
||||
"default": "prompt",
|
||||
"enum": [
|
||||
"dontPrompt",
|
||||
"prompt"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"%azcli.arc.install.dontPrompt.description%",
|
||||
"%azcli.arc.install.prompt.description%"
|
||||
],
|
||||
"description": "%azcli.arc.azArcdataInstallKey.description%"
|
||||
},
|
||||
"azcli.arcdataUpdate": {
|
||||
"type": "string",
|
||||
"default": "prompt",
|
||||
"enum": [
|
||||
"dontPrompt",
|
||||
"prompt"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"%azcli.arc.update.dontPrompt.description%",
|
||||
"%azcli.arc.update.prompt.description%"
|
||||
],
|
||||
"description": "%azcli.arc.azArcdataUpdateKey.description%"
|
||||
},
|
||||
"azcli.azInstall": {
|
||||
"type": "string",
|
||||
"default": "prompt",
|
||||
"enum": [
|
||||
"dontPrompt",
|
||||
"prompt"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"%azcli.install.dontPrompt.description%",
|
||||
"%azcli.install.prompt.description%"
|
||||
],
|
||||
"description": "%azcli.azCliInstallKey.description%"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user