Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

`azdev setup` to also provide folder option for --repo parameter

Open
#386 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
azure, python
Domain
cli, tooling

Research direction

Start at the azdev setup command and its --repo argument handling; inspect how the current value is validated and how extension paths are discovered. Done means --repo accepts an ordinary folder, not only a Git repository, and setup can install the intended extension version from that folder.

Written by the indexing model from the issue text.

Description

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)
Dominant language
Python
Stars
91
Forks
134
PR merge metrics
No merged PRs in 30d

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/azure-cli-dev-tools

All issues in Azure/azure-cli-dev-tools

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.