Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gkVEl-00034y-KI for pgsql-www@arkaria.postgresql.org; Fri, 18 Jan 2019 14:35:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gkVEk-0005A9-66 for pgsql-www@arkaria.postgresql.org; Fri, 18 Jan 2019 14:35:10 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gkVEj-00059w-TW for pgsql-www@lists.postgresql.org; Fri, 18 Jan 2019 14:35:10 +0000 Received: from tamriel.snowman.net ([2001:470:e38f::11]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gkVEg-0007Qy-CB; Fri, 18 Jan 2019 14:35:08 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 9BDCA5F79E; Fri, 18 Jan 2019 09:35:05 -0500 (EST) Date: Fri, 18 Jan 2019 09:35:05 -0500 From: Stephen Frost To: Tom Lane Cc: Magnus Hagander , Dimitri Fontaine , Alvaro Herrera , Andres Freund , "Jonathan S. Katz" , PostgreSQL WWW Subject: Re: mailing list redirect for bug numbers? Message-ID: <20190118143505.GN2528@tamriel.snowman.net> References: <201901162154.tg6vsmfylacs@alvherre.pgsql> <20190117154202.GH2528@tamriel.snowman.net> <20190117182821.GK2528@tamriel.snowman.net> <22663.1547759616@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="/2noOpKFPxsahIuk" Content-Disposition: inline In-Reply-To: <22663.1547759616@sss.pgh.pa.us> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --/2noOpKFPxsahIuk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Greetings, * Tom Lane (tgl@sss.pgh.pa.us) wrote: > Magnus Hagander writes: > > On Thu, Jan 17, 2019 at 7:28 PM Stephen Frost wrot= e: > >> Uhhh, no, the point here was to assign bug numbers for emails to -bugs > >> which *don't* go through the bugs form and therefore didn't have the b= ug > >> number info in the message. >=20 > > Without having the ability to properly merge bugs and to structured cro= ss > > referencing and such, I think that's a really bad idea. That's going to > > cause more problems than it's fixing. >=20 > Agreed. If we have bug numbers assigned to messages that aren't bugs, We *already* have bug numbers regularly assigned to messages that aren't bugs because they're non-bugs that come through the bugs form, and I can't say that I see it being a serious issue, and there really isn't anything we're going to be able to do to deal with it anyway, no matter what we do. > or are replies to bugs, it's just going to be a mess. In my suggestion, replies to bugs that are sent by a sensible MUA would have the bug # of the bug being replied to- in exactly the same way that our archives have a mapping from message IDs to thread IDs internally and that's how we get the threading in the archives. My suggestion would just mean that a thread like this: https://www.postgresql.org/message-id/flat/2047094.V130LYfLq4%40station53.o= usa.org would get a bug ID assigned to it, and that bug ID would show up in a 'X-Pg-BugId' field and you'd be able to have a link to the thread like this: https://postgr.es/b/123456 Another idea along this same vein would be to provide a way for the thread IDs that we already assign to be available as a link and then include that thread ID as an extra header. Now, Magnus brought up a reasonable concern that making pgLister have to figure out the threading would add a bunch of stuff into it that currently lives in the archives instead (which is independent), and that's a pretty good point, so, here's a different idea- we could just assign an ID to every message that comes through pgLister from some sequence (or maybe a sequence per mailing list..) and then provide a mapping from that ID to the message in the archives. In other words, we'd add a header like: X-PG-MessageId: 123453 And then be able to use links like: https://postgr.es/p/pgsql-hackers/123453 This would work across lists, not require much from pglister, and be able to be searched in an offline manner through local archives. So, this seems to help with "we want a shorter URL to put into the commit log that we can also search through offline email archives" but it doesn't solve the "we want a bug #" (or, at least, it doesn't solve it any more than the current system does). I'm left wondering what the bug #'s use really is though. We use it in some places to refer to a particular report that came in, but we regularly use message-IDs and URLs too because we have lots of things that come in via -general or -hackers or directly to -bugs without going through the bugs form. Just to wrap this up, what I'm trying to get at is that I'd rather we try to solve for the specific issue that came up rather than building a solution on something that's already only a partial answer to begin with, in that we often want to link from the commits to discussions on -hackers or to emails to -bugs that didn't have a bug # and those aren't addressed with this particular approach. Thanks! Stephen --/2noOpKFPxsahIuk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJcQeQZAAoJEO1sijiDR2RVun4QAKhPRo5r0V1Kdj1YpHpuScA9 UkA+Bdx2Wjz81BfLmpU1GdaSAI2yTgxMJEb4NL7oCQzWvg1Cy4X8xz7In3P4Et0I 5mfGedWV3/iH4Y5QRKyO1FP6t6phfNyeiYIRmCX0Gh/xRH3TdRlESG/p/2h17Io4 md2RQTD5a2Ky0Y9oLLYr2mdno7dOfcnv8C61xNyVhS9fDoiyX9835KoVZOTYBBI9 IcfrQFUHbIpwIhSCgdabEUbH/1d1REhRr3pR1vWyZ8fc1bTjfHT8ug/eKjm8gHmt 0TZxLDtRAq3vUhJPRluCscFy72duEM5h8a1DnAwNMGurPsMmuEXd5BGXb6ljeYs3 zbpM6ibzt7mIBatWClwvi7Fge4ufLlG+BJ3cS0LHKChgfgoNysH73g2pBSFqvNEP yiXCEKzO/gurvkZ4rWrh43NF7tliZkpaBH4FAegHgCgwNUzmJ5XLAayD+El50TgS yDZpMKJS3OfUxtYREIyVT+3sq8yLqtM0D89nFek5BZ+XsAMQ5Zzv6F7v8r39ea38 W1za3V0M9CCwCQkjM9dAwSedyjD525+etkm/8yEifaqUf8Cm2x1TnUAe1qVtMVd5 AoMtnUCT6gNjx9EGiJkETfCQOWZWFcRDxk1jS3nG1Hf9ngjLlGkJpBJS4PvT9mN1 sPfIJuOklouE0SqiSJZp =ElTx -----END PGP SIGNATURE----- --/2noOpKFPxsahIuk--