sougatamondal / migratordotnet

Automatically exported from code.google.com/p/migratordotnet
0 stars 0 forks source link

Add non-sequential version number support #47

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I thought that there was too much noise in Issue 46, so I decided to open
this issue instead for the rest of the work.  46 can stay focused on the
int-to-long conversion.  I'll delete my comments regarding this enhancement
from there too.

Attached is a patch that adds support for non-sequential integer version
numbers.  The goal is to support development processes that use lots of
branches (and therefore need to resolve issues with migration numbers that
are sequential ints).  Using this patch and a workflow whereby migrations
are datestamps like 2008071700 (or, once Longs are available, with
timestamps like 20080717081500) merging a code branch and re-running the
same Migration will apply all the patches from the branch without a
problem.  Problems will still occur if someone creates two patches with the
same timestamp, but I'm not sure there's much to do about that.  

Original issue reported on code.google.com by evon...@gmail.com on 26 Jul 2008 at 3:43

Attachments:

GoogleCodeExporter commented 8 years ago
Updated patch to include unit tests for two more merge scenarios.

Original comment by evon...@gmail.com on 26 Jul 2008 at 4:04

Attachments:

GoogleCodeExporter commented 8 years ago
Updated patch for longs (commit 103).

Original comment by evon...@gmail.com on 1 Aug 2008 at 1:28

Attachments:

GoogleCodeExporter commented 8 years ago
Updated patch for changes in commits 105 and 106 (IMigration and MySQL default 
types).

Original comment by evon...@gmail.com on 4 Aug 2008 at 2:12

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by geoffl...@gmail.com on 4 Aug 2008 at 2:17

GoogleCodeExporter commented 8 years ago
SVN 107
This is a breaking change.

Original comment by geoffl...@gmail.com on 4 Aug 2008 at 3:35