JustinGrote / JustinGrote/PowerShell-Containers
Differential Slices for Servicing Updates
- Vorherrschende Sprache
- PowerShell
- Sterne
- 42
- Forks
- 1
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- powershell
- Bereich
- release
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100