Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m5zRB-0008RA-4R for pgsql-docs@arkaria.postgresql.org; Tue, 20 Jul 2021 23:46:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1m5zRA-00040E-3l for pgsql-docs@arkaria.postgresql.org; Tue, 20 Jul 2021 23:46:08 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m5zR9-000406-Pc for pgsql-docs@lists.postgresql.org; Tue, 20 Jul 2021 23:46:07 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m5zR4-00011h-JR for pgsql-docs@lists.postgresql.org; Tue, 20 Jul 2021 23:46:06 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id C70BA320094F; Tue, 20 Jul 2021 19:45:59 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Tue, 20 Jul 2021 19:46:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=KwlIHyeV5y41d1CnoHU7ge5z33+kFTSV1NaZ6XcOojo=; b=RJPb48Jz /cHC4Et0QAfELzUSwj3EO5yhRA1DmLCN+LD1zET7hwsrYdTnihlPlaJm59GnUpCo EIjRwr4x7/D5zGaMjcgDT3vcRDnEukvtVsSfG+f00faIJbJZ/3dhwMNvI0REi/lp ZOr/nhNAiVHmZWe1csLoHWwGV2kSpQ8jT5Q2xhovV5itLfN/0pltUfXNpRdvRqc9 nAvPNrk/06CXfs+aubNYaXEVv5le9WVmm4jtnvbjKmgz9NTKLTKQFcH0JKHn9JcY Bnk3JWC4qsugNSWykhrsFno3ndzBbGAYZtV1jTlvoVpJEM30R5zMVStSu6XpKXL3 0pL5tEG0OgQHnQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrfeefgddvvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkgggtugfgjgesmhekreertddtjeenucfhrhhomheptehlvhgrrhho ucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgheqne cuggftrfgrthhtvghrnhepheelueekleeiueelgedvhffhgfejieefkeegveehleeghfel fffgleekgfegteeinecuffhomhgrihhnpehpohhsthhgrhgvshhqlhdrohhrghdpvghnth gvrhhprhhishgvuggsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghm pehmrghilhhfrhhomheprghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 20 Jul 2021 19:45:58 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 5E0F02A077A; Tue, 20 Jul 2021 19:45:55 -0400 (-04) Date: Tue, 20 Jul 2021 19:45:55 -0400 From: Alvaro Herrera To: Tom Lane Cc: "Jonathan S. Katz" , "Daniel Westermann (DWE)" , "pgsql-docs@lists.postgresql.org" Subject: Re: Link t the souce code Message-ID: <202107202345.imvyzt5yio5v@alvherre.pgsql> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="cukfwqd3x2sookv2" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4187443.1620343820@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --cukfwqd3x2sookv2 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit On 2021-May-06, Tom Lane wrote: > Alvaro Herrera writes: > > 3. add a separate paragraph that says to obtain the source from the > > other dir if it's the development one. > > I kinda prefer the last one, because then we could also suggest to use a > > Git repo instead of a tarball, which I suppose is the best option anyway. > > Yeah. There is text mentioning the git repo further down, but it's > hardly prominent. We should move it up and recommend that as the > best thing for dev work. Here are two patches. v2 is a minimal change; it just adds a parenthical comment about the snapshot tarball and a mention of "the text below" which is where the source code repository is mentioned. v3 rewrites the text more aggressively, so that it opens with instructions to clone the Git repo, and the released version tarballs are mentioned further down. The bad thing about this one is that in the devel version it still talks about files that don't exist; for example in branch master it renders as: Alternatively, the released versions can be obtained from the download section of our website: https://www.postgresql.org/ftp/source/. You should get a file named postgresql-15devel.tar.gz or postgresql-15devel.tar.bz2. After you have obtained the file, unpack it: tar xfa postgresql-15devel.tar.gz This will create a directory postgresql-15devel under the current directory with the PostgreSQL sources. Change into that directory for the rest of the installation procedure. Now, we *could* make this fully correct by adding --param pg.version.devel 'true' (or something like that) to the Makefile, and include paragraphs conditionally to make it fully correct. I'm not sure it's worth the effort. -- Álvaro Herrera 39°49'30"S 73°17'W — https://www.EnterpriseDB.com/ --cukfwqd3x2sookv2 Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename="v2-0001-Improve-installation-instructions-a-bit.patch"