Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nIee2-0003ac-UH for pgsql-hackers@arkaria.postgresql.org; Fri, 11 Feb 2022 22:44:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nIedW-0002Nq-51 for pgsql-hackers@arkaria.postgresql.org; Fri, 11 Feb 2022 22:43:30 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nIedV-0002Nh-Ls for pgsql-hackers@lists.postgresql.org; Fri, 11 Feb 2022 22:43:29 +0000 Received: from mail-il1-x12e.google.com ([2607:f8b0:4864:20::12e]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nIedS-0001XZ-1x for pgsql-hackers@lists.postgresql.org; Fri, 11 Feb 2022 22:43:28 +0000 Received: by mail-il1-x12e.google.com with SMTP id h11so7955388ilq.9 for ; Fri, 11 Feb 2022 14:43:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=oizR+ra0TeLoEhI6xltGS1yv9nSnz+couyoYZ4rLSzc=; b=Vf1HZ0DhjmgwKV6BFXoaAsiDhIylm8ulMkVJ5eNyKYeuibxnU39MsM/+CR64zTa7gD METg12axLp3c41leYKK+X2NuhoH/wsia0vewsMZKQcL1SftUt/yzP5QmyqB8izBM9Zme 2VwevTXbX6D6Ab64hxmdWeEJHf25rFMQ6H9IbPdcwk7Gppvy5AcnbL7LVxCHDzt+7oS4 EDpkpSc3fmdHVFk5MAn/0sEIe6T7/ZMYytUx33zQvog07x7XlfYspZ+qaN8RaNl8iojY 8Uu1HRDS1SAVhLt6YTt/zTxo/9ocjjCriQlSoyddoZ3FgWkD30YCEVbcd5VugP088KuX 2iFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=oizR+ra0TeLoEhI6xltGS1yv9nSnz+couyoYZ4rLSzc=; b=5+6KpubkTn6CXJdy2wlBAUt8SPYPG9WkNh83NVvghRlkg7YwOXExWoePTmXaUaV3KJ J43EM44oTelwBspLoMWcwmvY8Y8rztqlNMbZzrI5N5x+L6k6JZ4wVKDfOH1M243sQ5M/ 5vcMLWvFMfY9xPTTx0Ls0Qov3YWCIQLr5pYYzC/Uh5UWe357ix0d5zvL3Ru0uhBnZB4c ws9NF4C4nKTS/swNp1uYzekY+iLZxnqb8ApSPczZ4/KoH8MkYCbyXZHtFZBhK2tYs6XY cRbbFGxAqZK9v4YIIG1/6uk0opbnAh/F65GmLq19eFcmmOSd+Cs1mMDbgJ+77PNl97Hd mo9g== X-Gm-Message-State: AOAM533gyw0VroiMKWARu7w0NeAi9HxqThpGxJGCZetg75rRThoGGRKv 9rIRwF5t3Cel89UkjdA3OuElJg== X-Google-Smtp-Source: ABdhPJwMQg1sBzxpz5RJI4llvEP6y8O6fis08QtJP6dzaRUYsBSwdbIqovtO8fIJHgOIBTQDelY/jw== X-Received: by 2002:a05:6e02:1c8f:: with SMTP id w15mr1928757ill.103.1644619404952; Fri, 11 Feb 2022 14:43:24 -0800 (PST) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id b9sm14364344iow.31.2022.02.11.14.43.24 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Feb 2022 14:43:24 -0800 (PST) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id 8DB60800A8D; Fri, 11 Feb 2022 16:43:23 -0600 (CST) Date: Fri, 11 Feb 2022 16:43:23 -0600 From: Justin Pryzby To: Alvaro Herrera Cc: pgsql-hackers@lists.postgresql.org, Simon Riggs , Tomas Vondra , Zhihong Yu , Daniel Westermann , Amit Langote , Japin Li , Erik Rijkers , Jaime Casanova Subject: Re: support for MERGE Message-ID: <20220211224323.GH31460@telsasoft.com> References: <20220211185149.GG31460@telsasoft.com> <202202112025.zbeoj2u5tclj@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <202202112025.zbeoj2u5tclj@alvherre.pgsql> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Feb 11, 2022 at 05:25:49PM -0300, Alvaro Herrera wrote: > > I'm not sure git diff --cherry-pick is widely known/used, but I think > > using that relative to master may be good enough. > > I had never heard of git diff --cherry-pick, and the manpages I found > don't document it, so frankly I doubt it's known. I still have no idea > what does it do. See git-log(1) --cherry-pick Omit any commit that introduces the same change as another commit on the “other side” when the set of commits are limited with symmetric difference. The "symmetric difference" is the triple-dot notation. The last few years I've used this to check for missing bits in the draft release notes. (Actually, I tend to start my own list of features before that). It's doing a generic version of what git_changelog does. https://www.postgresql.org/message-id/20210510144045.GC27406@telsasoft.com > I suppose there is an obvious reason why using git diff with > $(git merge-base ...) as one of the arguments doesn't work for these purposes. > > > Andres thinks that does the wrong thing if CI is run manually (not by CFBOT) > > for patches against backbranches. > > I wonder if it's sufficient to handle these things (coverage > specifically) for branch master only. Or default to master, and maybe try to parse the commit message and pull out Backpatch-through: NN. It's intended to be machine-readable, after all. Let's talk about it more on the/another thread :) -- Justin