Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

aptly publish repo followed by aptly publish update, missing packages

Abierto
#1,631 0 comentarios 1 reacción 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
20/100
Tipo de issue
Error
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
debian, go, ubuntu
Área
devops

Línea de trabajo

Reproduce the workflow using the commands in the issue: create jammy and jammy-debug repos, publish with components main and main/debug, then run aptly publish update jammy ubuntu. Compare published metadata before and after to confirm the debug packages are dropped. Read the aptly publish update documentation and source to see if it supports updating multiple components or if a flag is missing; check for --skip-contents or similar. Done means either the correct command is documented or the update behavior is fixed to retain all components.

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

Descripción

Hi!
I am not sure that this is actually an issue (or me not using aptly correctly).

Here is how we create the repo for Ubuntu:

aptly repo create -distribution=jammy jammy
aptly repo create -distribution=jammy jammy-debug

aptly repo add \
    -force-replace \
    jammy \
    PATH/*.deb

# debug packages
aptly repo add \
    -force-replace \
    jammy-debug \
    PATH/*.ddeb

aptly publish repo \
  -component="main,main/debug" \
  -distribution="jammy" \
  jammy jammy-debug ubuntu

The published repo is then uploaded to our mirrors and we have quite a lot
around the world. We would like to be able to add some deb/ddeb to some
releases (plugins) and not sync again the whole repo but just the extra deb/ddeb
and metadata.

I thought I could just add the new deb/ddeb and then run something like:

aptly publish update \
  jammy ubuntu

But this apparently removes from the local repository all the jammy-debug
content and I can't find the right command to update both jammy and
jammy-debug. Am I missing something or aptly publish update is not the
right command?

Aptly version: 1.6.3 on Debian 12.

Lenguaje dominante
Go
Estrellas
2.9k
Forks
436
Métricas de merge de PR
Sin PR fusionados en 30 d

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.