From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Jackson Subject: Re: [OSSTest] standalone-reset: actually honour '-f' option Date: Fri, 14 Feb 2014 18:41:19 +0000 Message-ID: <21246.25423.419772.949039@mariner.uk.xensource.com> References: <1391005955.21756.7.camel@Abyss> <1392401513.32038.348.camel@Solace> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WENhn-0007OR-By for xen-devel@lists.xenproject.org; Fri, 14 Feb 2014 18:41:43 +0000 In-Reply-To: <1392401513.32038.348.camel@Solace> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: raistlin@linux.it Cc: Ian Campbell , xen-devel List-Id: xen-devel@lists.xenproject.org Dario Faggioli writes ("Re: [Xen-devel] [OSSTest] standalone-reset: actually honour '-f' option"): > On mer, 2014-01-29 at 14:32 +0000, Dario Faggioli wrote: > > standalone-reset's usage says: > > > > usage: ./standalone-reset [] [ [ []]] > > branch and xenbranch default, separately, to xen-unstable > > options: > > -f generate flight "flight", default is "standalone" > > > > but then there is no place where '-f' is processed, and hence > > no real way to pass a specific flight name to make-flight. > > > > Signed-off-by: Dario Faggioli ... > I know it's a busy period for OSSTest, but this should be pretty > straightforward, and it only affects standalone mode. Right. I don't use standalone mode much, so sorry about that. I looked for a comment from Ian C but didn't find one. Acked-by: Ian Jackson > Anyway, I can put it on hold and resubmit in a while, if that's > considered better. No, pinging now is good. This patch leads me to an observation: I looked at the code in standalone-reset and it appears to me that there is not currently anything which sets "$flight". So the "DELETE" statements used if there's an existing db won't have any effect. This doesn't cause any strange effects because Osstest/JobDB/Standalone.pm deletes them too. I think it would be best to delete that part of standalone-reset. Do you agree ? In the meantime I have added your patch to my queue branch. Ian.