From 2e3148216f848b3634120db8b40f6d780ac367f8 Mon Sep 17 00:00:00 2001 From: Derek Bekoe Date: Fri, 13 Oct 2017 17:10:42 -0700 Subject: [PATCH 1/2] Add note on extension index syncing --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 0e30380778d..6823ebb06b8 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@ For documentation on authoring an extension, see [Extension Documentation](https - The index is at `src/index.json`. - Modify the index by creating a PR. - All extensions added to the index *are public* and will be available to *all* CLI users. +- The index is synced to `https://aka.ms/azure-cli-extension-index-v1` every few minutes. - Your extension source code does not have to be in this repository to be available in the index. - If you don't want your extension to be part of the index, you can still host it externally and request users to install with `az extension add --source https://contoso.com/mywheel.whl`. * Users will not be able to add your extension by name, it will not be listed in the `az extension list-available` command and to update to a new version of your extension, the user has to first remove the currently installed extension and then add the new version. From f75f53060e744b588e45887602b480f610b68a70 Mon Sep 17 00:00:00 2001 From: Derek Bekoe Date: Fri, 13 Oct 2017 17:17:26 -0700 Subject: [PATCH 2/2] Change 'source' to 'downloadUrl' in index --- src/index.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.json b/src/index.json index af0865e656d..44432f0ad5a 100644 --- a/src/index.json +++ b/src/index.json @@ -5,7 +5,7 @@ { "filename": "azure_batch_cli_extensions-2.0.0-py2.py3-none-any.whl", "sha256Digest": "ccdfd15a2a33e2f3298e64051f556da76d7bec6e1008fd28a6467803df8ae8cb", - "source": "https://github.com/Azure/azure-batch-cli-extensions/releases/download/azure-batch-cli-extensions-2.0.0/azure_batch_cli_extensions-2.0.0-py2.py3-none-any.whl", + "downloadUrl": "https://github.com/Azure/azure-batch-cli-extensions/releases/download/azure-batch-cli-extensions-2.0.0/azure_batch_cli_extensions-2.0.0-py2.py3-none-any.whl", "metadata": { "azext.maxCliCoreVersion": "2.0.18", "azext.minCliCoreVersion": "2.0.17", @@ -39,7 +39,7 @@ { "filename": "azure_cli_iot_ext-0.1.1-py2.py3-none-any.whl", "sha256Digest": "28f5565fa0367da4694223bb8dfacd68be5213e6a49b3a463a10c2379c39da19", - "source": "https://files.pythonhosted.org/packages/8e/69/6a10aa6be2ad1a054d874d93bd43c09aaca26a137bd0f8f961f03a249a9f/azure_cli_iot_ext-0.1.1-py2.py3-none-any.whl", + "downloadUrl": "https://files.pythonhosted.org/packages/8e/69/6a10aa6be2ad1a054d874d93bd43c09aaca26a137bd0f8f961f03a249a9f/azure_cli_iot_ext-0.1.1-py2.py3-none-any.whl", "metadata": { "azext.minCliVersion": "2.0.15+dev", "classifiers": [