Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

azdev setup to also provide folder option for --repo parameter #386

Open
priyamshet opened this issue Jun 20, 2023 · 0 comments
Open

azdev setup to also provide folder option for --repo parameter #386

priyamshet opened this issue Jun 20, 2023 · 0 comments

Comments

@priyamshet
Copy link
Member

azdev setup expects --repo parameter to be a git-repository

We would like the azdev setup to be able to accept a folder(not necessarily a git repo).

We have multiple versions of az cli extension for our service (networkcloud) and we would like to setup/install a specific version at a time.

 =======================
 | Azure CLI Dev Setup |
 =======================
 
 Azure CLI:
     PyPI
 
 Azure CLI extension repos:
     /__w/1/s
 
 Azure CLI extensions:
     /__w/1/s/cli-ext/v20230501preview/ext/src/networkcloud
     /__w/1/s/cli-ext/v20221212preview/ext/src/networkcloud
 
  Installing packages 
 =====================
 
 Upgrading pip...
 Installing `azure-cli`...
 Installing `azure-cli-testsdk`...
 Adding extension '/__w/1/s/cli-ext/v20230501preview/ext/src/networkcloud'...
 Adding extension '/__w/1/s/cli-ext/v20221212preview/ext/src/networkcloud'...
 
 Elapsed time: 2 min 18 sec
 
  Finished dev setup! 
 =====================
 
 [
   {
     "install": "",
     "name": "networkcloud",
     "path": "/__w/1/s/cli-ext/v20230501preview/ext/src/networkcloud"
   },
   {
     "install": "",
     "name": "networkcloud",
     "path": "/__w/1/s/cli-ext/v20221212preview/ext/src/networkcloud"
   }
 ]
 ## pinning to specific version due to failure observed in urllib3.connectionpool
 Found existing installation: urllib3 1.26.16
 Uninstalling urllib3-1.26.16:
   Successfully uninstalled urllib3-1.26.16
 Looking in indexes: https://build:***@pkgs.dev.azure.com/msazuredev/AzureForOperatorsIndustry/_packaging/AzureForOperatorsIndustry_PublicPackages/pypi/simple
 Collecting urllib3==1.25.8
   Downloading https://pkgs.dev.azure.com/msazuredev/c0b6323e-5225-48c2-85df-819f77430aea/_packaging/c900f78d-fdf9-4052-9954-36e35dc9bcb9/pypi/download/urllib3/1.25.8/urllib3-1.25.8-py2.py3-none-any.whl (125 kB)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant