Azure / Azure/azure-cli-dev-tools

extension update-index: remove constraint string on path or not?

Open
#165 0 comments 0 reactions 1 assignee Claimed by @haroldrandom View on GitHub
Extension
Dominant language
Python
Stars
91
Forks
134
Avg merge
2h 51m
Merged PRs (30d)
1

Description

### Description
As mentioned in https://github.com/Azure/azure-cli-dev-tools/pull/163#discussion_r391384461, `azdev extension update-index` requries the path name of src/index.json must contain string "azure-cli-extensions" which is the official default name of Azure/azure-cli-extensions.

But in the setup step, their is not such limit.

This limitation break in ADO, cause the default value of ADO predefined variable `$(System.DefaultWorkingDirectory)` isn't settable in pipeline level. So `azdev extension update-index` won't work by default in ADO if checking out Azure/azure-cli-extensions.

### Work Around
As a work around, have to set `$(System.DefaultWorkingDirectory)` in each task of a pipeline to re-define the working directory.

### Expected?
Not sure what's the perfect behavior.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.