pulp / pulp/pulp_deb

Use by-hash files when syncing content

Open
#1,031 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Triage-Needed
Dominant language
Python
Stars
71
Forks
91
Avg merge
1d 19h
Merged PRs (30d)
22

Description

Debian offers a feature called acquire-by-hash that prevents apt clients from downloading metadata files such as Release and Packages that don't match. This usually occurs when the repository is being published. These metadata files get published to a by-hash folder where they can be referenced by their hash digests. pulp_deb already supports publishing these files and ideally should support syncing using these files.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Debian acquire-by-hash specification and the existing syncing path in pulp_deb; the issue provides no file or test entry point. Compare the sync behavior with the linked publishing support, then verify that Release and Packages metadata can be fetched through their by-hash references without mismatches during publication.

Written by the indexing model from the issue text.

Assessment

Tech stack
debian, python
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.