PowerShell / PowerShell/PSResourceGet
[Feature Request] Session scope for Register-PSRepository
Nessuno ha ancora preso questa issue.
- Lingua principale
- C#
- Stelle
- 576
- Fork
- 114
- Merge medio
- 1g 2h
- PR unite (30g)
- 7
Descrizione
Team,
Can you please add session scope support for Register-PSRepository?
We have an internal build system that outputs PowerShell modules. Every successful build is published to an internal PSRepository (Artifactory server).
Every time we want to publish a module we have to deal with the following cases:
- Is the repository already registered?
- Is another repository with different name and the same SourceLocation already registered?
- If the repository is already registered and we want to deploy on different url (PublishLocation) we have to modify the existing registration
- Clean the build machine after build procedure (Unregister-PSRepository)
- If 2 parallel builds are running on the same build machine at the same time this can cause conflicts (dealing with the same shared resource)
The problems described above can be avoided with Register-PSRepository operating on session level. Let me know if you have any questions.
Thanks,
Nedko
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia tracciando l’implementazione esistente di Register-PSRepository e il modo in cui le registrazioni dei repository vengono archiviate e associate al relativo ambito. Definisci il comportamento previsto della sessione, inclusi l’isolamento per le build parallele e la semantica della pulizia, quindi aggiungi la copertura per questi casi prima di considerare completa la funzionalità.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- csharp, powershell
- Ambito
- cli, tooling
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 30/100