pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Greg Smith <greg@2ndQuadrant.com>
To: Jay Levitt <jay.levitt@gmail.com>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: Alex <ash@commandprompt.com>
Cc: Dimitri Fontaine <dimitri@2ndquadrant.fr>
Cc: Alvaro Herrera <alvherre@commandprompt.com>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Pg Hackers <pgsql-hackers@postgresql.org>
Subject: Re: Bug tracker tool we need
Date: Tue, 17 Apr 2012 13:59:09 -0400
Message-ID: <4F8DAF6D.7030103@2ndQuadrant.com> (raw)
In-Reply-To: <4F8D6E37.5090808@gmail.com>
References: <CA+Tgmoa75QujxzCZC+dj=0+JayGPhJD2kQMDBmbGmmq_HPgHxw@mail.gmail.com>
	<CA+TgmoY+p8BiRPgCQQdON_a4DQvy3Hx03ug-j2eL8=Za_88WFQ@mail.gmail.com>
	<CAEYLb_VUiz57BeDy8d2gWQt_HRn9xpw83gt7MS0+wYmUopasrA@mail.gmail.com>
	<CA+TgmoZLWG=napMA-Fx4u8PTGDkY2CMz84LXAACsvhKRL+D2vg@mail.gmail.com>
	<4F84D3A0.8010808@2ndQuadrant.com>
	<CA+TgmoaN2wi85HVS-xuZkw9O6O_RmF4ovxX+=n6o2x6a1S2b-A@mail.gmail.com>
	<1334165303.25392.9.camel@vanquo.pezone.net>
	<28338.1334168965@sss.pgh.pa.us>
	<1334180206.25392.39.camel@vanquo.pezone.net>
	<CA+TgmoariJzLZ-9CfhF-Xwezk=UbmG_WUk5KydPYb8qFJzgkXw@mail.gmail.com>
	<1334350086.9019.16.camel@vanquo.pezone.net>
	<878vhyeqyq.fsf@commandprompt.com>
	<4F89ED6C.4030609@gmail.com>
	<87d379mwan.fsf@commandprompt.com>
	<1334540156-sup-2520@alvh.no-ip.org>
	<878vhwnjhv.fsf@hi-media-techno.com>
	<877gxf7ihf.fsf_-_@commandprompt.com>
	<4F8C93B2.1000503@gmail.com>
	<CABUevEw+9ZCC8eBQmWyjrmEyFFH=oBV270Hv=Cq9qPSLepehJg@mail.gmail.com>
	<4F8D6E37.5090808@gmail.com>

On 04/17/2012 09:20 AM, Jay Levitt wrote:
> Antispam is (in the large) a technically unsolvable
> problem; even in the '90s, we'd see hackers start poking at our newest
> countermeasures within the hour. GitHub is a giant target, and PG
> probably benefits here from NOT being one.

Everyone who deals with list moderation and spam issues around 
PostgreSQL just got a belly laugh from that comment.  Hint:  the 
PostgreSQL lists had already been around and therefore were being 
targeted by spammers for over ten years before GitHub even existed.

> Pedantic note/fun fact: There was no email antispam in 1994

I like it when Magnus really gets the details perfect when making a 
deadpan joke.

Anyway, back to serious talk, I believe GitHub is a dead end here 
because the "primary key" as it were for issues is a repo.  A bug 
tracker for PostgreSQL would need to have issues broken down per branch 
and include information similar to the release notes for each minor 
point release.  Tracking when and how a bug is backported to older 
versions is one hard part of the problem here.

For example, Trac, Redmine, and Github all have ways to make a commit 
message reference an issue, something like "fixes #X".  That's fine for 
projects that don't have a complicated backport policy, but I haven't 
been able to figure out how to make it work well enough for a PostgreSQL 
bug tracker, to end up saving any work here.  In some cases, a bug 
shouldn't be closed until it's been backported to all supported 
releases.  Others will only fix in relevant releases.

Let's pick a real example from the last week of my life, where having a 
bug tracker would have helped me out.  This appears in a log:

ERROR: missing chunk number 0 for toast value 1167375 in pg_toast_2619

What I should be able to do here is search the bug tracker for these 
words and have it spit out an issue that looks like this

===

Bug:  Fix race condition during toast table access from stale syscache 
entries

Impact:  Transient query failures

Fixed in:

9.2.0:  http://archives.postgresql.org/pgsql-committers/2011-11/msg00012.php

9.1.2:  http://archives.postgresql.org/pgsql-committers/2011-11/msg00016.php

9.0.6:  http://archives.postgresql.org/pgsql-committers/2011-11/msg00014.php

8.4.10: 
http://archives.postgresql.org/pgsql-committers/2011-11/msg00013.php

8.3.17: 
http://archives.postgresql.org/pgsql-committers/2011-11/msg00017.php

8.2.23: 
http://archives.postgresql.org/pgsql-committers/2011-11/msg00015.php

===

Note that the "fixed in" version information doesn't show up until some 
time *after* the bug fix is committed, because they normally get rolled 
into the next minor release in bulk.

A bug tracking system for PostgreSQL will start looking attractive when 
it makes life easier for the people who do these backports and the 
associated release notes.  Start looking at the problem from their 
perspective if you want to figure out how to make that happen.  I don't 
have a good answer to that; I just know that Trac, Redmine, and GitHub 
haven't felt like a good fit, having used every one of that trio for 
multiple years now at some point.

-- 
Greg Smith   2ndQuadrant US    greg@2ndQuadrant.com   Baltimore, MD
PostgreSQL Training, Services, and 24x7 Support www.2ndQuadrant.com



view thread (73+ messages)  latest in thread

Message-ID: <4F8DAF6D.7030103@2ndQuadrant.com>
Permalink:  ../4F8DAF6D.7030103@2ndQuadrant.com/
Also on:    postgresql.org/message-id/4F8DAF6D.7030103@2ndQuadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: greg@2ndQuadrant.com, jay.levitt@gmail.com, magnus@hagander.net, ash@commandprompt.com, dimitri@2ndquadrant.fr, alvherre@commandprompt.com, peter_e@gmx.net, robertmhaas@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: Bug tracker tool we need
  In-Reply-To: <4F8DAF6D.7030103@2ndQuadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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