Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • S slapos.core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 38
    • Merge requests 38
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • slapos.core
  • Merge requests
  • !659

Major upgrade on region to drop duplication

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Rafael Monnerat requested to merge rafael/slapos.core:region-category-update into master Jul 11, 2024
  • Overview 1
  • Commits 3
  • Pipelines 0
  • Changes 538

Remove all duplication and normalize id/path to prevent further problems. Set int_index to 1 on all region categories to facilitate the migration script, to know which ones are the "latest". This flagging allow us search for a proper category when cleaning up.

portal_categories/region/** was added to keep path to prevent categories be removed during the upgrade. This should be done (or not) by a migration script later on, since it is required to update the related objects.

Migration script (Upgrade Constraint) will move the categories from the old values to proper ones, and expire the old ones (when applicable).

Edited Jul 26, 2024 by Rafael Monnerat
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: region-category-update
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7