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 1O9qUb-0004Ol-7L for garchives@archives.gentoo.org; Thu, 06 May 2010 02:07:13 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6307FE08AE; Thu, 6 May 2010 02:07:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id D611AE064C for ; Thu, 6 May 2010 02:06:42 +0000 (UTC) Received: from [192.168.0.3] (e179014222.adsl.alicedsl.de [85.179.14.222]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 2A4921B404C for ; Thu, 6 May 2010 02:06:41 +0000 (UTC) Message-ID: <4BE2242F.2030209@gentoo.org> Date: Thu, 06 May 2010 04:06:39 +0200 From: Sebastian Pipping User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100419 Thunderbird/3.0.4 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 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [v5] Planning for automatic assignment computation of bugs References: <20100503214957.GA30113@orbis-terrarum.net> In-Reply-To: <20100503214957.GA30113@orbis-terrarum.net> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: eab6df98-3c37-441f-b829-af724c93390d X-Archives-Hash: a2e11912bde2720feedd8957006dc0d9 On 05/03/10 23:49, Robin H. Johnson wrote: > Known prototypes: > ================= > http://dev.gentoo.org/~rbu/assign.py > - I believe this prototype is fully up to date, it just takes > herds/metadata.xml as well as a string, and gives you the output the > commandline. > rbu: can you confirm that your prototype matches the proposal? I have fork of that laying around here: http://git.goodpoint.de/?p=eassign.git;a=summary When rbu and I last talked about it we came to the conclusion that the tool serves several distinct use cases .. - backend use by bugzilla - command line use on package X, even without a bug - security team usage (forgot the details) .. 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. I know that neither rbu nor me have resources for the code of this atm, maybe idl0r has? I'd like to be notified on progress, though. Two regex related things I'd like to append: - I've been using this alternative regex for but title extraction elsewhere before, seems to work well: 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+]+))') - If you stick with the original pattern, this patch may still help: http://git.goodpoint.de/?p=eassign.git;a=commitdiff;h=7ad3cd607589aba7a1528dbd0744a942d18065eb > 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. > 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". > 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. Best, Sebastian