[Rt-commit] rtir branch, 4.0/upgrade-error-4.4.2, repushed
Shawn Moore
shawn at bestpractical.com
Thu Dec 1 16:04:11 EST 2016
The branch 4.0/upgrade-error-4.4.2 was deleted and repushed:
was 0ff07c686fc52c620972c798ff92d85f6cc7da35
now faa5144395765913e2b5404009472c97b08fc6fe
1: 0ff07c6 ! 1: faa5144 Include RT 4.4.2 schema changes in the RTIR upgrade test
@@ -27,13 +27,13 @@
+ # if we're between versions *and* the last version we collected above
+ # is the same as the penultimate version, then collect the next
+ # version too
-+ # as a concrete example, if the RT version is 4.4.1-147-g602fd00
-+ # then the above code selects all the upgrades up to and
-+ # including 4.4.1, but doesn't include 4.4.2 because it's a
-+ # future version. that will cause the test to explode because
-+ # 4.4.1-147-g602fd00 needs to include the 4.4.2 schema changes
-+ # as well, even though 4.4.2 hasn't even been tagged
-+ # yet. so the following check adds that "future" version, 4.4.2
++ # as a concrete example, if the RT version is 4.4.1-147-g602fd00
++ # then the above code selects all the upgrades up to and
++ # including 4.4.1, but doesn't include 4.4.2 because it's a
++ # future version. that will cause the test to explode because
++ # 4.4.1-147-g602fd00 needs to include the 4.4.2 schema changes
++ # as well, even though 4.4.2 hasn't even been tagged
++ # yet. so the following check adds that "future" version, 4.4.2
+ push @upgrades, $all_versions[-1]
+ if $RT::VERSION =~ /-/
+ && RT::Handle::cmp_version($all_versions[-2], $upgrades[-1]) == 0;
More information about the rt-commit
mailing list