public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Rich Freeman <rich0@gentoo.org>
To: gentoo-dev <gentoo-dev@lists.gentoo.org>
Subject: Re: [gentoo-dev] stabilization commits and atomicity
Date: Mon, 19 Oct 2015 13:08:46 -0400	[thread overview]
Message-ID: <CAGfcS_nFYEum5HR9DJB=Hv5Hb8tpDFV=8zXBfiGLOrDB3OwTig@mail.gmail.com> (raw)
In-Reply-To: <56250BFC.7070705@gentoo.org>

On Mon, Oct 19, 2015 at 11:27 AM, Ian Stakenvicius <axs@gentoo.org> wrote:
>
> Ahh, so what you're referring to here is stabilization of multiple
> unrelated packages in a single commit..  ok..  i'm not so
> comfortable with that idea..

Nor am I.  A commit should be a set of related changes.  Stabilizing
all of KDE-n in one commit makes a lot of sense.  Stabilizing 5 random
packages in one commit doesn't make sense.  By all means push them all
at once, but don't commit them all at once.  It isn't like we have to
pay for each commit.

I also don't have a problem with fixing multiple bugs in one commit.
In an ideal world you'd do that on a branch and then do a merge, and I
don't have a problem with that either, but I get that we tend to not
work that way.  If you want every commit to stand on its own and
you're porting to a new EAPI and fixing 3 bugs at the same time, I
don't expect maintainers to rewrite their bugs into the new code to
port it to the new EAPI, then fix each bug in turn.

> BUT, nothing stopped us from doing this
> with CVS (although the mapping of commit between CVS and GIT aren't
> exactly 1:1), so i guess it's fine..?

In cvs all commits were at the file level, even if you happened to
create more than one as a single operation.  If you did one commit
that touched 100 ebuilds, you were actually doing 100 commits, and
there is nothing that really ties those 100 commits together and by
the time it gets to rsync you might only get 50 of them if the timing
is right.

So, this actually is a new problem, or rather benefit.

>
> What about simply keeping things as they are but not strictly
> enforcing them when they are used in a manner like this for special
> cases, such as ago's stabilizations or other security@ or arch team
> keyword-related commits?
>

I don't think we're strictly enforcing anything now but I could be
wrong.  I think we should have guidelines that recommend best
practices and try to stick to them.  If there is a really good reason
to do things differently, that is why we call them "guidelines."

-- 
Rich


  reply	other threads:[~2015-10-19 17:08 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-19 11:21 [gentoo-dev] stabilization commits and atomicity hasufell
2015-10-19 11:55 ` Dirkjan Ochtman
2015-10-19 12:21   ` Rich Freeman
2015-10-19 14:37     ` Ian Stakenvicius
2015-10-19 15:04       ` hasufell
2015-10-19 15:10         ` Matthew Thode
2015-10-19 15:27         ` Ian Stakenvicius
2015-10-19 17:08           ` Rich Freeman [this message]
2015-10-19 17:13             ` hasufell
2015-10-19 17:37               ` Rich Freeman
2015-10-19 17:40                 ` hasufell
2015-10-19 17:52                   ` Rich Freeman
2015-10-19 17:55                     ` hasufell
2015-10-19 19:52                       ` Rich Freeman
2015-10-20 22:25                     ` [gentoo-dev] " Duncan
2015-10-20 23:16               ` Duncan

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='CAGfcS_nFYEum5HR9DJB=Hv5Hb8tpDFV=8zXBfiGLOrDB3OwTig@mail.gmail.com' \
    --to=rich0@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