Skip to content

Fixed migration 0156 - #8057

Draft
mdellweg wants to merge 2 commits into
pulp:mainfrom
mdellweg:fix_relpath
Draft

Fixed migration 0156#8057
mdellweg wants to merge 2 commits into
pulp:mainfrom
mdellweg:fix_relpath

Conversation

@mdellweg

@mdellweg mdellweg commented Sep 3, 2026

Copy link
Copy Markdown
Member

Since some plugins actually don't care about the relative path of content_artifacts, they should be able to be null. This both fixes the existing migration to account for formally "" paths to now be represented as None (NULL) and ships a second migration that is idempotent on the current, corrected timeline, but drops the not null constraint on installations that successfully applied the original version of it.

📜 Checklist

  • Commits are cleanly separated with meaningful messages (simple features and bug fixes should be squashed to one commit)
  • A changelog entry or entries has been added for any significant changes
  • Follows the Pulp policy on AI Usage
  • (For new features) - User documentation and test coverage has been added

See: Pull Request Walkthrough

@mdellweg

mdellweg commented Sep 4, 2026

Copy link
Copy Markdown
Member Author

Needs to be rebased on top of #8060 and squashed or split.

(Apparently i cannot request a change on my own pull request. arrrrrg!)

Since some plugins actually don't care about the relative path of
content_artifacts, they should be able to be null.
This both fixes the existing migration to account for formally "" paths
to now be represented as None (NULL) and ships a second migration that
is idempotent on the current, corrected timeline, but drops the not null
constraint on installations that successfully applied the original
version of it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant