Project

Profile

Help

Story #1158

As a user, I can force full/fresh publish of rpms and not do an incremental publish

Added by jluza over 6 years ago. Updated almost 3 years ago.

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

100%

Estimated time:
Platform Release:
2.9.0
Groomed:
No
Sprint Candidate:
Yes
Tags:
Easy Fix, Pulp 2
Sprint:
Sprint 1
Quarter:

Description

Pulp should have way how to prevent a second publish from being published as a fast-forward. For example when you need to fast way how to fix inconsistency between repodata/packages on disk and in database.

Suggested change:

https://github.com/release-engineering/pulp_rpm/commit/d16d6c831d71397f8a6b2b03ad1e8fad80120ef9


Related issues

Has duplicate RPM Support - Story #1098: Support a 'forced' metadata regenerationCLOSED - DUPLICATE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Blocks Pulp - Story #1724: Publish should be a no-op if no units and no settings have changed since the last successful publishCLOSED - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision 2f4389a6 View on GitHub
Added by ttereshc almost 6 years ago

Add --force-full flag to publish command

re #1158 https://pulp.plan.io/issues/1158

Revision 2f4389a6 View on GitHub
Added by ttereshc almost 6 years ago

Add --force-full flag to publish command

re #1158 https://pulp.plan.io/issues/1158

Revision 7849304a View on GitHub
Added by ttereshc almost 6 years ago

Add --force-full flag to publish command

If specified the full publication of the RPMs will be done even when it is possible to make an incremental one.

closes #1158 https://pulp.plan.io/issues/1158

History

#1 Updated by mhrivnak over 6 years ago

  • Tracker changed from Issue to Story
  • Subject changed from skip_fast_forward option for publish to As a user, I can force full publish of rpm repos
  • Groomed set to No
  • Sprint Candidate set to Yes
  • Tags Easy Fix added

#2 Updated by mhrivnak over 6 years ago

  • Has duplicate Story #1098: Support a 'forced' metadata regeneration added

#3 Updated by bmbouter almost 6 years ago

  • Subject changed from As a user, I can force full publish of rpm repos to As a user, I can force full/fresh publish of rpms and not do an incremental publish
  • Description updated (diff)

#4 Updated by bmbouter almost 6 years ago

  • Parent task set to #1683

#5 Updated by mhrivnak almost 6 years ago

  • Blocks Story #1724: Publish should be a no-op if no units and no settings have changed since the last successful publish added

#6 Updated by mhrivnak almost 6 years ago

I suggest a different setting name, but this looks like a good behavior to add.

The fast-forward feature causes some parts of the normal publish to be skipped. Having a setting to skip that skipping is just a little awkward. Do two skips cancel each other out?

Instead I suggest a setting like "force_full", or something similar. It focuses on what the user wants, not what they don't want.

#7 Updated by mhrivnak almost 6 years ago

  • Checklist item Document a new distributor setting added
  • Checklist item Add code to use the new setting added
  • Checklist item Add the new setting to pulp-admin, or make a separate issue to do that added
  • Checklist item Add release notes added

#8 Updated by ttereshc almost 6 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ttereshc

#9 Updated by mhrivnak almost 6 years ago

  • Sprint/Milestone set to 19

#10 Updated by bmbouter almost 6 years ago

+1 to "force_full"

#12 Updated by ttereshc almost 6 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#13 Updated by ttereshc almost 6 years ago

  • Checklist item Document a new distributor setting set to Done
  • Checklist item Add code to use the new setting set to Done
  • Checklist item Add the new setting to pulp-admin, or make a separate issue to do that set to Done
  • Checklist item Add release notes set to Done
  • Platform Release set to 2.9.0

#15 Updated by semyers over 5 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

#17 Updated by bmbouter almost 4 years ago

  • Sprint set to Sprint 1

#18 Updated by bmbouter almost 4 years ago

  • Sprint/Milestone deleted (19)

#19 Updated by bmbouter almost 3 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF