public inbox for gentoo-project@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-project] [RFC] GURU v2, now with reviewed layer
@ 2019-02-04 17:38 Michał Górny
  2019-02-04 17:45 ` Kristian Fiskerstrand
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Michał Górny @ 2019-02-04 17:38 UTC (permalink / raw
  To: gentoo-project

[-- Attachment #1: Type: text/plain, Size: 2031 bytes --]

Hello,

After some initial discussion on the GURU user repository, I'd like to
start bike... I mean, brainstorming v2 of the idea.  This time it's more
like Sunrise but with some automation in mind.

Let's go with two layers like Sunrise -- one private working branch,
and another public that's exposed to users.  Commits are merged from
private to public after some kind of review.  I suppose to avoid
depgraph misshots etc. we'd want to move commits incrementally, i.e.
public is only doing fast-forward merges from dev.

Now, reviews are normally done on commit ranges; by default, from
current state of public to current state of dev.  When such a range is
reviewed, every commit belonging to it gains reputation.  When a range
of commits gets reputation of 3, it is merged to public.

Reviews can be done by devs or privileges users.  Review by dev gives 3
rep points, and by privileged user gives 1 rep point.  Therefore,
a commit is merged if it's either reviewed by dev or 3 privileged users.
 

Users gain reviewing privilege also via reputation points.  If a commit
range including user's commit gets merged to master, user gets 1 rep
point (independently of number of commits in the range).  When user gets
5 rep points, he can start reviewing stuff.

Finally, besides positive approval we have option of flagging.  You can
flag commits, e.g. for malicious code, vandalism, etc.  If a commit is
flagged, merging it is blocked until a dev resolves the flag. 
Furthermore, devs can issue bans to users responsible for the bad stuff.

That's my idea, roughly.  The main points are:

- stuff is reviewed before publishing to users,

- people are encouraged to review stuff, as previous unreviewed commits
are going to block their own,

- initially reviews are done by devs but as users gain reputation, they
start being able to review ebuilds committed by others,

- flagging gives extra protection against mistakes.

Your updated thoughts?

-- 
Best regards,
Michał Górny

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 963 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2019-02-05 21:44 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-04 17:38 [gentoo-project] [RFC] GURU v2, now with reviewed layer Michał Górny
2019-02-04 17:45 ` Kristian Fiskerstrand
2019-02-04 17:47 ` Michał Górny
2019-02-04 18:14 ` Joonas Niilola
2019-02-04 18:38   ` Rich Freeman
2019-02-04 18:47   ` Michał Górny
2019-02-04 19:00 ` Alec Warner
2019-02-04 19:03   ` Michał Górny
2019-02-04 19:52     ` Alec Warner
2019-02-04 20:09       ` Michał Górny
2019-02-05 16:41 ` Andrew Savchenko
2019-02-05 18:06   ` Ian Stakenvicius
2019-02-05 21:43     ` Andrew Savchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox