You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the tutorial step for merging changes to the structure directory is followed using a Git repository, it is no longer possible to generate a production script (xmigra upgrade --production) because of the change to the migration file made by xmigra unbranch. This is implemented in the check at
rtweeks
changed the title
Production upgrade generation fails after unbranch
Production upgrade generation fails after unbranch when using Git
Jul 5, 2019
Because Git doesn't bind commits to branches (the concept doesn't even
make sense), there is no way to check if a migration file is "unchanged
since committed to the production branch" as can be done in Subversion.
The closest-to-equivalent check is that the migration file as it exists
in the working copy has the same content as in the head of the
centrallized master branch (specified with the `xmigra-master` Git
attribute). This leaves it up to hooks in the central repository or
the merge review process to ensure the migration files in the master
branch do not change.
Issues: #31
If the tutorial step for merging changes to the
structure
directory is followed using a Git repository, it is no longer possible to generate a production script (xmigra upgrade --production
) because of the change to the migration file made byxmigra unbranch
. This is implemented in the check atxmigra/lib/xmigra/vcs_support/git.rb
Line 200 in ac29b7d
The text was updated successfully, but these errors were encountered: