Replies: 2 comments 2 replies
-
im not following what you mean by "resolve" can you provide a concrete example? also it seems like the proposal is a change to the versioning model such that there would be some way that a descendant of a certain label would somehow no longer be considered as part of that branch label, which seems like it would be quite awkward. |
Beta Was this translation helpful? Give feedback.
-
It's possible I'm looking at branching completely wrong in Alembic, but here goes. Here's an example history for how I would see it in use (integer revisions and spacing added for readability)
After the mergepoint at The annoyance is in long-living projects, you might end up with dozens of branch labels on a single revision. Its probable in retrospect that we should have used Here is an example alembic setup to reproduce what we've done example.tar.gz |
Beta Was this translation helpful? Give feedback.
-
We use alembic branches to track features as we build them in parallel to main development, and have ended up with many superfluous labels on our history. The only way I've found to "resolve" a branch label is to remove it from the original migration, which has it's own issues.
I propose adding a property such as
merge_branch_labels
to migrations, which would remove the label from future revisions. This is mostly a cosmetic change, but would be very welcomeBeta Was this translation helpful? Give feedback.
All reactions