Gentoo Archives: gentoo-dev

From: Rich Freeman <rich0@g.o>
To: gentoo-dev <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] [RFC pre-GLEP] Gentoo Git Workflow
Date: Tue, 25 Jul 2017 22:46:53
Message-Id: CAGfcS_mpL=wcGgxOjbK8=PAK_LvuFm7KhNxSM-UVkw+cdTdB2A@mail.gmail.com
In Reply to: Re: [gentoo-dev] [RFC pre-GLEP] Gentoo Git Workflow by "Michał Górny"
1 On Tue, Jul 25, 2017 at 6:30 PM, Michał Górny <mgorny@g.o> wrote:
2 > On wto, 2017-07-25 at 18:26 -0400, Rich Freeman wrote:
3 >> On Tue, Jul 25, 2017 at 4:29 PM, Mike Gilbert <floppym@g.o> wrote:
4 >> > On Tue, Jul 25, 2017 at 12:12 PM, Michael Orlitzky <mjo@g.o> wrote:
5 >> > > On 07/25/2017 09:23 AM, Michał Górny wrote:
6 >> > > >
7 >> > > > How is that relevant? Revision bumps are merely a tool to encourage
8 >> > > > 'automatic' rebuilds of packages during @world upgrade. I can't think of
9 >> > > > a single use case where somebody would actually think it sane to
10 >> > > > checkout one commit after another, and run @world upgrade in the middle
11 >> > > > of it.
12 >> > > >
13 >> > >
14 >> > > Revisions are to indicate that one incarnation of a package differs from
15 >> > > another in a way that the user or package manager might care about. And
16 >> > > on principal, it's no business of yours what people want to do with
17 >> > > their tree. If someone wants to check out successive commits and emerge
18 >> > > @world, he's within his rights to do so.
19 >> >
20 >> > I don't feel I should be obligated by policy to support this use case.
21 >> > One revbump per push seems sufficiently safe for 99.9% of users.
22 >> >
23 >> > If you want to do more revbumps, you are free to do so.
24 >> >
25 >>
26 >> What is the point of separating changes by commits if we don't
27 >> generally try to keep each commit working?
28 >>
29 >> Sure, there are some cases where it is just going to be too painful to
30 >> ensure that, and so it doesn't have to be an absolute rule.
31 >>
32 >> However, if somebody is checking out a tree at some point in the past
33 >> they shouldn't have to try to figure out where the last push boundary
34 >> was to ensure that it is sane. Use cases for that include updating
35 >> older systems progressively, or bisecting a problem.
36 >
37 > Guys, please cut this FUD.
38 >
39 > Nothing is broken if you don't revbump. The only thing that doesn't
40 > happen is that the PM isn't obliged to suggest user to upgrade.
41 >
42
43 I wasn't referring to revbumps. Just to ensuring that all commits
44 generally work even if they aren't pushed.
45
46 --
47 Rich

Replies

Subject Author
Re: [gentoo-dev] [RFC pre-GLEP] Gentoo Git Workflow "Michał Górny" <mgorny@g.o>