pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #18476: Debian Install Docs have confusing code block structure
2+ messages / 2 participants
[nested] [flat]

* BUG #18476: Debian Install Docs have confusing code block structure
@ 2024-05-23 13:32 PG Bug reporting form <noreply@postgresql.org>
  2024-05-24 10:20 ` Re: BUG #18476: Debian Install Docs have confusing code block structure Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Bug reporting form @ 2024-05-23 13:32 UTC (permalink / raw)
  To: pgsql-bugs@lists.postgresql.org; +Cc: matthias.hoermann@saltation.com

The following bug has been logged on the website:

Bug reference:      18476
Logged by:          Matthias Hörmann
Email address:      matthias.hoermann@saltation.com
PostgreSQL version: 16.3
Operating system:   Debian Linux
Description:        

On https://www.postgresql.org/download/linux/debian/ the commands to
manually install the repository and the commands to install packages from
the repository are in one big code block and the text before it suggests
that this code block is optional if you use the script above it. However the
script (without parameters at least) only installs the repository, not the
packages from the repository. Maybe two code blocks were accidentally merged
here and the text in between deleted?



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #18476: Debian Install Docs have confusing code block structure
  2024-05-23 13:32 BUG #18476: Debian Install Docs have confusing code block structure PG Bug reporting form <noreply@postgresql.org>
@ 2024-05-24 10:20 ` Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Alvaro Herrera @ 2024-05-24 10:20 UTC (permalink / raw)
  To: matthias.hoermann@saltation.com; pgsql-www@lists.postgresql.org

Moved thread to pgsql-www.

On 2024-May-23, PG Bug reporting form wrote:

> On https://www.postgresql.org/download/linux/debian/ the commands to
> manually install the repository and the commands to install packages from
> the repository are in one big code block and the text before it suggests
> that this code block is optional if you use the script above it. However the
> script (without parameters at least) only installs the repository, not the
> packages from the repository. Maybe two code blocks were accidentally merged
> here and the text in between deleted?

I agree, it doesn't look good to have a button for "copy script" that
includes a line that installs a package after having enabled the repo.
Much less one that does so without asking for confirmation!  That line
should be separate.

I think the attached patch achieves that, but
1) it's untested
2) I'm not sure that a "Copy Script" button is really all that useful
for the "apt install" line, so maybe that part of this patch should be
scrapped.

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/
"People get annoyed when you try to debug them."  (Larry Wall)

Attachments:

  0001-Split-the-install-script-in-download-linux-debian.patch (text/x-diff, 0B) download

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2024-05-24 10:20 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-05-23 13:32 BUG #18476: Debian Install Docs have confusing code block structure PG Bug reporting form <noreply@postgresql.org>
2024-05-24 10:20 ` Alvaro Herrera <alvherre@alvh.no-ip.org>

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