Skip to content

Conversation

@jeremystretch
Copy link
Member

@jeremystretch jeremystretch commented Jun 2, 2025

Closes: #19627

Provide ObjectChange data migrators for schema migrations starting with NetBox v4.2.0:

  • circuits.0047_circuittermination__termination
  • circuits.0051_virtualcircuit_group_assignment
  • dcim.0200_populate_mac_addresses
  • ipam.0071_prefix_scope
  • ipam.0080_populate_service_parent
  • tenancy.0018_contact_groups
  • virtualization.0044_cluster_scope
  • virtualization.0048_populate_mac_addresses

The order of operations necessary for testing this PR in conjunction with the netbox-branching plugin as as follows.

  1. Install NetBox v4.1.9 and populate some data.
  2. Install and enable netbox-branching by checking out the main branch of the repo. (We need FR #262 but v0.5.6 hasn't been released yet.)
  3. Create branches and perform object changes to generate branch data for testing.
  4. Upgrade to NetBox v4.3.1, then switch to the branch for this PR (19627-object-change-migrators).
  5. Check out the 1-branch-migrations branch of netbox-branching. (This emulates upgrading to v0.6.0 of the plugin.)
  6. Test migrating and merging open branches that were created under NetBox v4.1.9.

@jeremystretch jeremystretch requested review from a team and jnovinger and removed request for a team June 2, 2025 13:48
@jeremystretch jeremystretch marked this pull request as ready for review June 2, 2025 13:48
@jeremystretch jeremystretch requested a review from jnovinger June 3, 2025 19:48
@jeremystretch jeremystretch merged commit 179c06e into main Jun 5, 2025
10 checks passed
@jeremystretch jeremystretch deleted the 19627-object-change-migrators branch June 5, 2025 15:48
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Introduce object change migrators

3 participants