Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sAS27-009t7N-Ay for pgsql-www@arkaria.postgresql.org; Fri, 24 May 2024 10:20:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sAS26-004KRO-ET for pgsql-www@arkaria.postgresql.org; Fri, 24 May 2024 10:20:18 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sAS26-004KRG-43 for pgsql-www@lists.postgresql.org; Fri, 24 May 2024 10:20:18 +0000 Received: from wfhigh3-smtp.messagingengine.com ([64.147.123.154]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sAS1y-001lXu-RV for pgsql-www@lists.postgresql.org; Fri, 24 May 2024 10:20:16 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfhigh.west.internal (Postfix) with ESMTP id E5B3E18001A5; Fri, 24 May 2024 06:20:08 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Fri, 24 May 2024 06:20:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:reply-to :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1716546008; x=1716632408; bh=p Jecpglunuo00WDff/lPz9SyYE6V2yninI0I1iSvDfc=; b=oJzJEyCuXi0IO9Yxi zMUuZodHmcNndaEYHnloWSi5XuEePHfTFqO03LZsf2JXN3jcylckcCfZ59cA5/JN YlJNmLauZeh+/6YZPNL07/be73oLHEd7pkPs6Rl3YsCrCpcimNf2KxwpmyjPRbkR L5D/9HZt33bGVNONbJCcaGQKsbdAMXPnJd6pk81Agjjz++Cf8RBej+RFQOTlM1KL LkOhDqCHqz5XgtSx99xKn1mnNNm+IhekTZ7TyDw9l4+mrQUsoyOSRnoW83dbOyFO mbskiUk8rQAhGrN7jhG5Xs7Pk14zQp+1M8lqf96O67ZlnjNqr76VVAutKbm1MGFK RS/wQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdeikedgvdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkgggtugfgjgesmhekre ertddtjeenucfhrhhomheptehlvhgrrhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgv segrlhhvhhdrnhhoqdhiphdrohhrgheqnecuggftrfgrthhtvghrnhepheelueekleeiue elgedvhffhgfejieefkeegveehleeghfelfffgleekgfegteeinecuffhomhgrihhnpehp ohhsthhgrhgvshhqlhdrohhrghdpvghnthgvrhhprhhishgvuggsrdgtohhmnecuvehluh hsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhhvghrrhgv segrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 24 May 2024 06:20:07 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1716546005; bh=qAMgcswMRiLzsShspqrK6+K8hFY+YxKLwpUR9bDc3Jk=; h=Date:From:To:Subject:In-Reply-To:From; b=RMEXFSrrMhDSJSQO+v/21k26w3JlTpgfhKX8AXnMMCIjrCwwHTT8Xc3bUCe+CSLPF gXxdpKVsyANl8RTqqqXPr2XdX82jbBqnr5XfuLwZZpMwqh3eQ0sCVEMBJflFvQGnb2 p9EjQekjkCLS4el7NRyJgvWehg7iBtzUQU3BX8u1bxLjafz1yBUVM/SjKCoseU0Wd+ uXa+QFs/2gMrv7wdAJcor0Y2JBZ4WNy2MP4Y/aT+3mwVePH5hVP8fIc3XYWC9cG6nC OiHh280uJlPOe97PUvOoqNweOkA5us90Goatu0S+xEmjxlluu4WnXdUDZS3A3jVgNL LCUKbtTFQqwkA== Received: by schmee.alvh.no-ip.org (Postfix, from userid 1000) id 62AEEA7; Fri, 24 May 2024 12:20:05 +0200 (CEST) Date: Fri, 24 May 2024 12:20:05 +0200 From: Alvaro Herrera To: matthias.hoermann@saltation.com, pgsql-www@lists.postgresql.org Subject: Re: BUG #18476: Debian Install Docs have confusing code block structure Message-ID: <202405241020.updiuccxlbl2@alvherre.pgsql> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="cd46wsli6us33beo" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <18476-5cf162189c5c6dbc@postgresql.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --cd46wsli6us33beo Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit 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) --cd46wsli6us33beo Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename="0001-Split-the-install-script-in-download-linux-debian.patch" Content-Transfer-Encoding: 8bit