Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Oct 2012 20:02:55 +0100
From:      Chris Rees <crees@FreeBSD.org>
To:        Erik Cederstrand <erik@cederstrand.dk>
Cc:        =?ISO-8859-1?Q?Dag=2DErling_Sm=F8rgrav?= <des@des.no>, freebsd-arch@freebsd.org, giffunip@tutopia.com, Eitan Adler <lists@eitanadler.com>, Julien Laffaye <jlaffaye@freebsd.org>
Subject:   Re: How about finally replacing GNATS?
Message-ID:  <CADLo839m8R9D8tB3hQwZpGMMDsagfYJyLwmpPu2mHBzhZWU_Aw@mail.gmail.com>
In-Reply-To: <0EF669C7-0ED4-4BD4-9170-C49A7CA91603@cederstrand.dk>
References:  <1314468512.87152.YahooMailClassic@web113511.mail.gq1.yahoo.com> <4E593932.8060303@FreeBSD.org> <CAF6rxgnCPcisTFn37VtYsvHhttQvc1=DxXLuqq7kScJG3UL=cA@mail.gmail.com> <C76EF9E9-2F9A-4F49-9ADE-1C7074510BC4@cederstrand.dk> <86sj928vks.fsf@ds4.des.no> <4FB39F66-0434-43F1-9705-3C81CDF2A25F@cederstrand.dk> <86ehkm8s5v.fsf@ds4.des.no> <0EF669C7-0ED4-4BD4-9170-C49A7CA91603@cederstrand.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On 25 October 2012 19:52, Erik Cederstrand <erik@cederstrand.dk> wrote:
> Den 25/10/2012 kl. 17.53 skrev Dag-Erling Sm=F8rgrav <des@des.no>:
>
>> Erik Cederstrand <erik@cederstrand.dk> 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 interf=
ace, and experienced users spitting out bug reports should be able to insta=
ll 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 ch=
ecked), but a Python send-pr could do that, too.
>
>> 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 c=
ould just install that port.
>
> Implementing a JSON HTTPS client in bourne shell seems, well, painful. Bu=
t 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.

As Dag-Erling said, this is the only acceptable solution for retaining
backwards-compatibility-- users still need to be able to use send-pr
for the forseeable future.

Luckily GNATS is easy to parse.  Unfortunately I lack the cycles
currently to get this done :(

Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo839m8R9D8tB3hQwZpGMMDsagfYJyLwmpPu2mHBzhZWU_Aw>