all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Cyril Roelandt <tipecaml@gmail.com>
To: Mathieu Lirzin <mthl@gnu.org>, Nils Gillmann <niasterisk@grrlz.net>
Cc: guix-devel@gnu.org
Subject: Re: [REQ/DISCUSSION] patch managing system
Date: Wed, 30 Mar 2016 22:52:15 +0200	[thread overview]
Message-ID: <56FC3C7F.5010200@gmail.com> (raw)
In-Reply-To: <87wpoval25.fsf@gnu.org>

On 03/21/2016 04:48 PM, Mathieu Lirzin wrote:
> To automate the repetitive tasks, Cyril Roelandt had started sometimes
> ago to work on a bot that was continuously applying and building
> incoming patches on top of master and report (by email) if things were
> building correctly.  I think that is a good idea that could be extended
> by providing a way to send commands to the bot like what is done for
> Debbugs.

Yeah, it was a fun experiment. The main issue is that reading mail is
harder than it looks. People attach patches to their mails, they send
them using git-send-email, they attach the output of "git format-patch"
to a regular mail, they have weird encodings, etc. That means there are
lots of cases to tests, and lots of potential bugs. If the "patches"
tool from QEMU does that well already, I'd be in favor of not recoding it :)

That being said, something we really need is a tool that helps us handle
trivial update patches (basically, patches that just update the version
and the hash of a given package). It should apply the patch and run a
script like this one:

$ cat check-update.sh
make || exit 1
for pkg in $(./pre-inst-env guix refresh -l $1 | sed 's/.*: //')
do
        echo "[+] Rebuilding $pkg"
        ./pre-inst-env guix build $pkg
        if [ "$?" -ne "0" ]; then
                echo "[+] Rebuilding $pkg: KO"
                exit 1
        else
                echo "[+] Rebuilding $pkg: OK"
        fi
done

I think we could have a mailing-list dedicated to these trivial update
patches. I'd also be in favor of splitting the mailing-list into many
smaller ones, such as:
- core;
- packages;
- trivial updates.

WDYT?

Cyril.

  parent reply	other threads:[~2016-03-30 20:52 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-20 22:35 [REQ/DISCUSSION] patch managing system Nils Gillmann
2016-03-21 13:58 ` Nils Gillmann
2016-03-21 14:15   ` Ricardo Wurmus
2016-03-21 14:34     ` Nils Gillmann
2016-03-21 15:10       ` Nils Gillmann
2016-03-21 16:43     ` Ludovic Courtès
2016-03-22 11:53       ` Nils Gillmann
2016-03-22 16:26         ` Ludovic Courtès
2016-03-23  4:44           ` Chris Marusich
2016-03-23  7:41             ` Ricardo Wurmus
2016-03-23  8:15               ` Chris Marusich
2016-03-23  8:57                 ` Andy Wingo
2016-03-23  8:36               ` Alex Kost
2016-03-23  8:54                 ` Chris Marusich
2016-03-23 22:24                 ` Ludovic Courtès
2016-03-24  8:53                   ` Alex Kost
2016-03-23 16:02             ` Leo Famulari
2016-04-16 11:13       ` Ludovic Courtès
2016-04-28  8:24         ` Patch tracking Ludovic Courtès
2016-04-28 11:30           ` Ben Woodcroft
2016-04-28 12:17             ` Ludovic Courtès
2016-05-02  8:25               ` Ricardo Wurmus
2016-03-21 15:48   ` [REQ/DISCUSSION] patch managing system Mathieu Lirzin
2016-03-21 16:08     ` Mathieu Lirzin
2016-03-30 20:52     ` Cyril Roelandt [this message]
2016-03-31  6:39       ` Efraim Flashner
2016-03-31  7:53       ` Ludovic Courtès

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=56FC3C7F.5010200@gmail.com \
    --to=tipecaml@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=mthl@gnu.org \
    --cc=niasterisk@grrlz.net \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

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.