Re: send-pr must live

2014-11-21 Thread Erik Cederstrand
> Den 20/11/2014 kl. 18.07 skrev Chris H :
> 
> Greetings,
> While I recognize that send-pr has pretty much
> become useless, with the advent of bugzilla, being made
> the new "official" FreeBSD bug reporting system. I really
> miss send-pr, and was hoping I could revive it, eg;
> integrate it with bugzilla. I had even contemplated adding
> a feature that would allow it to also work with local
> port/system building structures people often use to build,
> and maintain FreeBSD.

The original send-pr simply send an email to freebsd-gnats-sub...@freebsd.org. 
I wrote a script some years ago to parse the contents of that email and import 
it into Bugzilla using the Bugzilla XML-RPC API: 
https://github.com/ecederstrand/send-pr

The advantage is that no changes are necessary to the original send-pr because 
the script would run on a freebsd.org server. I haven't adapted it to the 
Bugzilla that is running now, but it should be fairly easy. Maybe this could be 
of use?

Erik
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: send-pr must live

2014-11-20 Thread NGie Cooper
On Thu, Nov 20, 2014 at 1:51 PM, Chris H  wrote:
> On Thu, 20 Nov 2014 12:14:35 -0800 Garrett Cooper  
> wrote
>
>> Please take a look at python-bugzilla
> Hmm... no sign of it. Do you possibly mean; py-bugzillatools?
> Just groping.

All the hints were in my original reply...

[root@wkstn-lnx-ngie ngie]# easy_install python-bugzilla
Searching for python-bugzilla
Reading https://pypi.python.org/simple/python-bugzilla/
Best match: python-bugzilla 1.1.0
Downloading 
https://pypi.python.org/packages/source/p/python-bugzilla/python-bugzilla-1.1.0.tar.gz#md5=c95befd1fecad21f742beaa8180538c0
Processing python-bugzilla-1.1.0.tar.gz
Writing /tmp/easy_install-lR6lpK/python-bugzilla-1.1.0/setup.cfg
Running python-bugzilla-1.1.0/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-lR6lpK/python-bugzilla-1.1.0/egg-dist-tmp-yjKZ_J
zip_safe flag not set; analyzing archive contents...
Adding python-bugzilla 1.1.0 to easy-install.pth file
Installing bugzilla script to /usr/bin

Installed /usr/lib/python2.7/site-packages/python_bugzilla-1.1.0-py2.7.egg
Processing dependencies for python-bugzilla
Finished processing dependencies for python-bugzilla
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: send-pr must live

2014-11-20 Thread Chris H
On Thu, 20 Nov 2014 12:14:35 -0800 Garrett Cooper  wrote

> Please take a look at python-bugzilla
Hmm... no sign of it. Do you possibly mean; py-bugzillatools?
Just groping.

> (you'll need to install setuptools from
> ports, then run "easy_install python-bugzilla"). If that interface is
> sufficient and easy enough to use, I'll document some quick recipes for how
> to use it on the wiki and import it as a port. 
>
> Cheers!

--Chris


___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: send-pr must live

2014-11-20 Thread Garrett Cooper
Please take a look at python-bugzilla (you'll need to install setuptools from 
ports, then run "easy_install python-bugzilla"). If that interface is 
sufficient and easy enough to use, I'll document some quick recipes for how to 
use it on the wiki and import it as a port.

Cheers!
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: send-pr must live

2014-11-20 Thread Chris H
On Thu, 20 Nov 2014 10:26:08 -0800 Adrian Chadd  wrote
> On 20 November 2014 10:09, Chris H  wrote:
> > On Thu, 20 Nov 2014 09:40:16 -0800 "Waitman Gobble" 
> > wrote >
> >> On Thu, November 20, 2014 9:25 am, Muhammad Moinur Rahman wrote:
> >> > Nice idea. However I am working on reviving porttools to migrate within
> >> > bugzilla system. Maybe we can share some ideas.
> >> >
> >> > BR,
> >> > Muhammad
> >> >
> >> >
> >> > On Thu, Nov 20, 2014 at 11:07 PM, Chris H 
> >> > wrote: >> >
> >> >
> >> >> Greetings,
> >> >> While I recognize that send-pr has pretty much
> >> >> become useless, with the advent of bugzilla, being made the new
> >> >> "official" FreeBSD bug reporting system. I really
> >> >> miss send-pr, and was hoping I could revive it, eg; integrate it with
> >> >> bugzilla. I had even contemplated adding a feature that would allow it
> >> >> to also work with local port/system building structures people often
> >> >> use to build, and maintain FreeBSD. Any objections to my reviving
> >> >> send-pr? >> >>
> >> >>
> >> >> Thank you for all your time, and consideration.
> >> >>
> >> >>
> >> >> --Chris
> >> >>
> >> >>
> >> >>
> >> >> ___
> >> >> freebsd-current@freebsd.org mailing list
> >> >> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> >> >> To unsubscribe, send any mail to
> >> >> "freebsd-current-unsubscr...@freebsd.org"
> >> >>
> >> >>
> >> > ___
> >> > freebsd-current@freebsd.org mailing list
> >> > http://lists.freebsd.org/mailman/listinfo/freebsd-current
> >> > To unsubscribe, send any mail to
> >> > "freebsd-current-unsubscr...@freebsd.org" >> >
> >> >
> >>
> >> I liked using send-pr. It looks like Bugzilla 5.0 will have a native REST
> >> API but current versions use plugin.  Also I believe Bugzilla supports an
> >> email interface so it could be possible to keep send-pr as a shell script.
> > Indeed. It is perfectly inclined to use email. Which makes
> > [initial] integration perfectly *trivial*. :)
> > As to it having been shell based. While there's nothing wrong with
> > that at all, in fact it's advantageous in many respects. I was toying
> > with the idea of perhaps converting (augmenting) it to being Perl
> > based, by way of a statically linked mini-perl interpreter. I thought
> > it would better *empower* it, also providing for a more "user friendly"
> > dialog. But, like I said; just *toying* with the idea. :)
> >
> > --Chris
> >
> >>
> >>
> >>
> >> --
> >> Waitman Gobble
> >> Los Altos California USA
> >> +1.510-830-7975
> >
> >
> > ___
> > freebsd-hack...@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> > To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"
> Hi!
> 
> If you'd like to make it work then please do - just make sure you
> check with the bugteam about it. I'm worried that you're signing them
> up for more work (dealing with email spam again) which I /think/ they
> don't have to deal with now.
> 
> 
> -adrian
> 
> 
Thanks for the reply adrian.
Count on it. I hate SPAM more than the bugteam!
And as a result, I have some _very_ good strategies already employed.
So "keeping things clean" should prove a trivial matter.
I've already started the process. I'm loading up a copy of
devel/bugzilla44 now.

Thanks again, for your reply, Adrian -- even if it was an evil top post. ;)

--Chris

> ___
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: send-pr must live

2014-11-20 Thread Adrian Chadd
Hi!

If you'd like to make it work then please do - just make sure you
check with the bugteam about it. I'm worried that you're signing them
up for more work (dealing with email spam again) which I /think/ they
don't have to deal with now.


-adrian


On 20 November 2014 10:09, Chris H  wrote:
> On Thu, 20 Nov 2014 09:40:16 -0800 "Waitman Gobble"  
> wrote
>
>> On Thu, November 20, 2014 9:25 am, Muhammad Moinur Rahman wrote:
>> > Nice idea. However I am working on reviving porttools to migrate within
>> > bugzilla system. Maybe we can share some ideas.
>> >
>> > BR,
>> > Muhammad
>> >
>> >
>> > On Thu, Nov 20, 2014 at 11:07 PM, Chris H  wrote:
>> >
>> >
>> >> Greetings,
>> >> While I recognize that send-pr has pretty much
>> >> become useless, with the advent of bugzilla, being made the new
>> >> "official" FreeBSD bug reporting system. I really
>> >> miss send-pr, and was hoping I could revive it, eg; integrate it with
>> >> bugzilla. I had even contemplated adding a feature that would allow it
>> >> to also work with local port/system building structures people often use
>> >> to build, and maintain FreeBSD. Any objections to my reviving send-pr?
>> >>
>> >>
>> >> Thank you for all your time, and consideration.
>> >>
>> >>
>> >> --Chris
>> >>
>> >>
>> >>
>> >> ___
>> >> freebsd-current@freebsd.org mailing list
>> >> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>> >> To unsubscribe, send any mail to
>> >> "freebsd-current-unsubscr...@freebsd.org"
>> >>
>> >>
>> > ___
>> > freebsd-current@freebsd.org mailing list
>> > http://lists.freebsd.org/mailman/listinfo/freebsd-current
>> > To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
>> >
>> >
>>
>> I liked using send-pr. It looks like Bugzilla 5.0 will have a native REST
>> API but current versions use plugin.  Also I believe Bugzilla supports an
>> email interface so it could be possible to keep send-pr as a shell script.
> Indeed. It is perfectly inclined to use email. Which makes
> [initial] integration perfectly *trivial*. :)
> As to it having been shell based. While there's nothing wrong with
> that at all, in fact it's advantageous in many respects. I was toying
> with the idea of perhaps converting (augmenting) it to being Perl
> based, by way of a statically linked mini-perl interpreter. I thought
> it would better *empower* it, also providing for a more "user friendly"
> dialog. But, like I said; just *toying* with the idea. :)
>
> --Chris
>
>>
>>
>>
>> --
>> Waitman Gobble
>> Los Altos California USA
>> +1.510-830-7975
>
>
> ___
> freebsd-hack...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: send-pr must live

