All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Jackson <Ian.Jackson@eu.citrix.com>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: george.dunlap@eu.citrix.com,
	Andrew Cooper <andrew.cooper3@citrix.com>,
	xen-devel@lists.xensource.com,
	Ian Campbell <ian.campbell@citrix.com>
Subject: Re: [PATCH 4/9] raisin: add a component to build qemu_traditional
Date: Thu, 16 Apr 2015 12:15:20 +0100	[thread overview]
Message-ID: <21807.39368.850533.692733@mariner.uk.xensource.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1504161111520.7690@kaball.uk.xensource.com>

Stefano Stabellini writes ("Re: [Xen-devel] [PATCH 4/9] raisin: add a component to build qemu_traditional"):
> On Thu, 16 Apr 2015, Ian Campbell wrote:
> > But can I _query_ what it is able to build (i.e. the components the
> > current version supports) and/or what it would actually build if asked
> > (i.e. the revisions of things).
> 
> If by query you mean issuing an XML-RPC request, the answer is no :-)

Obviously that would be a stupid syntax to use.

> All the components are listed in the config file as URLs and REVISIONs,
> they also have a component script each, so a single "ls components" will
> tell you which components raisin can build. grep _REVISION config will
> tell you which versions are going to be built. Nothing will be
> automatically built unless it has a _REVISION entry in the config file.
> Commenting out a _REVISION entry is a good way to disable the build of
> a component.
> 
> Each component is independent and there is no knowledge about versions
> of one component (xen 4.5 and earlier) needing one or more versions of
> another component (qemu-traditional).  The main idea was that the
> versions or tags would be supplied by the user. Maybe there should be?
> That would increase the complexity though.

Perhaps we should have some `user stories'.

 Alice wants to build Xen mainline.  She reads the wiki and reads
 about raisin.  She does git clone git://somewhere/raisin.git, cd
 raisin, ./raise xen unstable.  `raise' automatically arranges to
 clone and build everything needed.

And a more complicated one:

 Bob is running Xen 4.5 as supplied by Debian.  He reports a bug which
 gets forwarded upstream.  Carol, the upstream maintainer, asks Bob to
 try to reproduce the bug with vanilla 4.5 with a patch applied.
 Carol points Bob at raisin and at her patched xen.git.  Bob does git
 clone git://somewhere/raisin.git, cd raisin, edits the raisin
 configuration for Xen 4.5 to specify Carol's url, and runs ./raise
 xen 4.5.  `raise' automatically arranges to clone and build
 everything needed.  Bob takes feeds the generated hypervisor .deb to
 dpkg -i, reboots, and collects the data requested by Carol.

New subtrees:

 David is adding a feature to Xen which depends on an external project
 `wombat'.  After David's changes, the Xen toolstack will need
 wombat to be installed on the dom0.  David creates a suitable wombat
 branch and tree, and sends patches as follows:
    - raisin: determine somehow (from the xen version? from
       the contents of xen.git? statically?) whether wombat is
       needed
    - xen.git: toolstack code to run installed version of wombat
    - osstest: introduce a push gate for wombat, and plumb its
       git url and git revision through cr-daily-branch and make-flight
 After David's patches are applied, Alice's builds pick up wombat
 automatically, and osstest knows how to specify and record the
 version of wombat to use whenever necessary.  Bob's build of 4.5
 is unaffected.

Ian.

  parent reply	other threads:[~2015-04-16 11:15 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-15 15:14 [PATCH 0/9] raisin: introduce qemu and qemu-traditional Stefano Stabellini
2015-04-15 15:14 ` [PATCH 1/9] raisin: do not clean before build Stefano Stabellini
2015-04-15 15:26   ` George Dunlap
2015-04-15 15:14 ` [PATCH 2/9] raisin: use timestamps for dpkg Version to avoid versions that start with letters Stefano Stabellini
2015-04-15 15:34   ` Olaf Hering
2015-04-15 15:40     ` Stefano Stabellini
2015-04-15 15:14 ` [PATCH 3/9] raisin: add QEMU upstream component Stefano Stabellini
2015-04-15 19:05   ` Julien Grall
2015-04-16  9:51     ` Stefano Stabellini
2015-04-16  9:54       ` George Dunlap
2015-04-16 10:29         ` Stefano Stabellini
2015-04-16 10:49         ` Julien Grall
2015-04-15 15:14 ` [PATCH 4/9] raisin: add a component to build qemu_traditional Stefano Stabellini
2015-04-15 15:26   ` Andrew Cooper
2015-04-15 15:44     ` Stefano Stabellini
2015-04-15 15:49       ` Andrew Cooper
2015-04-15 15:51         ` George Dunlap
2015-04-15 15:58         ` Ian Campbell
2015-04-15 16:11           ` Stefano Stabellini
2015-04-15 16:15             ` Ian Jackson
2015-04-15 16:26               ` Ian Campbell
2015-04-15 17:41                 ` Stefano Stabellini
2015-04-16  8:45                   ` Ian Campbell
2015-04-16  9:54                     ` Stefano Stabellini
2015-04-16 10:10                       ` Ian Campbell
2015-04-16 10:25                         ` Stefano Stabellini
2015-04-16 10:39                           ` George Dunlap
2015-04-16 10:48                             ` Ian Campbell
2015-04-16 10:55                               ` Stefano Stabellini
2015-04-16 10:59                                 ` George Dunlap
2015-04-16 11:15                           ` Ian Jackson [this message]
2015-04-15 16:21             ` George Dunlap
2015-04-15 17:42               ` Stefano Stabellini
2015-04-16  8:47                 ` Ian Campbell
2015-04-16  9:53                   ` Stefano Stabellini
2015-04-16 10:09                     ` Ian Campbell
2015-04-15 16:24             ` Ian Campbell
2015-04-16 16:03     ` Stefano Stabellini
2015-04-17  8:41       ` Ian Campbell
2015-04-15 15:14 ` [PATCH 5/9] raisin: remove UPSTREAM_ for URL and REVISION variables Stefano Stabellini
2015-04-15 15:14 ` [PATCH 6/9] raisin: add some debugging output for VERBOSE=1 Stefano Stabellini
2015-04-15 15:14 ` [PATCH 7/9] raisin: remove unneeded chmod +x xencommons xendomains xen-watchdog Stefano Stabellini
2015-04-15 15:31   ` George Dunlap
2015-04-15 15:14 ` [PATCH 8/9] raisin: rename MAKE to RAISIN_MAKE Stefano Stabellini
2015-04-15 15:15 ` [PATCH 9/9] raisin: add $INST_DIR/usr/lib64 to LDFLAGS for QEMU and Libvirt Stefano Stabellini
2015-04-15 15:42   ` George Dunlap
2015-04-15 15:43 ` [PATCH 0/9] raisin: introduce qemu and qemu-traditional George Dunlap
2015-04-15 15:57   ` Stefano Stabellini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=21807.39368.850533.692733@mariner.uk.xensource.com \
    --to=ian.jackson@eu.citrix.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=george.dunlap@eu.citrix.com \
    --cc=ian.campbell@citrix.com \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.