public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: grumph@pakistanmail.com
To: linux-kernel@vger.kernel.org
Cc: torvalds@transmeta.com, hpa@zytor.com
Subject: Re: Wanted: Volunteer to code a Patchbot
Date: Wed, 30 Jan 2002 18:14:45 +0100	[thread overview]
Message-ID: <3c580bfc.3fe1.0@pakistanmail.com> (raw)


What can a patchbot be trusted to do properly?  (see below)
---------------------------------------------------
Linus got his style of working and he's got no intention whatsoever to
change that. So what is needed is a bot that works according to Linus' 
taste, but goes behind his back when it comes to informing the poor 
patch submitters....

As always, simplicity rules. 

None of this relies on a bot handling actual patching of code in the
tree. A live, human (most of you, I assume) being will have to review
and manually apply the patch.

None of this requires Linus to change his habits, he could still apply
any patches sent to torvalds@transmeta. Trusted people could still send
Linus patches directly.

But the newbies and untrusted guys without an established relationship to
a trusted kernel developer get a little help to keep their patch updated. 

It is not going to help on bad person chemistry or bad code. But it
could weed out the obvious non-starters and help people get it right,
without bothering busy kernel developers.


What can a patchbot be trusted to do properly?
---------------------------------------------------
- receive mail sent to: patch-2.5-linus@kernel or patch-2.4-marcelo@kernel
 (you get the idea; version and tree)
- patch-id assignment for tracking of patches accepted by bot
- sender authentication/confirmation, as for mailing list subscriptions
- verify that patch 
	- applies to latest tree
	- isn't oversized (by some definition)
	- is correctly formatted
	- contains a rationale (in some predefined format)
- route patch to correct maintainer(s), based on the files it touches
	(may require some initial work)
- inform sender that patch was forwarded to <maintainer>
- inform sender that patch was automatically rejected because it:
	- does not apply to latest tree
	- is too big/touches too many files
	- does not contain aforementioned rationale
	- isn't formatted according to CodingStyle (Does current code?)
- inform sender that patch did not end up in next snap of tree, 
	possibly because of:
	- conflict with other patch
	- a human didn't like the taste of it (-EBADTASTE)
	- maintainer has not reviewed the patch yet
	(use the above assigned patch-id to detect if patch was applied)
- ask sender to rediff, review and resubmit patch 
  The bot could do this by itself. But it isn't linus-style.
  The sender should maintain his own patch.
- inform the sender how to kill a patch-id from being processed	
- automatically kill patch-ids from being processed if sender does not 
  respond within <time> after response from bot.
- automatically kill patch-ids from being processed if patch gets applied in

  next snapshot
- killfile abusers (needs policy)
- publish patches on kernel.org and linux-kernel as they pass initial
  filtering
----------------------------------------------------------

Questions:
Will Linus immediately killfile mail sent from this bot?
Will hpa host it at kernel.org?
Will someone write the code if it gets thumbs up from linus/hpa?
Is it going to make a difference?

_______________________________________________________________________
Get your free @pakistanmail.com email address   http://pakistanmail.com

             reply	other threads:[~2002-01-30 16:19 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-30 17:14 grumph [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-01-30 17:14 Wanted: Volunteer to code a Patchbot grumph
2002-01-30 17:14 grumph
2002-01-30 17:14 grumph
2002-01-30 17:14 grumph
2002-01-30 17:14 grumph
2002-01-30 17:14 grumph
2002-01-30 17:14 grumph
2002-01-30 17:14 grumph
2002-01-30 17:14 grumph
2002-01-30 17:09 grumph
2002-01-30 17:09 grumph
2002-01-30 17:09 grumph
2002-01-30 17:09 grumph
2002-01-30 17:17 ` Daniel Phillips
2002-01-30 20:29   ` Rasmus Andersen
2002-01-31  0:41     ` Daniel Phillips
2002-01-30 19:56 ` Russell King
2002-01-31  3:09   ` Daniel Phillips
2002-01-30 17:09 grumph
2002-01-30 17:09 grumph
2002-01-30 17:09 grumph
2002-01-30 17:09 grumph
2002-01-30 17:09 grumph
2002-01-30 17:09 grumph
     [not found] <fa.fphumav.16hiibk@ifi.uio.no>
     [not found] ` <fa.hqfds1v.jh2i3d@ifi.uio.no>
2002-01-30 15:32   ` Giacomo Catenazzi
2002-01-30 12:39 A modest proposal -- We need a patch penguin Roman Zippel
2002-01-30 13:28 ` Wanted: Volunteer to code a Patchbot Daniel Phillips
2002-01-30 15:11   ` Rasmus Andersen
2002-01-30 15:28     ` Rasmus Andersen
2002-01-30 15:46       ` Daniel Phillips
2002-01-31  0:49       ` Stuart Young
2002-01-31  1:26         ` Daniel Phillips
2002-01-31  1:39         ` Stuart Young
2002-01-31 13:51         ` Rik van Riel
2002-01-31 15:29           ` Patrick Mauritz
2002-01-31 16:31             ` Jan Harkes
2002-01-31 22:05         ` Horst von Brand
2002-02-01  8:05           ` Daniel Phillips
2002-02-01  1:03         ` Stuart Young
2002-01-30 13:45 ` Daniel Phillips
2002-01-30 13:45   ` Tim Waugh
2002-01-30 17:46   ` Patrick Mochel
2002-01-30 18:33     ` Daniel Phillips
2002-02-03 18:54       ` Peter C. Norton
2002-02-03 23:40         ` Daniel Phillips

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=3c580bfc.3fe1.0@pakistanmail.com \
    --to=grumph@pakistanmail.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox