How about finally replacing GNATS?

Chris Rees crees at FreeBSD.org
Thu Oct 25 19:03:33 UTC 2012


On 25 October 2012 19:52, Erik Cederstrand <erik at cederstrand.dk> wrote:
> Den 25/10/2012 kl. 17.53 skrev Dag-Erling Smørgrav <des at des.no>:
>
>> Erik Cederstrand <erik at 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 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.
>
>> 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.
>
> 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 at 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


More information about the freebsd-arch mailing list