Re: Updated Sourceware infrastructure plans

2024-05-10 Thread Ben Boeckel via Gcc
On Tue, May 07, 2024 at 16:17:24 +, Joseph Myers via Gcc wrote:
> 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).

The way I'd handle this in `ghostflow` is with a description trailer
like `Squash-merge: true` (already implemented trailers include
`Backport`, `Fast-forward`, `Backport-ff`, and `Topic-rename` as
description trailers, so this is a natural extension there).
Alternatively a label can be used, but that is not directly editable by
MR authors that are not also members of the project. There's also a
checkbox either at MR creation and/or merge time to select between them,
but I don't find that easily discoverable (I believe only those with
merge rights can see the button state in general).

> * 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.

There's been a long-standing issue to use `range-diff` in GitLab. I
really don't know why it isn't higher priority, but I suppose having
groups like Sourceware and/or kernel.org interested could move it up a
priority list for them.

https://gitlab.com/gitlab-org/gitlab/-/issues/24096

FWIW, there's also a "comment on commit messages" issue:

https://gitlab.com/gitlab-org/gitlab/-/issues/19691

That said, I've had little issues with rebases losing commits or
discussion on GitLab whereas I've definitely seen things get lost on
Github. I'm unfamiliar with other forges to know there (other than that
Gerrit-likes that track patches are generally workable with rebases).

> 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).

The way I've tended to handle this is to have one "main MR" that is the
"whole story" with component MRs split out for separate review. Once the
separate MRs are reviewed and merged (with cross references), the main
MR is rebased to incorporate the merged code and simplify its diff. This
helps to review smaller bits while also having the full story available
for viewing.

> 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.

In CMake, the mechanism used to keep the queue manageable is to have a
`triage:expired` label for closed-for-inactivity (or other reasons) so
that closed-but-only-neglected MRs can be distinguished from
closed-because-not-going-to-be-merged MRs. The "active patch queue"
tends to stay under 20, but sometimes swells to 30 in busy times (as of
this writing, it is at 10 open MRs).

--Ben


You recently ordered, 87-123-6515 is it.

2024-05-10 Thread Willie Dusseau via Gcc
Order Confirmation:

Order Details:

Order Date: Friday, May 10, 2024
Order Number: QGA_0580884
Product: Cronos (CRO)
Item Number: e7317f96
Amount: $456.82
Customer Details:

Recipient ID: 87-123-6515
Email: gcc@gcc.gnu.org
Customer Wallet Address: 7ddec34a-cc84-4780-9e2a-ca3e0e234189

Hey Bonjour

We're excited to let you know that your order is currently being
prepared for shipment! Once it's on its way, we'll send you the
tracking information straight to your inbox so you can keep an eye on
its journey.

We're here for you every step of the way, so if you have any questions
or need assistance, don't hesitate to reach out to our Customer
Support team at (+1 623)  440-0839. We're always ready to help.

Thank you for choosing us for your purchase. We can't wait for you to
receive your order!

Footer:
PayPal
Customer Support: (+1 623)  440-0839
Nick Fetters


Sourceware Open Office, Friday 16:00 UTC

2024-05-10 Thread Mark Wielaard
Friday May 10, 16:00 UTC, irc.libera.chat #overseers
(Today in about 1 hour)

To get the right time in your local timezone:
$ date -d "Fri May 10 16:00:00 UTC 2024"

Lots of discussion topics:

- Sourceware 2024 - The Plan
https://inbox.sourceware.org/20240325095827.gi5...@gnu.wildebeest.org/

- Sourceware mitigating and preventing the next xz-backdoor
https://inbox.sourceware.org/20240401150617.gf19...@gnu.wildebeest.org/

Discussions are clearly still ongoing. But the Sourceware Project
Leadership Committee is already discussing which projects need (extra)
resources.

We also started the aging inactive users policy. Please let us know
your experiences.


gcc-13-20240510 is now available

2024-05-10 Thread GCC Administrator via Gcc
Snapshot gcc-13-20240510 is now available on
  https://gcc.gnu.org/pub/gcc/snapshots/13-20240510/
and on various mirrors, see https://gcc.gnu.org/mirrors.html for details.

This snapshot has been generated from the GCC 13 git branch
with the following options: git://gcc.gnu.org/git/gcc.git branch 
releases/gcc-13 revision b7a2697733d19a093cbdd0e200ffce069a4bc812

You'll find:

 gcc-13-20240510.tar.xz   Complete GCC

  SHA256=aa64b134147b4ddf6a4e332383759689c1f7635975f02368a7d4ddc9e912a856
  SHA1=e1bb5a36cce9d8a092f49523bd159e081bff0127

Diffs from 13-20240503 are available in the diffs/ subdirectory.

When a particular snapshot is ready for public consumption the LATEST-13
link is updated and a message is sent to the gcc list.  Please do not use
a snapshot before it has been announced that way.