From: Ian Campbell Subject: Re: [PATCH OSSTEST v2 14/15] distros: add branch infrastructure Date: Fri, 2 May 2014 16:25:19 +0100 Message-ID: <1399044319.18944.14.camel@kazak.uk.xensource.com> References: <1398681672.29700.55.camel@kazak.uk.xensource.com> <1398681696-2773-14-git-send-email-ian.campbell@citrix.com> <21347.42482.581748.396214@mariner.uk.xensource.com> <1399039749.6043.34.camel@kazak.uk.xensource.com> <21347.44051.793945.501641@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <21347.44051.793945.501641@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Fri, 2014-05-02 at 15:30 +0100, Ian Jackson wrote: > Ian Campbell writes ("Re: [PATCH OSSTEST v2 14/15] distros: add branch infrastructure"): > > On Fri, 2014-05-02 at 15:04 +0100, Ian Jackson wrote: > > > Is doing this really easier than doing it in cr-daily-branch ? > > > > You mean avoiding calling ap-fetch-version for this branch? I didn't > > try, I'd have thought it would involve a handful of special cases. > > Although if you mean to handle none here (cf your second comment) then > > that might work nicely. > > ap-print-url is used only to produce $treeurl which is only used when > calling sg-check-tested and sg-report-flight - but those calls need to > be done differently anyway and no $treeurl is applicable. > > ap-fetch-version-old is meaningless on "distros" and is only called > because cr-daily-branch doesn't treat it specially. > > I suppose what I mean is: is ap-* the right place to know that > "distros" isn't the same kind of thing at all ? I'm perfectly happy to let you decide on this. By which I mean I'll try the "avoid ap-*" approach for next time. > > > And I think perhaps ... > > > > + distros) tree=distros; xenbranch=xen-unstable ;; > > > ... this should be "tree=none". What do you think ? > > > > I've no idea... The logic is that there is no pushed thing there is no > > tree? > > Well, "tree" in cr-daily-branch is: > > - The thing whose version we treat differently, taking the "to be > tested" rather than "baseline" version. There is no such thing > here - at least, nothing that has a version plumbed through to > the runvars. > > - Something we use to search the database for previous tests, looking > for flights with specific values of built_revision_$tree (for for > sg-check-tested and sg-report-flight). But we want a totally > different approach. Makes sense, I think. Ian.