FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Build System

 
 
LinkBack Thread Tools
 
Old 09-10-2008, 11:33 AM
Bryce
 
Default Assembling packages for ISO's

Can anyone think of a more succinct means to drag out all the latest
rpms based on a tag?
I could only came up with this horror.

mkdir pool; cd pool
TAG=f9-bryced
koji list-pkgs --tag=${TAG} --quiet | cut -f 1 -d " " | xargs koji latest-pkg ${TAG} --quiet | cut -f1 -d " " | xargs -n1 koji download-build --arch=i386 --arch=i686 --arch=noarch


Phil
=--=

--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
 
Old 09-10-2008, 12:46 PM
"Jon Stanley"
 
Default Assembling packages for ISO's

On Wed, Sep 10, 2008 at 7:33 AM, Bryce <bryce@zeniv.linux.org.uk> wrote:

> mkdir pool; cd pool
> TAG=f9-bryced
> koji list-pkgs --tag=${TAG} --quiet | cut -f 1 -d " " | xargs koji latest-pkg ${TAG} --quiet | cut -f1 -d " " | xargs -n1 koji download-build --arch=i386 --arch=i686 --arch=noarch

Maybe not succinct, but have you looked into mash (what Fedora uses to
pull packages and make repos)?

git clone git://git.fedorahosted.org/mash

--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
 
Old 09-10-2008, 03:33 PM
Bryce
 
Default Assembling packages for ISO's

Jon Stanley wrote:
> On Wed, Sep 10, 2008 at 7:33 AM, Bryce <bryce@zeniv.linux.org.uk> wrote:
>
>
>> mkdir pool; cd pool
>> TAG=f9-bryced
>> koji list-pkgs --tag=${TAG} --quiet | cut -f 1 -d " " | xargs koji latest-pkg ${TAG} --quiet | cut -f1 -d " " | xargs -n1 koji download-build --arch=i386 --arch=i686 --arch=noarch
>>
>
> Maybe not succinct, but have you looked into mash (what Fedora uses to
> pull packages and make repos)?
>
> git clone git://git.fedorahosted.org/mash
>
>

*tinkering*
ok lets fire that up and see if it does what I expect.
Yeah ok. thats tidier than my fiddling with koji cli scripting

Thank you

Phil
=--=

--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
 

Thread Tools




All times are GMT. The time now is 12:42 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org