Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 0E54298F705 for ; Tue, 5 Jun 2012 06:43:03 -0300 (ADT) Received: from moutng.kundenserver.de ([212.227.17.9]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SbqI0-0002ei-Ow for pgsql-www@postgresql.org; Tue, 05 Jun 2012 09:43:02 +0000 Received: from awork2.localnet (p5DDC7192.dip.t-dialin.net [93.220.113.146]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0Lgf13-1SELRm2iXN-00niOU; Tue, 05 Jun 2012 11:42:36 +0200 From: Andres Freund Organization: 2ndquadrant.com To: Magnus Hagander Subject: Re: [PATCH] Cross-version navigation in documentation Date: Tue, 5 Jun 2012 11:42:33 +0200 User-Agent: KMail/1.13.7 (Linux/3.4.0-andres; KDE/4.7.4; x86_64; ; ) Cc: Marti Raudsepp , "pgsql-www" , Stefan Kaltenbrunner References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201206051142.34071.andres@2ndquadrant.com> X-Provags-ID: V02:K0:CUeIMWhAdDcB7/yRy5NAQa0WXrXjzr3chBVwf+Zb+Hv hlLb+rdaXlI+N/ORuKXlokPywsKXciGCuwq7LNlTk9n6YuVL8r mn6EgDvsPBs57sveN6LE5IdikO0X6Z7K3Tr90hT03PffiOnE1x dYjoBjWunAbUTJ6xXg235UZ8zIy49gNVojMbPhK18ymXf+PYtq MxDR/7LdPzM3KJ+gO7dZXq1qiHahBFzF4IMmkWDQD9ckQnPiRl ixVwtvnWo3hQcQHJPE2UQlCKbzfu8+vO0ZHoY5U34OOmbBjKWX GWXG76llF48ig8Y7ZgJZZRZ69uyLD6PtFRP8V3OCBtgvIpUlC6 5vmuhLHZI+r7bZ79UUoS410CC6fKI/5o6FLEySgmZuwXjVcFjl 5JwJIj4SIaMgg== X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201206/6 X-Sequence-Number: 20700 On Tuesday, June 05, 2012 10:59:54 AM Magnus Hagander wrote: > On Wed, May 30, 2012 at 11:58 AM, Marti Raudsepp wrote: > > On Mon, May 28, 2012 at 2:44 PM, Andres Freund wrote: > >> The amount of pages actually having been renamed isn't that big. Marti > >> opened up his version of the docs to me and I browsed along and even > >> between 7.4 and 9.1 I had a hard time finding pages where you would > >> expect a link from 7.4 forwards. > > > > Exactly. And people rely on page names right now anyway -- they find > > the page on Google and then just change the version number in the URL > > and see if it works. Either that, or they will read the wrong version. > > What I'm proposing solves >95% of the cases and I think that is good > > enough. > > Given that nobody has objecte,d I'm going to go ahead and do this. Great! > However - should we perhaps just list supported versions? Turns the query > into: versions = > DocPage.objects.filter(file=fullname).extra(where=['version IN (SELECT > tree FROM core_version WHERE > supported)']).order_by('-version').only('version', 'file') > > or if we do want to list all versions, we should somehow indicate > which versions are supported and not on this list as well, I think. > But I'm happy to just listed supported versions for now. I personally would like to see older versions there because every now and then I need to look something up for them, but its infrequent enough that I don't especially care. Thanks! Andres PS: Sorry Magnus, youve got the email twice. I recently reconfigured my mail client to disassociate reply-all from its previous key combination and I havent fully retrained myself. -- Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services