Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
S slapos.core
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 26
    • Merge requests 26
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • slapos.core
  • Merge requests
  • !659

Merged
Created Jul 11, 2024 by Rafael Monnerat@rafael👻Owner

Major upgrade on region to drop duplication

  • Overview 1
  • Commits 3
  • 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
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: region-category-update
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7