unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Philip McGrath <philip@philipmcgrath.com>
To: Attila Lendvai <attila@lendvai.name>,
	Ricardo Wurmus <rekado@elephly.net>
Cc: Saku Laesvuori <saku@laesvuori.fi>,
	Liliana Marie Prikler <liliana.prikler@gmail.com>,
	guix-devel@gnu.org
Subject: Re: Should commits rather be buildable or small
Date: Sun, 10 Dec 2023 18:56:19 -0500	[thread overview]
Message-ID: <f8d3e60b-c9b3-4d0a-b86d-2727bf823335@philipmcgrath.com> (raw)
In-Reply-To: <SXjFmdTgxwHYE-Z6t7SZOykuXMBiD454EF2uad96jGQemgJ6hXki_f1C7VxVHKHa4b7_j5UwJmffh_FiQqEz_bIYIBn9tpG4s9F7W1eIDAQ=@lendvai.name>

On 12/10/23 18:20, Attila Lendvai wrote:
>>> FWIW, this commit policy has always bothered me as a newcomer to
>>> Guix. pretty much everywhere else it's a major offence against your
>>> colleagues to commit something that breaks the build in any way.
>>
>>
>> In the last few months I’ve repeatedly seen assertions in a similar
>> style as this one. They always genuinely surprise me, and it’s probably
>> not just because I’m oblivious and out of touch.
> 
> 
> well, both point of views are reasonable. they just make different tradeoffs.
> 

I find it hard to see any benefit to anyone from making commits so small 
that they are known to break things that will be fixed later in the same 
series. Even aside from `guix time-machine`, substitute building, and 
the like, a human reading the diff won't be able to see what the true 
impact of the change is.

On the concrete issue:


On 12/10/23 10:28, Saku Laesvuori wrote:
 >> However, in each commit at least the package touched in that
 >> commit ought to build.
 > This should, of course, be theoretically possible with at least one
 > update order but I don't know how would I discover that order (more
 > efficiently than by trial and error. I don't want to try ~800² different
 > combinations).

Preparing a large set of updates like this is already a great deal of 
work. It does not seem to me like a good use of volunteers' time to ask 
them to break such an update into hundreds of tiny pieces, especially 
not if the result is hundreds of broken commits to Guix.

Philip


  reply	other threads:[~2023-12-10 23:57 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-08  8:42 Should commits rather be buildable or small Saku Laesvuori
2023-12-08 11:41 ` Tomas Volf
2023-12-08 12:05 ` Lars-Dominik Braun
2023-12-08 16:35   ` Felix Lechner via Development of GNU Guix and the GNU System distribution.
2023-12-08 15:44 ` Liliana Marie Prikler
2023-12-10 15:28   ` Saku Laesvuori
2023-12-10 15:50     ` Liliana Marie Prikler
2023-12-10 17:02     ` Attila Lendvai
2023-12-10 17:50       ` Ricardo Wurmus
2023-12-10 23:20         ` Attila Lendvai
2023-12-10 23:56           ` Philip McGrath [this message]
2023-12-11 10:51             ` Attila Lendvai
2023-12-11 11:51               ` Ricardo Wurmus
2024-03-04 21:38                 ` John Kehayias
2024-03-05  4:32                   ` dan
2024-03-05  5:19                   ` Liliana Marie Prikler
2024-03-25  1:15                     ` John Kehayias
2024-03-25  3:23                       ` dan
2024-03-25  3:23                         ` [bug#69461] " dan

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f8d3e60b-c9b3-4d0a-b86d-2727bf823335@philipmcgrath.com \
    --to=philip@philipmcgrath.com \
    --cc=attila@lendvai.name \
    --cc=guix-devel@gnu.org \
    --cc=liliana.prikler@gmail.com \
    --cc=rekado@elephly.net \
    --cc=saku@laesvuori.fi \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).