pulp / pulp/pulp_deb

Add a test that uploads a "minimal" Debian package.

Open
#389 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Author: @quba42 (quba42)

Redmine Issue: 7279, https://pulp.plan.io/issues/7279


By minimal Debian package I mean one that has ONLY required fields in the control file.
That way we can ensure we are not dependent on any fields that are not required.

Another possibility would be to add broken packages, that lack a required field each, and assert that the relevant error is thrown.

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 by locating the existing Debian package upload tests in this repository and compare their control-file fields. Add coverage for a package whose control file contains only required fields, then verify the upload succeeds; optionally cover packages missing one required field and assert the relevant error.

Written by the indexing model from the issue text.

Assessment

Tech stack
debian, python
Domain
testing
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.