Re: Get list of latest builds from Koji

2016-09-20 Thread Igor Gnatenko
$ koji list-tagged --inherit --latest f$FVER-updates-testing-pending $PKG

On Tue, Sep 20, 2016 at 3:50 PM, Richard W.M. Jones  wrote:
>
> Is there a way to get a list of the latest builds out of Koji?
> Especially builds from a particular tag/target (f25).
>
> I tried a few things, but none of them are ideal:
>
> (1) There is an RSS feed (http://koji.fedoraproject.org/koji/recentbuilds)
> but it only contains a handful of builds.
>
> (2) `koji latest-pkg --all f25` shows the highest NVR of all packages
> in f25.  Unfortunately when I diffed the output over about an hour, it
> never changed.
>
> (3) `koji list-tasks` seems like another candidate, but it only goes
> back a few dozen builds.
>
> Rich.
>
> --
> Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
> Read my programming and virtualization blog: http://rwmj.wordpress.com
> virt-df lists disk usage of guests without needing to install any
> software inside the virtual machine.  Supports Linux and Windows.
> http://people.redhat.com/~rjones/virt-df/
> ___
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org



-- 
-Igor Gnatenko
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: Get list of latest builds from Koji

2016-09-20 Thread Adam Williamson
On Tue, 2016-09-20 at 14:50 +0100, Richard W.M. Jones wrote:
> Is there a way to get a list of the latest builds out of Koji?
> Especially builds from a particular tag/target (f25).
> 
> I tried a few things, but none of them are ideal:
> 
> (1) There is an RSS feed (http://koji.fedoraproject.org/koji/recentbu
> ilds)
> but it only contains a handful of builds.
> 
> (2) `koji latest-pkg --all f25` shows the highest NVR of all packages
> in f25.  Unfortunately when I diffed the output over about an hour,
> it
> never changed.

'f25' is the 'stable' tag; it gets applied only once the build has been
submitted to Bodhi, met whatever requirements Bodhi imposes, been
submitted stable by the packager and then included in a stable 'push'
by releng (which happens approx. once per day, so that's why it didn't
change over the course of an hour). You'd probably get better results
looking at the 'f25-updates-candidate' tag, which is applied to all
'normal' f25 builds as they complete (i.e. if you just do 'fedpkg
build' from the f25 branch).
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora
http://www.happyassassin.net
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: Get list of latest builds from Koji

2016-09-20 Thread Richard W.M. Jones
On Tue, Sep 20, 2016 at 03:09:50PM +0100, Peter Robinson wrote:
> > (2) `koji latest-pkg --all f25` shows the highest NVR of all packages
> > in f25.  Unfortunately when I diffed the output over about an hour, it
> > never changed.
>
> You wouldn't expect it to, it's the stable env as it has boshi enabled
> it's likely only to change daily, if you did that against f26 or
> f26-build you'd likely see something more dynamic.

Got it.  It works if I use f25-updates-candidate instead of f25.

Thanks,

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: Get list of latest builds from Koji

2016-09-20 Thread Peter Robinson
> Is there a way to get a list of the latest builds out of Koji?
> Especially builds from a particular tag/target (f25).
>
> I tried a few things, but none of them are ideal:
>
> (1) There is an RSS feed (http://koji.fedoraproject.org/koji/recentbuilds)
> but it only contains a handful of builds.
>
> (2) `koji latest-pkg --all f25` shows the highest NVR of all packages
> in f25.  Unfortunately when I diffed the output over about an hour, it
> never changed.

You wouldn't expect it to, it's the stable env as it has boshi enabled
it's likely only to change daily, if you did that against f26 or
f26-build you'd likely see something more dynamic.

> (3) `koji list-tasks` seems like another candidate, but it only goes
> back a few dozen builds.
>
> Rich.
>
> --
> Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
> Read my programming and virtualization blog: http://rwmj.wordpress.com
> virt-df lists disk usage of guests without needing to install any
> software inside the virtual machine.  Supports Linux and Windows.
> http://people.redhat.com/~rjones/virt-df/
> ___
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: Get list of latest builds from Koji

2016-09-20 Thread Dan Horák
On Tue, 20 Sep 2016 14:50:50 +0100
"Richard W.M. Jones"  wrote:

> 
> Is there a way to get a list of the latest builds out of Koji?
> Especially builds from a particular tag/target (f25).
> 
> I tried a few things, but none of them are ideal:
> 
> (1) There is an RSS feed
> (http://koji.fedoraproject.org/koji/recentbuilds) but it only
> contains a handful of builds.
> 
> (2) `koji latest-pkg --all f25` shows the highest NVR of all packages
> in f25.  Unfortunately when I diffed the output over about an hour, it
> never changed.
> 
> (3) `koji list-tasks` seems like another candidate, but it only goes
> back a few dozen builds.

koji list-history --tag f25 --after ...
^ has a lot of options how to ask the database


Dan
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Get list of latest builds from Koji

2016-09-20 Thread Richard W.M. Jones

Is there a way to get a list of the latest builds out of Koji?
Especially builds from a particular tag/target (f25).

I tried a few things, but none of them are ideal:

(1) There is an RSS feed (http://koji.fedoraproject.org/koji/recentbuilds)
but it only contains a handful of builds.

(2) `koji latest-pkg --all f25` shows the highest NVR of all packages
in f25.  Unfortunately when I diffed the output over about an hour, it
never changed.

(3) `koji list-tasks` seems like another candidate, but it only goes
back a few dozen builds.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org