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 A24113858D39 for ; Tue, 12 Mar 2024 10:50:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A24113858D39 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 A24113858D39 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=1710240629; cv=none; b=nKaX6YYY/kkaYYLJWWS9+H1LYdVEJsz+LSyQbvZW4yHpHwFv8vuSepoGJRDIs7mAyNJwed/M4zEOmsv+i6qTo2jtc9aBR+/6wXYUw0nNnr1ZRgyjjDCBB7iuD5Jj0si2sQHrh++NHQAn+Asa/j0hdPpPGScWOTQONs9n4mhgluc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1710240629; c=relaxed/simple; bh=7ph9mkRR2fEFB805i5eo43+1w9ub3eqBaB1mDbETqSM=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=X2aoGrLErqR2BMU39+kdhX7pYLtJB+ysUsP9X+/ng6RKIQXKDaP2Mh1NyZLRunQ+V4DQCToOjPsxTzdeAjGTr8FZYeZnbkSipLpze2R2m+Cw6T0YTygR0IkT0UbLBK02wyc+w3r7K6TOdniMZbzyA+mOgVS7GH2Et+Bt+31FuEs= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1710240627; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=q43eOQ+VVLxDLU/5HMZ2rYEEKhN0nBEuoEQ3gBmDJK8=; b=P55tTBDLpuqZoGQsLiOU4VNB6fpPMpnHM/V0cwKt8C25vI6CCP2ynEmgXI9jjAGiwYDuVd 0JzABsDpijNiq5DCPsytCmvBkFBhSZxLXHAv6IhEDP9dhXyIILTao/QN+mphBVXOj9084l /6D7g9qnX0u8ospBvsYwwFskRg9CEaQ= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-639-4ZlqRQphPmaJyfsoz971Wg-1; Tue, 12 Mar 2024 06:50:25 -0400 X-MC-Unique: 4ZlqRQphPmaJyfsoz971Wg-1 Received: by mail-wm1-f69.google.com with SMTP id 5b1f17b1804b1-413185181f6so20647545e9.3 for ; Tue, 12 Mar 2024 03:50:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710240624; x=1710845424; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=q43eOQ+VVLxDLU/5HMZ2rYEEKhN0nBEuoEQ3gBmDJK8=; b=vbmQy0/DHz+KLfHtIw/nj5FEaPZ7Okc9jEVt+Jn7yIT02Df6AWfiMAB2SEFSXQqmtT yPqWDHp8ycTwWEJoqwD8rMqlDCcS0SHMQWKJO94SoNK9FsHaRJz5i3i5JdtwAMnqDAsU F/JzyHidG+EOL3sNePTDXHZAizMDN1FzzmrPJUbRN8hOwTq1ZvkrvsMAEZtT02QXURQR TXV/7OtdprSiJMUz1XENxdtoEL/AjIeSk51US3kzmdm07NH36uQJkLkuLzlkpLc5nszT pZDiFBAKfuUO2/0ERwQqoyYY3hvP1jp/222MZYFMFJ6PQj1QalwAVVdQNUMSC99JuAUb aqAg== X-Forwarded-Encrypted: i=1; AJvYcCUMrvTddzO84hQ9BIvF7HU9kr/GfM7solwjgBl6lTsKdCxdS7XA5urO+e3vsW+0kATjiScV5YCww3UYwkayTRKR1c7UV3Y9vItYSQ== X-Gm-Message-State: AOJu0YzWZhdRg630LvGOV4KXDopFusWi5ldzQGwzE5bqLf6GyvXdOhGQ Bb86WjHn5ihzFNa5W8kUxBat4SuBv851P9fPzBSi3scsLknzLHbdMvEj3kAY2JUnhhRTpzLJUjN x9dIhP8OVV4wCQB6wjy/oz84tYMvvNHWSUYfV7UJEikVA/7Wu9FweFhFAb4A= X-Received: by 2002:a05:600c:5101:b0:413:2958:d145 with SMTP id o1-20020a05600c510100b004132958d145mr4266545wms.4.1710240624755; Tue, 12 Mar 2024 03:50:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHeFQ/WMWi1uDBaY/rKtDAZCxrsbxZ6O91Sn8TSLKrkxo12VMkvMBjq3THsQxh2hse+w1j76A== X-Received: by 2002:a05:600c:5101:b0:413:2958:d145 with SMTP id o1-20020a05600c510100b004132958d145mr4266532wms.4.1710240624336; Tue, 12 Mar 2024 03:50:24 -0700 (PDT) Received: from [192.168.0.129] (ip-94-112-227-180.bb.vodafone.cz. [94.112.227.180]) by smtp.gmail.com with ESMTPSA id r11-20020a05600c35cb00b004127057d6b9sm18644052wmq.35.2024.03.12.03.50.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 12 Mar 2024 03:50:23 -0700 (PDT) Message-ID: <113f5f06-680f-415a-bbff-117ff71afaf7@redhat.com> Date: Tue, 12 Mar 2024 11:50:22 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] gdb: add .pre-commit-config.yaml To: Simon Marchi , gdb-patches@sourceware.org Cc: binutils@sourceware.org References: <20240311150947.71762-1-simon.marchi@efficios.com> From: Guinevere Larsen In-Reply-To: <20240311150947.71762-1-simon.marchi@efficios.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_BARRACUDACENTRAL,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: I have no real opinion on pre-commit, one way or another, but I like the idea of automating easily-forgotten things. could even be upgraded to rerunning gdbarch.py at some point! On 11/03/2024 16:09, Simon Marchi wrote: > I will add these instructions to the wiki if this patch gets merged, so > they are easy to find. We could perhaps think of having a > gdb/CONTRIBUTING document of some sort checked in the repo with that > kind of information. I have positive opinions on this, however! I don't find the contribution checklist on the wiki to be a good description of the contribution process of GDB. I'm not sure what I know from there and what is essential tribal knowledge that I got from internal talks and incorrect submissions that were corrected. The maintainers file is the closest we have to describing the process, and someone who doesn't know the project would not think of looking there, I don't think (I know I didn't). So I would be very happy to see a contributing file, where the process as a whole is described in order, before going down to the minutiae of how to make a good contribution. One and done things like pre-commit, choosing a way to send email, copyright attribution, can be easily viewed by prospecting contributors, and previous contributors can refresh their minds or quickly check some recent process change. -- Cheers, Guinevere Larsen She/Her/Hers