Debian Bug report logs - #496692
bugs.debian.org: upstream tag and usertags doesn't play well together

Package: bugs.debian.org; Maintainer for bugs.debian.org is Debian Bug Tracking Team <owner@bugs.debian.org>;

Reported by: Luca Capello <luca@pca.it>

Date: Tue, 26 Aug 2008 19:09:02 UTC

Severity: normal

Done: Don Armstrong <don@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Luca Capello <luca@pca.it>, "ML Debian FreeSmartphone.Org Team" <pkg-fso-maint@lists.alioth.debian.org>, Debian Bug Tracking Team <owner@bugs.debian.org>:
Bug#496692; Package bugs.debian.org. Full text and rfc822 format available.

Acknowledgement sent to Luca Capello <luca@pca.it>:
New Bug report received and forwarded. Copy sent to Luca Capello <luca@pca.it>, "ML Debian FreeSmartphone.Org Team" <pkg-fso-maint@lists.alioth.debian.org>, Debian Bug Tracking Team <owner@bugs.debian.org>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Luca Capello <luca@pca.it>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: bugs.debian.org: upstream tag and usertags doesn't play well together
Date: Tue, 26 Aug 2008 21:07:03 +0200
[Message part 1 (text/plain, inline)]
Package: bugs.debian.org
Severity: normal

Hi there!

Yesterday I tried for the first time the 'usertags' option [1], as you
can read from my post in the pkg-fso mailing list [2].

The main fact, here, is that the pkg-fso group is working on packages
which cannot be uploaded yet to Debian [3].  Thus, we decided to use
usertags to have a complete view of bugs in all the packages we maintain
or in packages necessary for the Openmoko FreeRunner.

First problem: since I erroneously thought that usertags are a
completely different beast WRT tags, I set some 'upstream' usertags as
well.  This resulted in a strange view of [4]: it also included bugs
tagged 'upstream' but which have nothing to do with the 'users'.  It can
be reproduced adding the 'upstream' tag at the end of the BTS page.
This was something Don called an "interesting" result ;-)

From the discussion I had with Don on IRC, I (again probably miss-)
understood that the 'upstream' tag would have been included when I look
for usertags.  Thus, I removed all the 'upstream' usertags and while I
haven't the "interesting" result anymore, bugs with tag 'upstream' are
not included in [3].

This is something expected, because I don't see how debbugs can
automatically distinguish between all the 'upstream'-tagged bugs and the
one 'users' want.

I don't know which is the best solution here and moreover I'm not an
expert on usertags, but I came up with two of them:

1) using a modified 'upstream-$WHATEVER' usertag

   This solve the situation forever, but at the same time adds more
   usertags, let's say pkg-foo wants the same with 'upstream-foo'...

   FWIW, I'm going to use this solution until this bug will be closed.

2) defining a particular case for the 'upstream' usertag, which actually
   acts as a normal tag

   Every time the 'upstream' usertag is set, this is treated as a normal
   'upstream' tag with the exception that it's registered as an usertag
   for the user

Thx, bye,
Gismo / Luca

Footnotes: 
[1] http://wiki.debian.org/bugs.debian.org/usertags
[2] http://lists.alioth.debian.org/pipermail/pkg-fso-maint/2008-August/000037.html
[3] http://wiki.debian.org/DebianOnFreeRunner
[4] http://bugs.debian.org/cgi-bin/pkgreport.cgi?users=pkg-fso-maint@lists.alioth.debian.org;tags=upstream

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
[Message part 2 (application/pgp-signature, inline)]

Reply sent to Don Armstrong <don@debian.org>:
You have taken responsibility. (Tue, 13 Apr 2010 17:21:17 GMT) Full text and rfc822 format available.

Notification sent to Luca Capello <luca@pca.it>:
Bug acknowledged by developer. (Tue, 13 Apr 2010 17:21:17 GMT) Full text and rfc822 format available.

Message #10 received at 496692-done@bugs.debian.org (full text, mbox):

From: Don Armstrong <don@debian.org>
To: 496692-done@bugs.debian.org
Subject: Re: Bug#496692: bugs.debian.org: upstream tag and usertags doesn't play well together
Date: Mon, 12 Apr 2010 19:33:18 -0700
On Tue, 26 Aug 2008, Luca Capello wrote:
> I don't know which is the best solution here and moreover I'm not an
> expert on usertags, but I came up with two of them:
> 
> 1) using a modified 'upstream-$WHATEVER' usertag
> 
>    This solve the situation forever, but at the same time adds more
>    usertags, let's say pkg-foo wants the same with 'upstream-foo'...
> 
>    FWIW, I'm going to use this solution until this bug will be closed.

This is what you have to do.
 
> 2) defining a particular case for the 'upstream' usertag, which actually
>    acts as a normal tag
> 
>    Every time the 'upstream' usertag is set, this is treated as a normal
>    'upstream' tag with the exception that it's registered as an usertag
>    for the user

This isn't possible to do without making usertags behave significantly
differently than they do currently.

When you add in a user's tags, everything in the system behaves as if
those tags were actually set on the bugs, and as if they were real
tags. If you happen to select a tag which is also a normal tag, and
you just select the set of all bugs which are tagged, that's what
you'll get.

You also have a third option of having every bug that you care about
have some special tag like specialbugs or something, and then only
select those bugs. [A fourth option would be to ask for a feature
request to allow selection of bugs which are only usertagged by a
user... but that'd require waiting for me to do code changes and a
separate bug against debbugs to be filed.]


Don Armstrong

-- 
This message brought to you by weapons of mass destruction related
program activities, and the letter G.

http://www.donarmstrong.com              http://rzlab.ucr.edu




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Wed, 12 May 2010 07:48:22 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed Apr 23 08:57:16 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.