From: | Andres Freund <andres(at)anarazel(dot)de> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Robert Haas <robertmhaas(at)gmail(dot)com>, Justin Pryzby <pryzby(at)telsasoft(dot)com>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Andrew Dunstan <andrew(at)dunslane(dot)net>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, Melanie Plageman <melanieplageman(at)gmail(dot)com>, Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>, Daniel Gustafsson <daniel(at)yesql(dot)se> |
Subject: | Re: Adding CI to our tree |
Date: | 2022-02-13 20:24:03 |
Message-ID: | 20220213202403.nxxniyph5tnithou@alap3.anarazel.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
On 2022-02-13 15:09:20 -0500, Tom Lane wrote:
> Andres Freund <andres(at)anarazel(dot)de> writes:
> > On 2022-02-13 12:13:17 -0500, Tom Lane wrote:
> >> Right. Can we set things up so that it's not too painful to inject
> >> custom build options into a CI build?
>
> > What kind of injection are you thinking about?
>
> That's exactly what needs to be decided.
> [...]
> I'd prefer something a bit more out-of-band. I don't know this technology
> well enough to propose a way.
I don't yet understand the precise use case for adjustments well enough to
propose something. Who would like to adjust something for what purpose? The
"original" author, for a one-off test? A reviewer / committer, to track down a
hunch?
If it's about CI runs in in a personal repository, one can set additional
environment vars from the CI management interface. We can make sure they work
(the ci stuff probably overrides CFLAGS, but COPT should work) and document
the way to do so.
> > A patch author can obviously
> > just add options in .cirrus.yml. That's something possible now, that was not
> > possible with cfbot applying its own .cirrus.yml
>
> Fine, but are committers supposed to keep track of the fact that they
> shouldn't commit that part of a patch?
I'd say it depends on the the specific modification - there's some patches
where it seems to make sense to adjust extend CI as part of it and have it
merged. But yea, in other cases committers would have to take them out.
For more on-off stuff one would presumably not want to spam the list the list
with a full patchset to trigger a cfbot run, nor wait till cfbot gets round to
that patch again. When pushing to a personal repo it's of course easy to just
have a commit on-top of what's submitted to play around with compile options.
Greetings,
Andres Freund
From | Date | Subject | |
---|---|---|---|
Next Message | Ranier Vilela | 2022-02-13 20:26:59 | Re: [PATCH] Dereference null return value (NULL_RETURNS) (src/backend/commands/statscmds.c) |
Previous Message | Ranier Vilela | 2022-02-13 20:19:46 | Re: Signed vs. Unsigned (some) |