Re: BUG #18018: Homebrew link is broken

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: "Jonathan S(dot) Katz" <jkatz(at)postgresql(dot)org>
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-12 13:59:21
Message-ID: 5EBB991A-1161-4EE4-8B3B-D614BD589597@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-www

> 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.

--
Daniel Gustafsson

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Cory Albrecht 2023-07-12 20:03:34 Re: BUG #17977: PorstGreSQL in a jail crashes randomly with Signal 10 bus error
Previous Message Jonathan S. Katz 2023-07-12 13:45:20 Re: BUG #18018: Homebrew link is broken

Browse pgsql-www by date

  From Date Subject
Next Message Pavel Luzanov 2023-07-13 09:10:52 Two new books to add to the books page
Previous Message Jonathan S. Katz 2023-07-12 13:45:20 Re: BUG #18018: Homebrew link is broken