Issue #4345
closedReview behaviour when publishing empty repositories.
Description
The current behaviour when publishing an empty repository (containing no packages) is for the pulp task to succeed without publishing anything.
We may want to review and improve this behaviour. Ideally, publishing an empty repository should create something that apt won't choke on.
Another possible use case is to ensure that pulp to pulp synchronization won't lead to a failed task.
While we are at it we may also want to consider whether there should be some kind of warning or error if an empty repository results from bad user input. The way things are now, if the user attempts to synchronize an upstream repository using for example bogus components, this will result in a successful sync with an empty repository. This may be counter intuitive for the user who has no indication what he did wrong.
Added by quba42 over 5 years ago
Updated by mdellweg over 5 years ago
- Status changed from NEW to POST
- Assignee set to quba42
Updated by ipanova@redhat.com almost 5 years ago
- Status changed from POST to MODIFIED
- Platform Release set to 2.21.1
Updated by ipanova@redhat.com almost 5 years ago
- Status changed from MODIFIED to 5
Updated by ipanova@redhat.com almost 5 years ago
- Status changed from 5 to CLOSED - CURRENTRELEASE
Also publish empty repositories
fixes #4924 https://pulp.plan.io/issues/4345