Support for (existing) extensions, like `azure-devops`

Aperta
#1,189 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
azure, csharp
Ambito
cli, tooling

Direzione di ricerca

Reproduce by running az extension add --name azure-devops and follow the code path that raises ExtensionNotFound — that is where extension packages are resolved. Read how extensions are discovered, installed and loaded (the NuGet feed configuration and the extension index/manifest handling) before designing a compatibility path for legacy az extensions. Done means an existing extension such as azure-devops can be imported and its commands surface, with a test covering the resolution fallback.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

act-codegen-extensibility-squad question
Which did you use?

CLI (az)

What worked well?

Currently, I'm working at 2 customers who are working with Azure DevOps.
Because of this, I'm relying heavily on the devops extension for the Azure CLI. My coding agent working heavily with the features available.

When running az extension add --name azure-devops we now get an error:

ERROR: [ExtensionNotFound] Could not find package Microsoft.Azure.Azclips.Extensions.azure-devops in any configured NuGet feed.
To get AI help by running az troubleshoot analyze after a failure, run: az config set --key agent.recovery.trigger --value manual
Or, to start AI automatically after every failure, run: az config set --key agent.recovery.trigger --value auto

This makes sense, as the extension is probably not ported to azclips, yet(?).

What was confusing or hard?

It's not possible to use the az devops-capabilties with azclips yet.

What would make azclips easier or more useful for you?

It would be great if there's a way to import the (legacy) extensions that exist.

azure-devops is just one extension I'm stumbling on right now, but I'm pretty sure there will be others too that people and/or organisations have created.

Overall impression

4

Lingua principale
C#
Stelle
18
Fork
10
Merge medio
1g 20h
PR unite (30g)
157

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Azure/azclips

Tutte le issue di Azure/azclips

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.