JustinGrote / JustinGrote/PowerShell-Containers

Differential Slices for Servicing Updates

Abierto
#5 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
PowerShell
Estrellas
42
Forks
1
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Comienza localizando cómo se crean actualmente las versiones de mantenimiento y las capas de contenedor, y determina después cómo se obtienen y comparan la versión base y la versión de mantenimiento más reciente. Verifica el enfoque con un par de versiones de mantenimiento como 7.4.0 y 7.4.2. Se considera completado cuando una nueva capa contiene únicamente los archivos modificados desde la versión base, mientras que los archivos sin cambios no se copian.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
powershell
Área
release
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.