Yuvipanda has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/282975

Change subject: Add a warning to jsub if no release is specified
......................................................................

Add a warning to jsub if no release is specified

Change-Id: I9115bc7e34ce2f9e8ad8235455005b7126edad77
---
M jobutils/bin/jsub
1 file changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/labs/toollabs 
refs/changes/75/282975/1

diff --git a/jobutils/bin/jsub b/jobutils/bin/jsub
index 317c2ed..e9a8daa 100755
--- a/jobutils/bin/jsub
+++ b/jobutils/bin/jsub
@@ -159,6 +159,10 @@
 }
 close EXE;
 
+if (index($full_commandline, 'release=') == -1) {
+  print "WARNING: release not explicitly specified, assuming you want to run 
on Ubuntu Precise (12.04)"
+  print "Specify -l release=trusty to run on Ubuntu Trusty (14.04)"
+}
 
 foreach my $option (@options) {
   my($opt, $optval) = @$option;

-- 
To view, visit https://gerrit.wikimedia.org/r/282975
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9115bc7e34ce2f9e8ad8235455005b7126edad77
Gerrit-PatchSet: 1
Gerrit-Project: labs/toollabs
Gerrit-Branch: master
Gerrit-Owner: Yuvipanda <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to