From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1O9snh-0005VH-UF for garchives@archives.gentoo.org; Thu, 06 May 2010 04:35:06 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EC58BE0800; Thu, 6 May 2010 04:34:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 063B4E055C for ; Thu, 6 May 2010 04:34:33 +0000 (UTC) Received: from mail.isohunt.com (b01.ext.isohunt.com [208.71.112.51]) by smtp.gentoo.org (Postfix) with ESMTP id 785AF1B4023 for ; Thu, 6 May 2010 04:34:32 +0000 (UTC) Received: (qmail 11455 invoked from network); 6 May 2010 04:27:50 -0000 Received: from tsi-static.orbis-terrarum.net (HELO grubbs.orbis-terrarum.net) (76.10.188.108) by mail.isohunt.com (qpsmtpd/0.33-dev on beta01) with (CAMELLIA256-SHA encrypted) ESMTPS; Thu, 06 May 2010 04:27:50 +0000 Received: (qmail 15234 invoked by uid 10000); 6 May 2010 04:27:49 -0000 Date: Thu, 6 May 2010 04:27:49 +0000 From: "Robin H. Johnson" To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [v5] Planning for automatic assignment computation of bugs Message-ID: References: <20100503214957.GA30113@orbis-terrarum.net> <4BE2242F.2030209@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4BE2242F.2030209@gentoo.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-Archives-Salt: fc84935d-511c-48d0-97e7-d9c6af3c2d97 X-Archives-Hash: 9584c9faab528a864a80f7b8c509c9bc On Thu, May 06, 2010 at 04:06:39AM +0200, Sebastian Pipping wrote: > .. and that they need to be split smartly to keep each working in a > shared codebase. python modules and three entry point scripts on it > could work. +1 on that. > package_pattern = > re.compile('\\b(?P[a-z0-9_+-]+-[a-z0-9_+-]+)/(?P[a-z0-9_+-]+(?:[a-z_+]+[0-9]+|[a-z0-9_+-]+[a-z+]+))') - Fails to match category 'virtual'. - That PV matching looks really fishy. - I would probably just steal the pkgatom stuff from pkgcore/Portage, as that's already a fairly canonical regex. > - If you stick with the original pattern, this patch may still help: > http://git.goodpoint.de/?p=eassign.git;a=commitdiff;h=7ad3cd607589aba7a1528dbd0744a942d18065eb I think most of this might have already from from one the above. > > How is it integrated into workflow? > > =================================== > > [..] > > 5. Javascript then appends the server results into the "Additional > > Comments" box: a suggested assignee and suggested CC values, with logic > > as to why. > assign.py does not explain reasoning, yet. Ok, major todo on adding it, see below for why. > > Assignment/CC computing: > > ======================== > > Step 1 - Summary line processing > > -------------------------------- > > [..] > > 3. Process ALL atoms in the summary line, using any after the first for CC > > only. (new in v4) > > I'm unsure about the handling of order: > it wouldn't work well for "dependency foo/bar missing on foo2/bar2". That's part of why the reasoning output was needed. The full output for that should be something like: ========= Combined: --------- To: $ADDR1 CC: $ADDR2,$ADDR3 Ignoring: $ADDR4, $ADDR5 For foo/bar: ------------ To: ... CC: ... Ignoring: ... For foo2/bar2: -------------- To: ... CC: ... Ignoring: ... ========= (optionally with some CLI options to say give only the combined version). > > Step 2 - Metadata.xml contains only a herd > > ------------------------------------------ > > 1. Take the herd element, and look up the herd in herds.xml to convert > > to an email address. This email address must be a valid bugzilla > > account. > This may need a replacement map. Think media-video versus video, > perl-bugs versus perl, etc. I'm saying the replacement map IS from the herds.xml data. For herds that have multiple emails (normal mail vs. bugzilla address), we really need to find a way to document both of them in herds.xml. -- Robin Hugh Johnson Gentoo Linux: Developer, Trustee & Infrastructure Lead E-Mail : robbat2@gentoo.org GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85