diff mbox

[OSSTEST,05/17] schema updates: Be willing to apply Ready changes

Message ID 1498839920-17025-6-git-send-email-ian.jackson@eu.citrix.com (mailing list archive)
State New, archived
Headers show

Commit Message

Ian Jackson June 30, 2017, 4:25 p.m. UTC
If the oldest code declares itself Ready for this change, or
(implausibly) Needed, then it is OK to push.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
---
 mg-schema-update | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/mg-schema-update b/mg-schema-update
index 43f313a..44e4283 100755
--- a/mg-schema-update
+++ b/mg-schema-update
@@ -102,7 +102,7 @@  sub getstate () {
 	    if (!$there) {
 		$out->{Todo} = 1;
 		$out->{Msg} = "would break any old code";
-	    } elsif ($tst =~ m/Harmless|Preparatory/) {
+	    } elsif ($tst =~ m/Harmless|Preparatory|Ready|Needed/) {
 		$out->{Todo} = 2;
 		$out->{Msg} = "specified revision can cope";
 	    } else {