Project

Profile

Help

Task #3308

closed

Skip creating new repo versions when content has not changed

Added by kersom almost 7 years ago. Updated almost 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

Per our discussion on pulp-dev[0], we should stop creating new repo versions if content has not changed. To recap the reasons:

- They were meant to serve as a historical record but this information is available by looking at the tasks api
- It creates additional, unnecessary versions and bumps the latest version number of the repo
- If we ever have a feature to retain only the latest X repo versions, it'll be less useful since some repo versions may not have any changes

I believe sync is the only place that needs to be updated but we may also need to consider any other places in the code.

Also, we should document that this is the intended behavior.

[0] https://www.redhat.com/archives/pulp-dev/2019-November/msg00003.html


Related issues

Related to Ansible Plugin - Issue #4920: Collection - Repository versions not being update after successive syncsCLOSED - CURRENTRELEASEbmbouterActions

Also available in: Atom PDF