From owner-freebsd-arch@FreeBSD.ORG Thu Oct 25 19:31:32 2012 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CF7C72B1; Thu, 25 Oct 2012 19:31:32 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from noop.in-addr.com (mail.in-addr.com [IPv6:2001:470:8:162::1]) by mx1.freebsd.org (Postfix) with ESMTP id 951138FC14; Thu, 25 Oct 2012 19:31:32 +0000 (UTC) Received: from gjp by noop.in-addr.com with local (Exim 4.80 (FreeBSD)) (envelope-from ) id 1TRT99-000IfW-K1; Thu, 25 Oct 2012 15:31:15 -0400 Date: Thu, 25 Oct 2012 15:31:15 -0400 From: Gary Palmer To: Erik Cederstrand Subject: Re: How about finally replacing GNATS? Message-ID: <20121025193115.GD40357@in-addr.com> References: <1314468512.87152.YahooMailClassic@web113511.mail.gq1.yahoo.com> <4E593932.8060303@FreeBSD.org> <86sj928vks.fsf@ds4.des.no> <4FB39F66-0434-43F1-9705-3C81CDF2A25F@cederstrand.dk> <86ehkm8s5v.fsf@ds4.des.no> <0EF669C7-0ED4-4BD4-9170-C49A7CA91603@cederstrand.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0EF669C7-0ED4-4BD4-9170-C49A7CA91603@cederstrand.dk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: gpalmer@freebsd.org X-SA-Exim-Scanned: No (on noop.in-addr.com); SAEximRunCond expanded to false Cc: Dag-Erling Sm?rgrav , freebsd-arch@freebsd.org, giffunip@tutopia.com, Eitan Adler , Julien Laffaye X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2012 19:31:32 -0000 On Thu, Oct 25, 2012 at 08:52:59PM +0200, Erik Cederstrand wrote: > Den 25/10/2012 kl. 17.53 skrev Dag-Erling Sm?rgrav : > > > Erik Cederstrand writes: > >> Would a Python script called "send-pr" using the Bugzilla JSONRPC > >> webservice and a dummy Bugzilla user (to retain the possibility to > >> report anonymously) be acceptable? > > > > No. > > > > 1) We don't have Python in base. > > Is this really a problem? Casual users could just use the Bugzilla interface, and experienced users spitting out bug reports should be able to install a port. > > > 2) The solution you propose requires an internet connection. > > send-pr does too, right? It may be able to cache the report (I haven't checked), but a Python send-pr could do that, too. send-pr uses the local mail system to send the bug report. So it doesn't require direct Internet access, and can be batched (e.g. uucp) > > 3) We need to be able to handle PRs submitted from existing FreeBSD > > installations > > Does send-pr really need to stay in base? It could be a port, and users could just install that port. In my opinion, send-pr or a simple to use replacement needs to stay in base and not rely on the presence of X or any other utilities that are not in base. > Implementing a JSON HTTPS client in bourne shell seems, well, painful. But maybe I could write a Python script to process emails received at FreeBSD-gnats-submit@freebsd.org and shepherd them into Bugzilla? Then only there MX would need Python. If it cannot be done in base, something on the server end would make sense. Gary