Re: FYI for build farm owners: new oauth feature using libcurl

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, buildfarm-members(at)lists(dot)postgresql(dot)org
Cc: Jacob Champion <jacob(dot)champion(at)enterprisedb(dot)com>, Daniel Gustafsson <daniel(at)yesql(dot)se>
Subject: Re: FYI for build farm owners: new oauth feature using libcurl
Date: 2025-03-04 14:15:07
Message-ID: 1876eb87-b9d8-4eb6-a1d3-cd201ea7d534@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: buildfarm-members


On 2025-03-02 Su 8:32 PM, Thomas Munro wrote:
> Hi,
>
> https://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=b3f0be788
> introduced a new oauth feature that uses libcurl and has tests. You
> may want to consider installing libcurl and putting "oauth" into
> PG_TEST_EXTRA for coverage. The systems that can use the new feature
> are:
>
> * those with timerfd and epoll: Linux and probably illumos
> * those with kqueue: macOS and *BSD
>

You will also need to enable building with libcurl or none of that will
matter. That means adding "--with-libcurl" to the config_opts if you're
using configure/make, or "-Dlibcurl=enabled" to the meson_opts if you're
using meson.

Since this is branch-specific, you need to do it something like this at
the bottom of your config file:

if ($branch eq 'HEAD' || $branch ge 'REL_18')
{
        push @{$conf{config_opts}}, '--with-libcurl';
        push @{$conf{meson_opts}}, '-Dlibcurl=enabled';
}

cheers

andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com

In response to

Browse buildfarm-members by date

  From Date Subject
Next Message Andrew Dunstan 2025-03-04 14:53:16 Announcing Reelease 19 of PostgreSQL Buildfarm client
Previous Message Thomas Munro 2025-03-03 01:32:48 FYI for build farm owners: new oauth feature using libcurl