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 1oX6jm-0003Id-EP for pgsql-hackers@arkaria.postgresql.org; Sat, 10 Sep 2022 20:05:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oX6jj-0003Ow-Vu for pgsql-hackers@arkaria.postgresql.org; Sat, 10 Sep 2022 20:05:55 +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 1oX6jj-0003Om-3O for pgsql-hackers@lists.postgresql.org; Sat, 10 Sep 2022 20:05:55 +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 1oX6ja-0007CQ-7v for pgsql-hackers@lists.postgresql.org; Sat, 10 Sep 2022 20:05:53 +0000 Received: by mail-il1-x12e.google.com with SMTP id k2so2517772ilu.9 for ; Sat, 10 Sep 2022 13:05:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20210112.gappssmtp.com; s=20210112; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date; bh=5fHbPebYvkC2kQ/OD8GCzEo6kYNizi/Xk33qUiRVSvw=; b=2AtHH7H8Oy9QcK/PvrghoVm3hKMqx8eBGI7QgJ1oyE1SNjb01VoUq8hrP2+udLvwie 6G0l6WNkHaCA4FqXrQ4NCmVC0J8dny2vweArleCJlFuDwI0zHJUlgzjUgBIvvQhzO9X4 QHF2Vf7WkW1LUGGURgrjxZL7Iv7+vFAHMre9zwCqP1Nup5P+YG8lT+6mvYbxYahDBYen 1G6gjOVCvdmGSDWHZRC+jSlIj3Q7bL00E5dKwrvXV+L7y/+MgIurIJkIkVrIGsnMIVNj cmCJY12eqPx2XVMPhgo9f3oZWd6c26ZYAH8WuTfLIviPy/iwBASgj05w6YCBXaZAflXN DypA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date; bh=5fHbPebYvkC2kQ/OD8GCzEo6kYNizi/Xk33qUiRVSvw=; b=M2NEp0e393VzY2zlWFKtMkb7XTakkLNXYxCQ3Bm5HEnU6oZIg+dzNs+2Cydn1Mf3TL knI3QL0g0ceohbmxgkkU+uREANJUmqkG90AdjVMsvP0QFUtRxPGGWyTCe76i5aqu75o1 7j7sE1dO42Qe1N1StqKW+QZgkRAHHrQQyOKKaldgmMx+/6iPSJQKbDvabSBQKQwHV5av JsaQI0Z1fhRFUNblIwijddnkj0wkSXWcfALVtD56oDuKhNn4HV6mUfhugmZnrGN3EHZ/ Dq9EHbsvErCOsbPVUmV5Ca9/WD69+6jvPvMxSVv9HSOnc8ImLdDxQfwRs7n9ND+UNpCu Susg== X-Gm-Message-State: ACgBeo1BMMX3tsX8cjiIsSL/an66fwidAAXZTETbux3EWE6tdtEhKWO9 vVdCCpGJwgf56oYGBkjvzuzMig== X-Google-Smtp-Source: AA6agR6S8YQPjZip/JQ6iXXouSvs38JDsgdunXtuM/cEc4jGt0kclV7e3/Eof0vEc7I0vwqIW5rYSw== X-Received: by 2002:a05:6e02:1605:b0:2eb:8569:d7a2 with SMTP id t5-20020a056e02160500b002eb8569d7a2mr6814047ilu.320.1662840344355; Sat, 10 Sep 2022 13:05:44 -0700 (PDT) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id b41-20020a05663838a900b0035a0d844e43sm456060jav.159.2022.09.10.13.05.43 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 10 Sep 2022 13:05:43 -0700 (PDT) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id 8208E80079C; Sat, 10 Sep 2022 15:05:42 -0500 (CDT) Date: Sat, 10 Sep 2022 15:05:42 -0500 From: Justin Pryzby To: Andres Freund Cc: Andrew Dunstan , Thomas Munro , pgsql-hackers@lists.postgresql.org, Noah Misch , Michael Paquier , Anastasia Lubennikova , Tom Lane , Robert Haas , Melanie Plageman , Peter Eisentraut , Daniel Gustafsson Subject: Re: CI and test improvements Message-ID: <20220910200542.GX31833@telsasoft.com> References: <20220708002232.GF13040@telsasoft.com> <20220623193125.GB22452@telsasoft.com> <20220528153741.GK19626@telsasoft.com> <20220828144447.GA21897@telsasoft.com> <20220828160752.l5l66k3eptokzhzj@awork3.anarazel.de> <20220828171029.GO2342@telsasoft.com> <20220828212802.r6eymfffrgr3lxxt@awork3.anarazel.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="tKkaNMvYmhQvRCRK" Content-Disposition: inline In-Reply-To: <20220828212802.r6eymfffrgr3lxxt@awork3.anarazel.de> 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 --tKkaNMvYmhQvRCRK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Aug 28, 2022 at 02:28:02PM -0700, Andres Freund wrote: > On 2022-08-28 12:10:29 -0500, Justin Pryzby wrote: > > On Sun, Aug 28, 2022 at 09:07:52AM -0700, Andres Freund wrote: > > > > --- /dev/null > > > > +++ b/src/tools/ci/windows-compiler-warnings > > > > > > Wouldn't that be doable as something like > > > sh -c 'if test -s file; then cat file;exit 1; fi" > > > inside .cirrus.yml? > > > > I had written it inline in a couple ways, like > > - sh -exc 'f=msbuild.warn.log; if [ -s "$f" ]; then cat "$f"; exit 1; else exit 0; fi' > > > > but then separated it out as you suggested in > > 20220227010908.vz2a7dmfzgwg742w@alap3.anarazel.de > > > > after I complained about cmd.exe requiring escaping for && and || > > That makes writing any shell script a bit perilous and a separate script > > seems better. > > I remember that I suggested it - but note that the way I wrote above doesn't > have anything needing escaping. It doesn't require it, but that still gives the impression that it's normally possible to write one-liner shell scripts there, which is misleading/wrong, and the reason why I took your suggestion to use a separate script file. > Anyway, what do you think of the multiline split I suggested? Done, and sorted. > That's what should have been in the commit message. Sure. I copied into the commit message the explanation that I had written in June's email. > > > > xi-os-only: freebsd > > > > > > Typo. > > > > No - it's deliberate so I can switch to and from "everything" to "this > > only". > > I don't see the point in posting patches to be applied if they contain lots of > such things that a potential committer would need to catch and include a lot > of of fixup patches. I get that you disliked that I disabled the effect of a CI tag by munging "c" to "x". I've amended the message to avoid confusion. But, lots of what such things ? "ci-os-only" would be removed before being pushed anyway. "catching things" is the first part of the review process, which (as I understand) is intended to help patch authors to improve their patches. If you found lots of problems in my patches, I'd need to know about them; but most of what I heard seem like quibbles about the presentation of the patches. It's true that some parts are dirty/unclear, and that seems reasonable for patches most of which haven't yet received review, for which I asked whether to pursue the patch at all, and how best to present them. This is (or could be) an opportunity to make improvements. I renamed the two, related patches to Cluser.pm which said "f!", which are deliberately separate but looked like "fixup" patches. Are you interested in any combination of those three, related changes to move logic from Makefile to perl ? If not, we don't need to debate the merits of spliting the patch. What about the three, related changes for ccache compression ? Should these be dropped in favour of meson ? - cirrus/vcregress: test modules/contrib with NO_INSTALLCHECK=1 - vcregress: add alltaptests I added: "WIP: skip building if only docs have changed" changesInclude() didn't seem to work right when I first tried to use it. Eventually, I realized that it seems to use something like "git log", and not "git diff" (as I'd thought). It seems to work fine now that I know what to expect. git commit --amend --no-edit git diff --stat @{1}..@{0} # this outputs nothing git log --stat @{1}..@{0} # this lists the files changed by the tip commit It'd be nice to be have cfbot inject this patch into each commitfest patch for awhile, to make sure everything works as expected. Same for the code coverage patch and the doc artifacts patch. (These patches currently assume that the base commit is HEAD~1, which is correct for cfbot, and that would also provide code coverage and docs until such time as cfbot is updated to apply and preserve the original series of patches). -- Justin --tKkaNMvYmhQvRCRK Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0001-cirrus-windows-add-compiler_warnings_script.patch"