Project

Profile

Help

Issue #1467

closed

Repository unit counts are not always accurate when the plugin authors forget to update them

Added by rbarlow almost 9 years ago. Updated over 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Master
Platform Release:
2.8.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Easy Fix, Pulp 2
Sprint:
Quarter:

Description

It is currently the responsibility of plugin authors to update the unit counts in repositories when units are added or removed from repositories. This is precarious as not all plugin authors are aware of this responsibility. It would be much easier and result in greater correctness if the platform made the call to update unit counts after all operations that might alter them. These operations should make the call on the plugin's behalf:

  • import_unit
  • remove_unit
  • upload_unit
  • sync

We should fix this before releasing 2.8, as some of the plugins no longer use the conduit code that used to do this for them.


Related issues

Related to RPM Support - Issue #1570: Reading an RPM repo returns incorrect rpm_unit_countsCLOSED - CURRENTRELEASEttereshcActions

Also available in: Atom PDF