2014-11-20 Thread Chris H
On Thu, 20 Nov 2014 09:40:16 -0800 "Waitman Gobble"  wrote

> On Thu, November 20, 2014 9:25 am, Muhammad Moinur Rahman wrote:
> > Nice idea. However I am working on reviving porttools to migrate within
> > bugzilla system. Maybe we can share some ideas.
> >
> > BR,
> > Muhammad
> >
> >
> > On Thu, Nov 20, 2014 at 11:07 PM, Chris H  wrote:
> >
> >
> >> Greetings,
> >> While I recognize that send-pr has pretty much
> >> become useless, with the advent of bugzilla, being made the new
> >> "official" FreeBSD bug reporting system. I really
> >> miss send-pr, and was hoping I could revive it, eg; integrate it with
> >> bugzilla. I had even contemplated adding a feature that would allow it
> >> to also work with local port/system building structures people often use
> >> to build, and maintain FreeBSD. Any objections to my reviving send-pr?
> >>
> >>
> >> Thank you for all your time, and consideration.
> >>
> >>
> >> --Chris
> >>
> >>
> >>
> >> ___
> >> freebsd-current@freebsd.org mailing list
> >> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> >> To unsubscribe, send any mail to
> >> "freebsd-current-unsubscr...@freebsd.org"
> >>
> >>
> > ___
> > freebsd-current@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
> >
> >
> 
> I liked using send-pr. It looks like Bugzilla 5.0 will have a native REST
> API but current versions use plugin.  Also I believe Bugzilla supports an
> email interface so it could be possible to keep send-pr as a shell script.
Indeed. It is perfectly inclined to use email. Which makes
[initial] integration perfectly *trivial*. :)
As to it having been shell based. While there's nothing wrong with
that at all, in fact it's advantageous in many respects. I was toying
with the idea of perhaps converting (augmenting) it to being Perl
based, by way of a statically linked mini-perl interpreter. I thought
it would better *empower* it, also providing for a more "user friendly"
dialog. But, like I said; just *toying* with the idea. :)

--Chris

> 
> 
> 
> -- 
> Waitman Gobble
> Los Altos California USA
> +1.510-830-7975


___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: send-pr must live

2014-11-20 Thread Waitman Gobble

On Thu, November 20, 2014 9:25 am, Muhammad Moinur Rahman wrote:
> Nice idea. However I am working on reviving porttools to migrate within
> bugzilla system. Maybe we can share some ideas.
>
> BR,
> Muhammad
>
>
> On Thu, Nov 20, 2014 at 11:07 PM, Chris H  wrote:
>
>
>> Greetings,
>> While I recognize that send-pr has pretty much
>> become useless, with the advent of bugzilla, being made the new
>> "official" FreeBSD bug reporting system. I really
>> miss send-pr, and was hoping I could revive it, eg; integrate it with
>> bugzilla. I had even contemplated adding a feature that would allow it
>> to also work with local port/system building structures people often use
>> to build, and maintain FreeBSD. Any objections to my reviving send-pr?
>>
>>
>> Thank you for all your time, and consideration.
>>
>>
>> --Chris
>>
>>
>>
>> ___
>> freebsd-current@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to
>> "freebsd-current-unsubscr...@freebsd.org"
>>
>>
> ___
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
>
>

I liked using send-pr. It looks like Bugzilla 5.0 will have a native REST
API but current versions use plugin.  Also I believe Bugzilla supports an
email interface so it could be possible to keep send-pr as a shell script.



-- 
Waitman Gobble
Los Altos California USA
+1.510-830-7975

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: send-pr must live

2014-11-20 Thread Muhammad Moinur Rahman
Nice idea. However I am working on reviving porttools to migrate within
bugzilla system. Maybe we can share some ideas.

BR,
Muhammad

On Thu, Nov 20, 2014 at 11:07 PM, Chris H  wrote:

> Greetings,
>  While I recognize that send-pr has pretty much
> become useless, with the advent of bugzilla, being made
> the new "official" FreeBSD bug reporting system. I really
> miss send-pr, and was hoping I could revive it, eg;
> integrate it with bugzilla. I had even contemplated adding
> a feature that would allow it to also work with local
> port/system building structures people often use to build,
> and maintain FreeBSD.
> Any objections to my reviving send-pr?
>
> Thank you for all your time, and consideration.
>
> --Chris
>
>
> ___
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
>
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


send-pr must live

2014-11-20 Thread Chris H
Greetings,
 While I recognize that send-pr has pretty much
become useless, with the advent of bugzilla, being made
the new "official" FreeBSD bug reporting system. I really
miss send-pr, and was hoping I could revive it, eg;
integrate it with bugzilla. I had even contemplated adding
a feature that would allow it to also work with local
port/system building structures people often use to build,
and maintain FreeBSD.
Any objections to my reviving send-pr?

Thank you for all your time, and consideration.

--Chris


___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"