JustinGrote / JustinGrote/PowerShell-Containers
Differential Slices for Servicing Updates
- Lingua principale
- PowerShell
- Stelle
- 42
- Fork
- 1
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
This would probably be very tricky to implement, but we could improve upon the differential when building servicing releases by only copying the files that had changed.
This would require us to:
- fetch the "base" release (e.g. 7.4.0)
- Get the latest service release (e.g. 7.4.2)
- Find only the files that have changed since the last release. The .NET BCL DLLs should all stay the same so it should mostly just be SMA and a handful of others
- Copy those files into a new layer
Now when you update from 7.4.2 to 7.4.1, you're downloading a layer that basically only has the changed SMA files rather than what is basically a full zip of the PowerShell installation.
There's little point in doing this between .NET versions since 90% of it will have changed, but it might be a good approach for servicing releases.
This is probably more minmaxxing then is worth the effort, but I might try it just to take on a challenge.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Start by locating how servicing releases and container layers are currently built, then establish how the base release and latest servicing release are fetched and compared. Verify the approach against a servicing-version pair such as 7.4.0 and 7.4.2. Done means a new layer contains only files changed since the base release, while unchanged files are not copied.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- powershell
- Ambito
- release
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100