Re: BUG #18018: Homebrew link is broken

From: "Jonathan S(dot) Katz" <jkatz(at)postgresql(dot)org>
To: Daniel Gustafsson <daniel(at)yesql(dot)se>
Cc: Gurjeet Singh <gurjeet(at)singh(dot)im>, johnlinp(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org, pgsql-www(at)postgresql(dot)org
Subject: Re: BUG #18018: Homebrew link is broken
Date: 2023-07-25 02:17:09
Message-ID: 7b5cb705-f231-af0e-1d20-e7ab17456d1d@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-www

On 7/12/23 9:59 AM, Daniel Gustafsson wrote:
>> On 12 Jul 2023, at 15:45, Jonathan S. Katz <jkatz(at)postgresql(dot)org> wrote:
>> On 7/12/23 8:49 AM, Daniel Gustafsson wrote:
>>>> On 11 Jul 2023, at 20:14, Gurjeet Singh <gurjeet(at)singh(dot)im> wrote:
>
>>>> Perhaps this webpage can provide the brew command to list available
>>>> formulae, and advise to install one from the result.
>>> I'm not sure it's worth complicating this too much, including brew commands
>>> means we need to keep up with brew development to make they are still relevant.
>>
>> We do include commands for other installed (dnf/yum; apt), and we do provide commands (albeit generic) for installing from some of the distros (see "Included in Distribution").
>
> We do, but only for packages provided by repos hosted by postgresql.org so I
> kind of consider them special cases.
>
>> Additionally, given the way it's structured, we'd have to update it for every major release anyway,
>
> Ideally, but considering we have this on the Debian installation page it's not
> something we are super consistent with =)
>
> apt-get install postgresql-12
>
> The page does say "substitute the version number as required" but still.
>
>> so we may as well list out the command if we're going to keep showing Homebrew on the downloads page.
>
> Fair enough, and ftr I think we should keep Homebrew on the page.
>
> + You can use <a href="https://formulae.brew.sh">Homebrew Formulae</a> to
> + search for PostgreSQL and other packages. To find a specific major version of
> + PostgreSQL, search for <code>postgresql(at)NN</code>, where <code>NN</code>
> + represents the major version. For example,
> + <a href="https://formulae.brew.sh/formula/postgresql(at)15"><code>postgresql(at)15</code></a>.
>
> I would probably opt for leaving out the details only keeping the first
> sentence, that way we aren't exposed to homebrew changing things in package
> naming.

Given this slipped of the (read: my) radar, I opted for pushing what was
in the v2 patch, given any of these things require updating anyway, and
it's nice to limit the amount of clicks it takes someone to install
PostgreSQL.

If we don't like it, it's easy enough to change.

Thanks for reporting!

Jonathan

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Andres Freund 2023-07-25 03:39:46 Re: BUG #18031: Segmentation fault after deadlock within VACUUM's parallel worker
Previous Message Andres Martin del Campo Campos 2023-07-24 18:03:40 Re: BUG #18027: Logical replication taking forever

Browse pgsql-www by date

  From Date Subject
Next Message Daniel Gustafsson 2023-07-25 07:31:46 Re: Broken Urls present on the official PostgreSQL website (as reported by the Testing Harness Suite)
Previous Message Jonathan S. Katz 2023-07-25 02:08:47 Re: Broken Urls present on the official PostgreSQL website (as reported by the Testing Harness Suite)