Overview

Request 434112 accepted

- update to 0.8.7:
- Fixed bug where upgrading to the head of a branch which is already
present would fail, only if that head were also the dependency
of a different branch that is also upgraded, as the revision system
would see this as trying to go in the wrong direction. The check
here has been refined to distinguish between same-branch revisions
out of order vs. movement along sibling branches.
- Adjusted the version traversal on downgrade
such that we can downgrade to a version that is a dependency for
a version in a different branch, *without* needing to remove that
dependent version as well. Previously, the target version would be
seen as a "merge point" for it's normal up-revision as well as the
dependency. This integrates with the changes for :ticket:`377`
and :ticket:`378` to improve treatment of branches with dependencies
overall.
- Fixed bug where a downgrade to a version that is also a dependency
to a different branch would fail, as the system attempted to treat
this as an "unmerge" of a merge point, when in fact it doesn't have
the other side of the merge point available for update.
- Fixed bug where the "alembic current" command wouldn't show a revision
as a current head if it were also a dependency of a version in a
different branch that's also applied. Extra logic is added to
extract "implied" versions of different branches from the top-level
versions listed in the alembic_version table.
- Fixed bug where a repr() or str() of a Script object would fail
if the script had multiple dependencies.
- Fixed bug in autogen where if the DB connection sends the default
schema as "None", this "None" would be removed from the list of
schemas to check if include_schemas were set. This could possibly
impact using include_schemas with SQLite.

Request History
Dirk Mueller's avatar

dirkmueller created request

- update to 0.8.7:
- Fixed bug where upgrading to the head of a branch which is already
present would fail, only if that head were also the dependency
of a different branch that is also upgraded, as the revision system
would see this as trying to go in the wrong direction. The check
here has been refined to distinguish between same-branch revisions
out of order vs. movement along sibling branches.
- Adjusted the version traversal on downgrade
such that we can downgrade to a version that is a dependency for
a version in a different branch, *without* needing to remove that
dependent version as well. Previously, the target version would be
seen as a "merge point" for it's normal up-revision as well as the
dependency. This integrates with the changes for :ticket:`377`
and :ticket:`378` to improve treatment of branches with dependencies
overall.
- Fixed bug where a downgrade to a version that is also a dependency
to a different branch would fail, as the system attempted to treat
this as an "unmerge" of a merge point, when in fact it doesn't have
the other side of the merge point available for update.
- Fixed bug where the "alembic current" command wouldn't show a revision
as a current head if it were also a dependency of a version in a
different branch that's also applied. Extra logic is added to
extract "implied" versions of different branches from the top-level
versions listed in the alembic_version table.
- Fixed bug where a repr() or str() of a Script object would fail
if the script had multiple dependencies.
- Fixed bug in autogen where if the DB connection sends the default
schema as "None", this "None" would be removed from the list of
schemas to check if include_schemas were set. This could possibly
impact using include_schemas with SQLite.


Leap Reviewbot's avatar

leaper added python-alembic as a reviewer

Submission by someone who is not maintainer in the devel project. Please review


Leap Reviewbot's avatar

leaper added leap-reviewers as a reviewer


Leap Reviewbot's avatar

leaper accepted review

ok


Ludwig Nussel's avatar

lnussel_factory added as a reviewer

Being evaluated by staging project "openSUSE:Leap:42.2:Staging:adi:9"


Ludwig Nussel's avatar

lnussel_factory accepted review

Picked openSUSE:Leap:42.2:Staging:adi:9


Ludwig Nussel's avatar

lnussel accepted review


Ludwig Nussel's avatar

lnussel_factory accepted review

Removing from openSUSE:Leap:42.2:Staging:adi:9, re-evaluation needed


Ludwig Nussel's avatar

lnussel_factory added factory-staging as a reviewer

Requesting new staging review


Ludwig Nussel's avatar

lnussel_factory added as a reviewer

Being evaluated by staging project "openSUSE:Leap:42.2:Staging:adi:5"


Ludwig Nussel's avatar

lnussel_factory accepted review

Picked openSUSE:Leap:42.2:Staging:adi:5


Thomas Bechtold's avatar

tbechtold accepted review


Yuchen Lin's avatar

maxlin_factory accepted review

ready to accept


Yuchen Lin's avatar

maxlin_factory approved review

ready to accept


Yuchen Lin's avatar

maxlin_factory accepted request

Accept to openSUSE:Leap:42.2

openSUSE Build Service is sponsored by