Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

aptly publish repo followed by aptly publish update, missing packages

オープン
#1,631 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
20/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
活発
技術スタック
debian, go, ubuntu
領域
devops

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Go
スター
2.9k
フォーク
436
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

aptly-dev/aptly のほかの issue

aptly-dev/aptly の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。