pulp shouldn't update "last_publish" attribute when publish failed.
In publish process
There's strange line 139, where you set "last_publish" attribute although there had to occur some error in publish process. That means, "last_publish" is updated even if there could be something wrong with packages and therefore next publish will be fast-forward, however result of this publish doesn't have to be right.
Last publish attribute should be updated only when it's clear the publish finished successfully.
#5 Updated by mhrivnak about 6 years ago
According to Jeremy, the fix for this was Jindra's proposal, to simply remove the single line that he referenced above. Thus the backport is to just remove that line. I'm assuming it's not worth everyone's time for us to hand-off an actual patch for that? Does that work for you? We can make the patch if it would be helpful.
Please register to edit this issue