public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alec Warner <antarus@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Re: Requiring two sets of eyes for all eclass  commits
Date: Sun, 25 Apr 2010 05:01:17 -0700	[thread overview]
Message-ID: <z2mb41005391004250501of6467a7fh2428293bdc17f0de@mail.gmail.com> (raw)
In-Reply-To: <20100425053625.6a72ee87@gentoo.org>

On Sun, Apr 25, 2010 at 4:36 AM, Ryan Hill <dirtyepic@gentoo.org> wrote:
> On Sun, 25 Apr 2010 13:11:11 +0300
> Petteri Räty <betelgeuse@gentoo.org> wrote:
>
>> On 04/25/2010 01:06 PM, Ryan Hill wrote:
>
>> > I think it's a good idea to strongly encourage it, but actually forcing it
>> > through cvs?  No thanks.  I'm not tracking down another dev just to fix a
>> > spelling mistake. :P
>>
>> How did the spelling mistake get there in the first place? A review
>> system should reduce having them in the first place.
>
> People make mistakes.  Anyways my point is that requiring a peer review for
> trivial changes is just unneeded bureaucracy.  Even for non-trivial changes,
> it doesn't make sense to force someone who knows their eclass inside out and
> knows what they're doing to get a review from someone else who may not have a
> clue.  I'm not saying that peer-review shouldn't be done; it's a very good
> idea, especially if you're new, or unsure of your changes, or you have a team
> consisting of more than one person.  In fact I would support a policy that
> said eclasses need to be reviewed before committing.  But enforcing it through
> cvs is never going to fly.  Just use common sense.

Sure it will; you just need to create the tools with flexibility in
mind.  For instance:

1) Require peer review on all eclasses
2) Do not require peer review for changes less than N lines
3) enable a commiter to over-ride the review with some kind of option
(--force or similar)
4) enable an eclass-owner to opt-out of the review process entirely
with some kind of flag.

I am not aware of how robust the pre-commit hooks in cvs are so I
cannot comment on how easy these things are to implement.

-A

>
> If we were having ongoing issues with people breaking eclasses then I could
> see where you're coming from.  But as it is, it's a non-problem.
>
>
> --
> fonts,                                            by design, by neglect
> gcc-porting,                              for a fact or just for effect
> wxwidgets @ gentoo     EFFD 380E 047A 4B51 D2BD C64F 8AA8 8346 F9A4 0662
>



  reply	other threads:[~2010-04-25 12:01 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-24 17:40 [gentoo-dev] Requiring two sets of eyes for all eclass commits Petteri Räty
2010-04-24 18:10 ` Arun Raghavan
2010-04-24 18:14 ` Alexis Ballier
2010-04-25 10:14   ` Petteri Räty
2010-04-25 22:42     ` Alistair Bush
2010-04-25 13:10       ` Petteri Räty
2010-04-25 15:22         ` Jorge Manuel B. S. Vicetto
2010-04-26 17:58       ` Steev Klimaszewski
2010-04-25 10:06 ` [gentoo-dev] " Ryan Hill
2010-04-25 10:11   ` Petteri Räty
2010-04-25 11:36     ` Ryan Hill
2010-04-25 12:01       ` Alec Warner [this message]
2010-04-25 21:06         ` Ryan Hill
2010-04-25 12:04       ` Richard Freeman
2010-04-26 16:19     ` Paul Varner
2010-04-25 10:54 ` [gentoo-dev] " Roy Bamford
2010-04-27 19:11 ` Rémi Cardona

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=z2mb41005391004250501of6467a7fh2428293bdc17f0de@mail.gmail.com \
    --to=antarus@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /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