From: Jonathan S. Katz <jkatz@postgresql.org>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: Gurjeet Singh <gurjeet@singh.im>
Cc: johnlinp@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Cc: pgsql-www@postgresql.org
Subject: Re: BUG #18018: Homebrew link is broken
Date: Mon, 24 Jul 2023 22:17:09 -0400
Message-ID: <7b5cb705-f231-af0e-1d20-e7ab17456d1d@postgresql.org> (raw)
In-Reply-To: <5EBB991A-1161-4EE4-8B3B-D614BD589597@yesql.se>
References: <18018-016a323e1947b6f5@postgresql.org>
<CABwTF4UfTHRMnTkAw_JBh3eunPSnhxoAQVOzms+Uf81OtuUfWA@mail.gmail.com>
<2F054C6F-288B-4CB1-9EF2-4E11DB98397D@yesql.se>
<b919b37b-6e36-02c9-b554-46b0c4d2e0fe@postgresql.org>
<5EBB991A-1161-4EE4-8B3B-D614BD589597@yesql.se>
On 7/12/23 9:59 AM, Daniel Gustafsson wrote:
>> On 12 Jul 2023, at 15:45, Jonathan S. Katz <jkatz@postgresql.org> wrote:
>> On 7/12/23 8:49 AM, Daniel Gustafsson wrote:
>>>> On 11 Jul 2023, at 20:14, Gurjeet Singh <gurjeet@singh.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@NN</code>, where <code>NN</code>
> + represents the major version. For example,
> + <a href="https://formulae.brew.sh/formula/postgresql@15"><code>postgresql@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
Attachments:
OpenPGP_signature (application/pgp-signature, 839B) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: jkatz@postgresql.org, daniel@yesql.se, gurjeet@singh.im, johnlinp@gmail.com, pgsql-bugs@lists.postgresql.org, pgsql-www@postgresql.org
Subject: Re: BUG #18018: Homebrew link is broken
In-Reply-To: <7b5cb705-f231-af0e-1d20-e7ab17456d1d@postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox