Re: Wanted: Volunteer to code a Patchbot

Rasmus Andersen
2002-01-30T15:11:36Z

On Wed, Jan 30, 2002 at 02:28:04PM +0100, Daniel Phillips wrote:
> Wanted: a scripting person who has a clue about MTAs and wants to
> contribute to the kernel. Please step up to the table over here
> and sign in blood, then we will tell you what your mission is.
> Nobody will thank you for any of the work you do or reward you in
> any way, except for the right to bask in the glory and fame of
> being the one who ended the patchbot wars. And maybe, just maybe
> get that coveted Slashdot interview.
>
> OK. that's it, if somebody bites I'll gladly participate in a design thread,
> otherwise I think this is just going to sleep until the next bi-monthly
> patchbot flameup.

I'll bite. I was noodling with this in the background already, so
I have some thoughts at home which I'll be happy to write up and
send to the list. Other people, notably John Weber (linuxhq)
and Patrick Mochel(? odsl) stated that they were working on
something too. As I dont do this for a living (dont mean to
imply that they are), I wouldn't want to want to be in the
way for the big boys :)

If I understand correctly, the bot would, in its basic incarnation,
accept patches (at patchbot@somewhere), stamp them with an uid,
and forward them to various places, e.g., lists, maintainers etc
and let the sumbitter know the patch uid. A mailing list archive
would then be the patch store. Basic filtering could be done by
the bot to reject non-patches etc.

The bot could also:
* Annotate patches with files touched.
* Try to apply patches and take action based on succces failure.
* Try to compile the resulting tree (based on a submitted .config)
and take action based on the results.
* Store submissions locally and do the steps above for new
kernel revisions, resubmtting them if appropriate.

Yes, the compile step kinda made the HW requirements go through
the roof.

I have some code already to handle some of this but typically,
I started at the wrong end and did the patch/compile stuff
first :) Ah, BTW, that is in python. I dont see a problem
with that.

Please comment but I may be offline till later this evening.

Regards,
Rasmus

PS: Daniel have made me aware of another volunteer, Kalle
Kivimaa. I have added him to the list and could obviously
work with him.