Project

Profile

Help

Story #1305

Remove pre Pulp 2.4.0 migrations and require users are upgraded to 2.4.0 before upgrading to 2.8.0

Added by bmbouter about 6 years ago. Updated over 2 years ago.

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

100%

Estimated time:
Platform Release:
2.8.0
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Pulp 2
Sprint:
Quarter:

Description

We have a lot of migrations and they are becoming difficult to maintain as they require portions of the codebase to never change. Of course the codebase changes regularly so we do a lot of work to maintain the ability for users to upgrade from any version to any version.

We are considering requiring users to upgrade to at least 2.4.0 before upgrading to a version of 2.8.0+. We can delete the pre-2.4.0 migrations from platform and all the plugins. See the checklist below for more details on the deliverables.


Checklist

Associated revisions

Revision ea527684 View on GitHub
Added by mhrivnak almost 6 years ago

Removing migrations from prior to 2.4.0.

Changing the rules to allow gaps in migration numbers, and to fast-forward brand new migration trackers instead of applying migrations to empty collections.

re #1305

Revision ea527684 View on GitHub
Added by mhrivnak almost 6 years ago

Removing migrations from prior to 2.4.0.

Changing the rules to allow gaps in migration numbers, and to fast-forward brand new migration trackers instead of applying migrations to empty collections.

re #1305

History

#3 Updated by mhrivnak about 6 years ago

Yes please.

#4 Updated by bmbouter about 6 years ago

  • Checklist item changed from In 2.8.0, remove the pre 2.5.0 migrations so they are no longer in the codebase and need to be maintained to In 2.8.0, remove the pre 2.4.0 migrations so they are no longer in the codebase and no longer need to be maintained
  • Checklist item changed from In 2.8.0 release notes, indicate that users must upgrade to 2.5.0 before upgrading to 2.8.0 or later to In 2.8.0 release notes, indicate that users must upgrade to 2.4.0 before upgrading to 2.8.0 or later
  • Checklist item changed from In 2.8.0 spec file, halt the user from upgrading to 2.8.0+ if they are not already on 2.5.0+ to In 2.8.0 spec file, halt the user from upgrading to 2.8.0+ if they are not already on 2.4.0+
  • Subject changed from Remove pre Pulp 2.5.0 migrations and require users are upgraded to 2.5.0 before upgrading to 2.8.0 to Remove pre Pulp 2.4.0 migrations and require users are upgraded to 2.4.0 before upgrading to 2.8.0
  • Description updated (diff)

mhrivnak wrote:

Yes please.

Done. It now reflects 2.4.0 instead of 2.5.0. If the story has enough detail, the next step is to mark it as 'Groomed'.

#5 Updated by mhrivnak almost 6 years ago

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

#6 Updated by mhrivnak almost 6 years ago

  • % Done changed from 0 to 70
  • Groomed changed from No to Yes

#8 Updated by mhrivnak almost 6 years ago

  • Checklist item In 2.8.0, remove the pre 2.4.0 migrations so they are no longer in the codebase and no longer need to be maintained set to Done
  • Checklist item In 2.8.0 release notes, indicate that users must upgrade to 2.4.0 before upgrading to 2.8.0 or later set to Done

#9 Updated by mhrivnak almost 6 years ago

pulp_puppet had no migrations prior to 2.4.0, so there is nothing to do for that plugin.

#10 Updated by mhrivnak almost 6 years ago

  • Checklist item deleted (In 2.8.0 spec file, halt the user from upgrading to 2.8.0+ if they are not already on 2.4.0+)
  • Checklist item Do the above checklist items for platform and all plugins set to Done
  • Status changed from ASSIGNED to POST
  • % Done changed from 70 to 100

#11 Updated by mhrivnak almost 6 years ago

  • Status changed from POST to MODIFIED

#12 Updated by dkliban@redhat.com over 5 years ago

  • Status changed from MODIFIED to 5

#13 Updated by dkliban@redhat.com over 5 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE

#14 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF