Issue #6520
closedRegression: publishing an empty ISO repo no longer publishes PULP_MANIFEST
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.
Added by yuzheng over 4 years ago
Added by yuzheng over 4 years ago
Revision 8bf831f8 | View on GitHub
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.
Added new case for testing this and fixed tests added before.
Closes #5659
Updated by ipanova@redhat.com over 4 years ago
- Project changed from RPM Support to Pulp
- Status changed from NEW to POST
- Tags Pulp 2 added
Updated by ipanova@redhat.com over 4 years ago
- Status changed from POST to MODIFIED
Updated by dalley over 4 years ago
- Status changed from 5 to CLOSED - CURRENTRELEASE
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