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>, Gurjeet Singh <gurjeet(at)singh(dot)im>
Cc: 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-12 13:45:20
Message-ID: b919b37b-6e36-02c9-b554-46b0c4d2e0fe@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-www

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:
>> On Tue, Jul 11, 2023 at 3:29 AM PG Bug reporting form
>> <noreply(at)postgresql(dot)org> wrote:
>
>>>> A list of PostgreSQL packages can be found using the Braumeister search
>>> tool.
>>>
>>> And the link is https://formulae.brew.sh/formula/postgresql.
>>>
>>> However, the link is broken. Please consider changing the link. Thanks.
>>
>> Homebrew does not (no longer?) provides a formula named postgresql;
>> instead, it provides a formula for each of the Postgres major
>> versions.
>
>> 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").

> Since the package page for the postgresql15 package lists all the other
> postgresqlXX packages available, why not just link to that (changing it to @16
> when that's available on brew)? The page also doesn't say Braumeister
> anywhere, so we should perhaps change that while at it?
>
> The attached small diff updates the link with the above. Thoughts?

I don't agree in its entirety. We say we're linking to a "list" of
PostgreSQL downloads, but it's linking to "latest" (which includes a
list of older packages). Additionally, given the way it's structured,
we'd have to update it for every major release anyway, so we may as well
list out the command if we're going to keep showing Homebrew on the
downloads page.

Attached is a revision of your patch.

Thanks,

Jonathan

[1] https://www.postgresql.org/download/linux/redhat/

Attachment Content-Type Size
brew_link_v2.diff text/plain 1.3 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Daniel Gustafsson 2023-07-12 13:59:21 Re: BUG #18018: Homebrew link is broken
Previous Message Stephen Frost 2023-07-12 12:56:57 Re: BUG #17977: PorstGreSQL in a jail crashes randomly with Signal 10 bus error

Browse pgsql-www by date

  From Date Subject
Next Message Daniel Gustafsson 2023-07-12 13:59:21 Re: BUG #18018: Homebrew link is broken
Previous Message Daniel Gustafsson 2023-07-12 12:49:50 Re: BUG #18018: Homebrew link is broken