[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH OSSTEST RFC v2 1/2] Add a flight to test qemu.org's ("mainline") master branch.
On Mon, 2014-05-12 at 16:15 +0100, Ian Jackson wrote: > Ian Campbell writes ("[PATCH OSSTEST RFC v2 1/2] Add a flight to test > qemu.org's ("mainline") master branch."): > > The naming here is slightly confused because we call our branches of qemuu > > on > > xenbits "qemu-upstream-foo", so I went with qemu-mainline to be distinct. > > IMO the tree in osstest/ should be called "qemu.git". It's not got a > different git history to the qemu-upstream-foo. OK > The "mainline" should be in the ref name. Currently the ref name is xen-tested-master, because the input branch from upstream is called master. xen-tested-mainline-master perhaps? > > > +qemu-mainline) > > + repo_tree_rev_fetch_git $branch \ > > + $BASE_TREE_QEMU_MAINLINE xen-tested-master > > $LOCALREV_QEMU_MAINLINE > > Maybe some / in the branch name ? FWIW libvirt uses the same ref name, but I'm happy to change if you would prefer, although I'm not sure what the benefit would be. Anyway, what would you suggest? > > diff --git a/cri-common b/cri-common > > index d82312c..d901383 100644 > > --- a/cri-common > > +++ b/cri-common > > @@ -43,6 +43,7 @@ repo_tree_rev_fetch_git () { > > select_xenbranch () { > > case "$branch" in > > xen*) tree=xen; xenbranch=$branch ;; > > + qemu-mainline) tree=qemuu; xenbranch=xen-unstable > > qemuubranch=qemu-mainline;; > > qemu-upstream-*) tree=qemuu; > > xenbranch=xen-${branch#qemu-upstream-};; > > linux) tree=linux; xenbranch=xen-unstable ;; > > linux-*) tree=linux; xenbranch=xen-unstable ;; > > @@ -55,6 +56,9 @@ select_xenbranch () { > > else > > linuxbranch='' > > fi > > + if [ x$qemuubranch = x ]; then > > + qemuubranch="qemu-upstream-${xenbranch#xen-}" > > + fi > > Perhaps it would be easier to move the default setting of qemuubranch > above the case, where it wouldn't need to be conditional. Yes, good suggestion. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |