From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id CF544386F427 for ; Tue, 7 May 2024 16:17:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CF544386F427 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org CF544386F427 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715098656; cv=none; b=tvjGujHDN6KTCVQtUzjvkF5J8C5L7V02SJYeFFMvrOuogvZk95lG7/TC+cQdr1GtDzOFfKzAH25Q1I5QFHo9AWK5fvF1eZ6SQNIJEC2/gCgGuq4dughRYFSzpW0eHDkXT/M/vQWpTvJgwXmN9ij+MLVZPJjwEY5dZ9dHYjLwoqU= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715098656; c=relaxed/simple; bh=9/GFdbndgPRrqngLX72XH6qf0nMvxK3wCyfGgXjVY4I=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=DoFTFJrnLZzMu5ZeoIzlbmUNJYaG+dtJLlXPw6dT1yNS3KtYphkR8BveldjO2VP8Uqq/Hh/lkHukC/j54ErmSG6ovzwjVddj2q/4sb/QOWaIfTSCdZQROwx5fFtGGuZP/7MjwXsWDXylqkLDu9HBwaLjiU1ph7uc4vIWRPLJhGU= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1715098651; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ryW0/kQHaBWmbT3bXa3ZvRNJiKz8cLxg0s+gOmsVsRc=; b=MgBKtHTT9scodenBbLj05qzDmF7T8rmZw/ZKX8t2dlp53aj0bM4Q1KuV7HxgM0TEo6jRZR Kme0Y7njP9AUO975Cj/xhhmA51kMHeLep08GGHFvuxqMGrJHLIjpi5OijZ9wM+Lf308bT1 S0BXuQxMhjICIR2Sqg96sCxJDkbi38Y= Received: from mail-lj1-f197.google.com (mail-lj1-f197.google.com [209.85.208.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-301-UsLpAm4IPQ-4b4CquDXpDQ-1; Tue, 07 May 2024 12:17:30 -0400 X-MC-Unique: UsLpAm4IPQ-4b4CquDXpDQ-1 Received: by mail-lj1-f197.google.com with SMTP id 38308e7fff4ca-2e40f8e3e96so7238851fa.1 for ; Tue, 07 May 2024 09:17:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715098647; x=1715703447; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ryW0/kQHaBWmbT3bXa3ZvRNJiKz8cLxg0s+gOmsVsRc=; b=Aq7OBb7TAK8VypdHsXIyAojo8HhWdf7dVljS55pqqDuDvm/f932zmshs8TTAM66Oni jomCRqj61tz61SlAyQ2kYfTCrv0ueIk1SLuLwHVYxp9MzgX2LQ/9qOLEWB192SLTflee 9ffbKdsm6B1F5unhMB/N/M703MTyC4Dpff4x+luZlJnZtM+l6NLM8LU0/q0/cPPmtF1s bK3ONhr54nQaTy3qJP6svVYmo/3G0hPtwANV7rHg+9hUziRRyxoLKozmsCwpOaIzxStW QOojxvcxPQ4Aw+IApwet0kobIQIH9vwpHwKFOstKY9hrstqmF9qzpGuWSe5NqfCdzqtK q27w== X-Forwarded-Encrypted: i=1; AJvYcCWs9BcZj6fOLajI6QhIW6erzxuiV1ByGEbh8uaqEJOeS30OGOD9liOLyPMquWl1Gg859z1CmytXNY/84dPkuQc= X-Gm-Message-State: AOJu0YzJGgKsxNF+vpeJU1cpn+WRu9KvWV77v6kMUxH+SsTVYyALoz9K /9QKV51t6lQ8nceNMWOyUrjgU4yYMCiTiUAQf4M9RA2lAjOMKSXLIoTvO8E0Yn8e5kl0YsyVY8k oLISh8B9sQFTEu50pZML1DBFV/KPLxvYSmKFfEs36z9WuzV12/d0s X-Received: by 2002:a19:431e:0:b0:51b:d636:a75b with SMTP id q30-20020a19431e000000b0051bd636a75bmr8553121lfa.68.1715098647341; Tue, 07 May 2024 09:17:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFxfcR0EvHDzRx0piLjyWmfbU7uHxRdP6ZAj16QcIqPDj9Gjka8BfpNjeO2sNTFlOHQCUb/Jw== X-Received: by 2002:a19:431e:0:b0:51b:d636:a75b with SMTP id q30-20020a19431e000000b0051bd636a75bmr8553096lfa.68.1715098646825; Tue, 07 May 2024 09:17:26 -0700 (PDT) Received: from digraph.polyomino.org.uk (digraph.polyomino.org.uk. [2001:8b0:bf73:93f7::51bb:e332]) by smtp.gmail.com with ESMTPSA id s16-20020adfea90000000b0034de587ffebsm13329535wrm.4.2024.05.07.09.17.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 09:17:26 -0700 (PDT) Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.95) (envelope-from ) id 1s4NVM-005QEt-W0; Tue, 07 May 2024 16:17:25 +0000 Date: Tue, 7 May 2024 16:17:24 +0000 (UTC) From: Joseph Myers To: Fangrui Song cc: Pedro Alves , Simon Marchi , Overseers mailing list , Mark Wielaard , Tom Tromey , Jeff Law , Jonathan Wakely , libc-alpha@sourceware.org, Jason Merrill , gcc@gcc.gnu.org, gdb@sourceware.org, binutils@sourceware.org Subject: Re: Updated Sourceware infrastructure plans In-Reply-To: Message-ID: <1f5a8fc1-6c8-a02f-9787-8bf375a363d@redhat.com> References: <20240417232725.GC25080@gnu.wildebeest.org> <20240418173726.GD9069@redhat.com> <87v849qudy.fsf@tromey.com> <87wmooep76.fsf@tromey.com> <0347e05a-94c6-4ecc-aa8f-cc90358a813d@gmail.com> <20240501202008.GA6469@gnu.wildebeest.org> <874jbh45l8.fsf@tromey.com> <64d0e314-f4e9-4c63-90dd-67a05749e12e@simark.ca> <9a7111c2-d570-4d26-8fe9-f34834ae1eab@palves.net> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Thu, 2 May 2024, Fangrui Song wrote: > > On the other hand, GitHub structures the concept of pull requests > > around branches and enforces a branch-centric workflow. A pull request > > centers on the difference (commits) between the base branch and the > > feature branch. GitHub does not employ a stable identifier for commit > > tracking. If commits are rebased, reordered, or combined, GitHub can > > easily become confused. I'd say we have two kinds of patch submission (= two kinds of pull request in a pull request workflow) to consider in the toolchain, and it's important that a PR-based system supports both of them well (and supports a submission changing from one kind to the other, and preferably dependencies between multiple PRs where appropriate). * Simple submissions that are intended to end up as a single commit on the mainline (squash merge). The overall set of changes to be applied to the mainline is subject to review, and the commit message also is subject to review (review of commit messages isn't always something that PR-based systems seem to handle that well). But for the most part there isn't a need to rebase these - fixes as a result of review can go as subsequent commits on the source branch (making it easy to review either the individual fixes, or the whole updated set of changes), and merging from upstream into that branch is also OK. (If there *is* a rebase, the PR-based system should still preserve the history of and comments on previous versions, avoid GCing them and avoid getting confused.) * Complicated submissions of patch series, that are intended to end up as a sequence of commits on the mainline (non-squash merge preserving the sequence of commits). In this case, fixes (or updating from upstream) *do* involve rebases to show what the full new sequence of commits should be (and all individual commits and their commit messages should be subject to review, not just the overall set of changes to be applied). Again, rebases need handling by the system in a history-preserving way. GitHub (as an example - obviously not appropriate itself for the toolchain) does much better on simple submissions (either with squash merges, or with merges showing the full history if you don't care about a clean bisectable history), apart from review of commit messages, than it does on complicated submissions or dependencies between PRs (I think systems sometimes used for PR dependencies on GitHub may actually be third-party add-ons). Pull request systems have obvious advantages over mailing lists for tracking open submissions - but it's still very easy for an active project to end up with thousands of open PRs, among which it's very hard to find anything. -- Joseph S. Myers josmyers@redhat.com