* [Buildroot] uClibc-admins post from martin@barkynet.com requires approval
[not found] <mailman.2362.1449086836.25824.uclibc-admins@busybox.net>
@ 2015-12-02 20:29 ` Bernhard Reutner-Fischer
2015-12-02 21:36 ` Peter Korsgaard
0 siblings, 1 reply; 6+ messages in thread
From: Bernhard Reutner-Fischer @ 2015-12-02 20:29 UTC (permalink / raw)
To: buildroot
> From: Martin Bark <martin@barkynet.com>
> Cc:
> Date: Wed, 2 Dec 2015 20:07:13 +0000
> Subject: 2015.11 missing from version field
> Hi,
>
> Can you please add 2015.11 to the version field in bugzilla.
Done. I'd prefer if you could ask the buildroot folks directly next time.
TIA,
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] uClibc-admins post from martin@barkynet.com requires approval
2015-12-02 20:29 ` [Buildroot] uClibc-admins post from martin@barkynet.com requires approval Bernhard Reutner-Fischer
@ 2015-12-02 21:36 ` Peter Korsgaard
2015-12-02 22:00 ` Mike Frysinger
0 siblings, 1 reply; 6+ messages in thread
From: Peter Korsgaard @ 2015-12-02 21:36 UTC (permalink / raw)
To: buildroot
>>>>> "Bernhard" == Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> writes:
>> From: Martin Bark <martin@barkynet.com>
>> Cc:
>> Date: Wed, 2 Dec 2015 20:07:13 +0000
>> Subject: 2015.11 missing from version field
>> Hi,
>>
>> Can you please add 2015.11 to the version field in bugzilla.
> Done. I'd prefer if you could ask the buildroot folks directly next time.
Yes, me too. I normally remember to add the releases, but this time I
forgot.
Thanks for fixing it.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] uClibc-admins post from martin@barkynet.com requires approval
2015-12-02 21:36 ` Peter Korsgaard
@ 2015-12-02 22:00 ` Mike Frysinger
2015-12-02 22:59 ` Peter Korsgaard
0 siblings, 1 reply; 6+ messages in thread
From: Mike Frysinger @ 2015-12-02 22:00 UTC (permalink / raw)
To: buildroot
On 02 Dec 2015 22:36, Peter Korsgaard wrote:
> >>>>> "Bernhard" == Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> writes:
>
> >> From: Martin Bark <martin@barkynet.com>
> >> Cc:
> >> Date: Wed, 2 Dec 2015 20:07:13 +0000
> >> Subject: 2015.11 missing from version field
> >> Hi,
> >>
> >> Can you please add 2015.11 to the version field in bugzilla.
>
> > Done. I'd prefer if you could ask the buildroot folks directly next time.
>
> Yes, me too. I normally remember to add the releases, but this time I
> forgot.
i've added a bugzilla component, but not sure that'll really help smooth
over this scenario. i looked at the API available, but i'm not seeing a
callback to update the versions list.
https://www.bugzilla.org/docs/4.4/en/html/api/
there is one to get the current list:
https://www.bugzilla.org/docs/4.4/en/html/api/Bugzilla/WebService/Product.html
maybe the buildroot release scripts can print a reminder ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20151202/85f18ca6/attachment.asc>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] uClibc-admins post from martin@barkynet.com requires approval
2015-12-02 22:00 ` Mike Frysinger
@ 2015-12-02 22:59 ` Peter Korsgaard
2015-12-02 23:31 ` Mike Frysinger
0 siblings, 1 reply; 6+ messages in thread
From: Peter Korsgaard @ 2015-12-02 22:59 UTC (permalink / raw)
To: buildroot
>>>>> "Mike" == Mike Frysinger <vapier@gentoo.org> writes:
Hi,
> i've added a bugzilla component, but not sure that'll really help smooth
> over this scenario. i looked at the API available, but i'm not seeing a
> callback to update the versions list.
> https://www.bugzilla.org/docs/4.4/en/html/api/
> there is one to get the current list:
> https://www.bugzilla.org/docs/4.4/en/html/api/Bugzilla/WebService/Product.html
> maybe the buildroot release scripts can print a reminder ?
It actually already does, it was just late and I forgot:
echo "also don't forget to add the version to bugzilla"
--
Venlig hilsen,
Peter Korsgaard
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] uClibc-admins post from martin@barkynet.com requires approval
2015-12-02 22:59 ` Peter Korsgaard
@ 2015-12-02 23:31 ` Mike Frysinger
2016-02-02 8:15 ` Mike Frysinger
0 siblings, 1 reply; 6+ messages in thread
From: Mike Frysinger @ 2015-12-02 23:31 UTC (permalink / raw)
To: buildroot
On 02 Dec 2015 23:59, Peter Korsgaard wrote:
> >>>>> "Mike" == Mike Frysinger <vapier@gentoo.org> writes:
>
> > i've added a bugzilla component, but not sure that'll really help smooth
> > over this scenario. i looked at the API available, but i'm not seeing a
> > callback to update the versions list.
> > https://www.bugzilla.org/docs/4.4/en/html/api/
>
> > there is one to get the current list:
> > https://www.bugzilla.org/docs/4.4/en/html/api/Bugzilla/WebService/Product.html
>
> > maybe the buildroot release scripts can print a reminder ?
>
> It actually already does, it was just late and I forgot:
>
> echo "also don't forget to add the version to bugzilla"
there is an update API:
https://www.bugzilla.org/docs/4.4/en/html/api/Bugzilla/WebService/Product.html#update
but version fields aren't yet exposed. there's an open bug upstream w/code,
but looks like things have stalled. i'll let you know if/when that shows up.
https://bugzilla.mozilla.org/show_bug.cgi?id=777047
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20151202/172cd810/attachment.asc>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] uClibc-admins post from martin@barkynet.com requires approval
2015-12-02 23:31 ` Mike Frysinger
@ 2016-02-02 8:15 ` Mike Frysinger
0 siblings, 0 replies; 6+ messages in thread
From: Mike Frysinger @ 2016-02-02 8:15 UTC (permalink / raw)
To: buildroot
On 02 Dec 2015 18:31, Mike Frysinger wrote:
> On 02 Dec 2015 23:59, Peter Korsgaard wrote:
> > >>>>> "Mike" == Mike Frysinger <vapier@gentoo.org> writes:
> >
> > > i've added a bugzilla component, but not sure that'll really help smooth
> > > over this scenario. i looked at the API available, but i'm not seeing a
> > > callback to update the versions list.
> > > https://www.bugzilla.org/docs/4.4/en/html/api/
> >
> > > there is one to get the current list:
> > > https://www.bugzilla.org/docs/4.4/en/html/api/Bugzilla/WebService/Product.html
> >
> > > maybe the buildroot release scripts can print a reminder ?
> >
> > It actually already does, it was just late and I forgot:
> >
> > echo "also don't forget to add the version to bugzilla"
>
> there is an update API:
> https://www.bugzilla.org/docs/4.4/en/html/api/Bugzilla/WebService/Product.html#update
>
> but version fields aren't yet exposed. there's an open bug upstream w/code,
> but looks like things have stalled. i'll let you know if/when that shows up.
> https://bugzilla.mozilla.org/show_bug.cgi?id=777047
i've deployed a module to our bugs instance after the 5.0 upgrade and the
conversion to the new rest api. i've verified it works on bugstest, so
you should give it a spin on the main bugs instance next time there is a
release and let me know how it goes.
here's how i did it:
(1) login:
$ curl 'https://bugstest.busybox.net/rest/login?login=<user>&password=<pass>'
{"id":409,"token":"920-ljDS89ajkl"}
(2) create the version:
$ curl -i -X POST 'https://bugstest.busybox.net/rest/vvversion?product=Buildroot&name=<version>&token=920-ljDS89ajkl'
{"id":281}
(3) logout:
$ curl 'https://bugstest.busybox.net/rest/logout?token=920-ljDS89ajkl'
{"result":null}
the responses are all obviously JSON, so it should be easy to unpack.
if you run step (2) more than once, it will throw an error, so don't
worry about creating duplicate entries.
{"message":"The version '2016.16' already exists for product 'buildroot'.","code":32000,"error":true,...}
if you want to know more about the REST API, check out:
https://bugzilla.readthedocs.org/en/latest/api/
and maybe also this python cli:
https://github.com/williamh/pybugz
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160202/19f56799/attachment.asc>
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-02-02 8:15 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.2362.1449086836.25824.uclibc-admins@busybox.net>
2015-12-02 20:29 ` [Buildroot] uClibc-admins post from martin@barkynet.com requires approval Bernhard Reutner-Fischer
2015-12-02 21:36 ` Peter Korsgaard
2015-12-02 22:00 ` Mike Frysinger
2015-12-02 22:59 ` Peter Korsgaard
2015-12-02 23:31 ` Mike Frysinger
2016-02-02 8:15 ` Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox