Commit 66db509f authored by Leigh B Stoller's avatar Leigh B Stoller

Merge branch 'master' of git-public.flux.utah.edu:/flux/git/emulab-devel

parents a3182f39 fd9b70d8
......@@ -10,17 +10,18 @@ sub DoUpdate($$$)
my ($dbhandle, $dbname, $version) = @_;
if (!DBTableExists("subbosses")) {
DBQueryFatal( "CREATE TABLE `subbosses` ("
" `node_id` varchar(32) NOT NULL default '',"
" `service` varchar(20) NOT NULL default '',"
" `subboss_id` varchar(20) NOT NULL default '',"
" PRIMARY KEY (`node_id`,`service`)"
DBQueryFatal( "CREATE TABLE 'subbosses' (" .
" 'node_id' varchar(32) NOT NULL default ''," .
" 'service' varchar(20) NOT NULL default ''," .
" 'subboss_id' varchar(20) NOT NULL default ''," .
" PRIMARY KEY ('node_id','service')" .
") ENGINE=MyISAM DEFAULT CHARSET=latin1;");
}
DBQueryFatal("alter table reserved change `erole` `erole` ".
" enum('node','virthost','delaynode','simhost', "
DBQueryFatal("alter table reserved change erole erole " .
" enum('node','virthost','delaynode','simhost', " .
" 'sharedhost', 'subboss') NOT NULL default 'node'");
return 0;
}
1;
......@@ -26,3 +26,10 @@ which will give you the hash of your latest commit. Then, tag the commit:
Now you can push your commit along with the tag(s) to the remote repo:
boss> git push --tags origin master
NOTE: if you have to fix an update script for any reason, you will need to
update and re-push the relevant tag to point to the new commit with the fixed
version of the script. That can be done as follows:
boss> git tag -f v4.185 <new hash>
boss> git push origin tags/v4.185
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment