public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Notes from the U-Boot BOF Meeting in Geneva 2012/07/12
Date: Mon, 23 Jul 2012 03:47:31 +0200	[thread overview]
Message-ID: <201207230347.31993.marex@denx.de> (raw)
In-Reply-To: <CALButCJ7CG+H-8rOBBiXSdb8_BS13oucgF8QGN53+M0sBrWRCw@mail.gmail.com>

Dear Graeme Russ,

> Hi Marek,
> 
> On Sun, Jul 22, 2012 at 12:46 AM, Marek Vasut <marex@denx.de> wrote:
> > Dear Graeme Russ,
> > 
> >> Patchwork is GPL'd and, in my personal opinion, gets fairly close to
> >> what we might need. Maybe we could take Patchwork and modify it to suit
> >> our needs?
> > 
> > Maybe ... where're the sources?
> 
> git clone git://ozlabs.org/home/jk/git/patchwork

Yep, found it recently ... I can't do python and I don't have the capacity to 
learn it now, any volunteers?

> >> OK, so we already have a fair number of in-house tools that have been
> >> developed to get the job done. We have checkpatch.pl, patman, buildman
> >> (in development), and Marek's build framework. Why don't we look at
> >> integrating
> >> 
> >> these - A modified Patchwork could:
> >>  - Automatically run checkpatch and test if the patch applies
> > 
> > But based on tags in the email header, so it'd know against which tree.
> > This is doable, yes!
> > 
> >>  - Notify the build framework to trigger a build-test
> > 
> > Which might schedule vast MAKEALL across all arches, effectivelly
> > clogging it very soon.
> 
> Yes, I know. Hmmm, maybe if every 24 hours the auto build infrastructure:
>  - Runs a MAKEALL on the mainline repo (if any patches have been committed)

Certainly ... it takes 16 hours to do so on my dedicated machine though (more 
now, since I started building sparc too ;-D ). But WD has some pretty badass 
machines that can do it really quick :-)

>  - Runs a MAKEALL after applying all patches meeting pre-determined
>    conditions. For example:
>     - All patches passing the automated 'checkpatch'
>     - All patches which have been ack'd or tested

Or simply build it again and again, with patches that passed checkpatch applied 
and do one big build of the main repo every 24 hours if patches were added.

And if the patches passed compile-testing, we can mark them somehow.

>     - All patches applied to sub-repo's (i.e. do a git-pull of each
> sub-repo) - If the mainline MAKEALL is clean but the 'patched' MAKEALL is
> not, use git bisect to identify the first patch that breaks the build

Hm yea ... serverfarm needed here. Badass machines and badass cluster is a 
difference ;-)

> >>  - Apply patches to repo's when the maintainer sends an 'Accepted-by:'
> >>  to
> >>  
> >>    the mailing list
> > 
> > Such email can be forged!
> > 
> >>  - Re-run apply and build tests when a maintainer issues a pull request
> > 
> > You mean when maintainer clicks "Submit pull RQ of this branch" ... then
> > it's rebuild it and only after it passes submit the pullrq?
> 
> Yes - But see above. If the build infrastructure is building with all the
> repos applied we will get instant feedback that a repo is out-of-step with
> mainline rather than waiting for Wolfgang to pull.

Uh, I think my english decoder got clogged somewhere in here ... can you 
ignore/abort/retry please ? ;-)

> >>  - Re-run the apply and build tests on all 'staged' patches when patches
> >>  
> >>    are committed or branches are merged
> > 
> > Um, what do you mean here?
> 
> Well, we effectively have:
>  a) Mainline
>  b) Mainline + patches applied to repos
>  c) Mainline + patched applied to repos + unapplied ack'd patches
>  c) Mainline + patched applied to repos + unapplied ack'd patches + unack'd
>     patches
> 
> My thought would be to build test a, b and c every 24 hours and if c passes
> MAKEALL, do a git apply test on the oustanding patches (and maybe a
> MAKEALL)

You have c) twice in there (nit :) ). Still, we'd need a pretty badass 
buildsetup for that, right? But indeed, such an algo sounds nice.

> Regards,
> 
> Graeme

Best regards,
Marek Vasut

  reply	other threads:[~2012-07-23  1:47 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-16 21:30 [U-Boot] Notes from the U-Boot BOF Meeting in Geneva 2012/07/12 Detlev Zundel
2012-07-16 23:11 ` Graeme Russ
2012-07-17 10:37   ` Stefan Roese
2012-07-17 12:10     ` Graeme Russ
2012-07-17 12:15       ` Graeme Russ
2012-07-18  7:21       ` Wolfgang Denk
2012-07-18 23:37         ` Graeme Russ
2012-07-21 14:46           ` Marek Vasut
2012-07-23  1:33             ` Graeme Russ
2012-07-23  1:47               ` Marek Vasut [this message]
2012-07-23  2:07                 ` Graeme Russ
2012-07-23  2:13                   ` Marek Vasut
2012-07-23  7:43                     ` Andy Pont
2012-07-23  6:27                   ` Wolfgang Denk
2012-07-23  6:20                 ` Wolfgang Denk
2012-07-23 21:16                   ` Tom Rini
2012-07-23 22:15                     ` Marek Vasut
     [not found]                       ` <500DD2FA.4060800@boundarydevices.com>
2012-07-23 23:06                         ` Marek Vasut
2012-07-23 23:37                           ` Eric Nelson
2012-07-23  6:16               ` Wolfgang Denk
2012-07-25 19:47                 ` Tom Rini
2012-07-27 14:17                   ` Marek Vasut
2012-07-20 22:51         ` Tom Rini
2012-07-21  1:27           ` Marek Vasut
2012-07-21  4:28             ` Graeme Russ
2012-07-23 16:49               ` Tom Rini
2012-07-23 16:44             ` Tom Rini
2012-07-23 17:17               ` Marek Vasut
2012-07-23 17:28                 ` Tom Rini
2012-07-23 18:11                   ` Marek Vasut
2012-07-23 19:09                     ` Tom Rini
2012-07-23 22:16                       ` Marek Vasut
2012-07-18  7:41   ` Wolfgang Denk
2012-07-20  3:57     ` Mike Frysinger
2012-07-21 14:40     ` Marek Vasut
2012-07-23 20:53       ` Tom Rini
2012-07-23 22:14         ` Marek Vasut
2012-07-20 16:36 ` Kim Phillips
2012-07-20 21:09   ` Marek Vasut
2012-07-20 21:34     ` Graeme Russ
2012-07-20 21:40       ` Scott Wood
2012-07-20 22:04         ` Graeme Russ
2012-07-21 14:41           ` Marek Vasut
2013-02-18  6:55       ` Simon Glass
2013-02-18  9:59         ` Wolfgang Denk
2013-02-18 10:40           ` Graeme Russ
2013-02-18 12:39             ` Marek Vasut

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=201207230347.31993.marex@denx.de \
    --to=marex@denx.de \
    --cc=u-boot@lists.denx.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox