Actions
Issue #6520
closedRegression: publishing an empty ISO repo no longer publishes PULP_MANIFEST
Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
2.21.2
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:
Description
I don't think this is fixed.
Debugging log is added as below:
_logger.error(publish_conduit.last_publish)
The output is:
Mar 18 08:30:26 pulp-05 pulp: pulp.plugins.file.distributor:ERROR: [8a3e0c82] <bound method RepoPublishConduit.last_publish of <pulp.plugins.conduits.repo_publish.RepoPublishConduit object at 0x7f62bc372510>>
It's always not None. So publish is still fast forward when repo has never been published.
Actions
Fix last_publish method call
Method last_publish was not called properly so that a bound method was used instead of its return. It made publish always be fast-forward no matter repo has been published or not when force_full=True is not set.
Closes #5659