Indices Difference Files

Abierto
#1,321 0 comentarios 3 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
30/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
go
Área
cli

Línea de trabajo

Start with the Debian repository format link in the issue to understand the required indices-difference files, then read aptly's publish workflow to find where updates to an existing published repository are handled. The issue names no files or tests, so first identify the relevant entry points and existing publish tests. Done means an opt-in publish produces correctly named diff, patch, and hash files in the correct location when updating an existing repository.

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

Descripción

wishlist

I can't find a way to make aptly generate diff and patch files when publishing updates to an existing published repo so apologies if this feature request already exists.

Detailed Description

It would be awesome if when passing a flag or something aptly could generate the diff/patch/hash files needed for this apt feature.

Context

Currently using aptly for some pretty large repos and user's have to download the whole package list file for each component each time. These can get massive even when compressed (30MB compressed, 150MB+ uncompressed) resulting in long update times for those with less than stellar internet connections.

Indices difference files allow the user to only download the diff and patch files and then patch the package list files locally. DAX and reprepro both support this but are less than ideal compared to aptly.

Possible Implementation

If correct flag is passed we need to generate some diff and patch files on a publish if there is an existing published repo there and put them in the correct folder in the correctly named files (details at the link above).

Lenguaje dominante
Go
Estrellas
2.9k
Forks
436
Merge medio
6 d 6 h
PR fusionados (30 d)
6

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de aptly-dev/aptly

Todos los issues de aptly-dev/aptly

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.