[opensuse-buildservice] package download
Hello, Is there an easier way of downloading packages from unpublished repositories than one by one with copy&pase of URL-s? I mean, https://build.opensuse.org/project/show?project=home%3Adl9pf%3Abranches%3Aop... is not yet published, but I can get a package list at https://api.opensuse.org/build/home:dl9pf:branches:openSUSE:Factory/crosscom... and download them copy&paste of package names from the XML files, for example https://api.opensuse.org/build/home:dl9pf:branches:openSUSE:Factory/crosscom... to get mingetty. Right now I can boot openSUSE ARM, but it is just base:build:arm, which is pretty limited, without mingetty, udev, etc. I'd like to bring it to console login, and then to sshd, but downloading packages this way is a bit time consuming :-) Bye, CzP -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hi,
On 8/25/2009 at 10:55, Peter Czanik <pczanik@fang.fa.gau.hu> wrote: Hello, Is there an easier way of downloading packages from unpublished repositories than one by one with copy&pase of URL-s? I mean,
Are you looking for something like: for a in $(osc ls home:dimstar); do osc getbinaries home:dimstar $a openSUSE_Factory x86_64; done this assumes you want to download all binaries from home:dimstar that have been build for openSUSE_Factory / x86_64. Of course variations are possible. Dominique -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
2009-08-25 10:59 keltezéssel, Dominique Leuenberger írta:
Hi,
On 8/25/2009 at 10:55, Peter Czanik <pczanik@fang.fa.gau.hu> wrote:
Hello, Is there an easier way of downloading packages from unpublished repositories than one by one with copy&pase of URL-s? I mean,
Are you looking for something like: for a in $(osc ls home:dimstar); do osc getbinaries home:dimstar $a openSUSE_Factory x86_64; done
Which became the following two lines in the end to handle partial downloads: for i in `osc ls home:dl9pf:branches:openSUSE:Factory` ; do echo xxxxxxxxxxxxxxx $i xxxxxxxxxxxxxxx ; osc getbinaries home:dl9pf:branches:openSUSE:Factory $i crosscompiled armv7el || echo $i
/tmp/error ; sleep 1 ; done 2>&1 | tee /tmp/downloaded
and for i in `cat /tmp/error` ; do echo xxxxxxxxxxxxxxx $i xxxxxxxxxxxxxxx ; osc getbinaries home:dl9pf:branches:openSUSE:Factory $i crosscompiled armv7el || echo $i >> /tmp/error ; sleep 1 ; done 2>&1 | tee /tmp/downloaded Missing packages also give an error message, so I could not put it in a "while ! osc" cycle. I'm still repeating the second line... Bye, CzP -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Dienstag, 25. August 2009 10:55:26 schrieb Peter Czanik:
Hello, Is there an easier way of downloading packages from unpublished repositories than one by one with copy&pase of URL-s? I mean, https://build.opensuse.org/project/show?project=home%3Adl9pf%3Abranches%3Ao penSUSE%3AFactory is not yet published, but I can get a package list at https://api.opensuse.org/build/home:dl9pf:branches:openSUSE:Factory/crossco mpiled/armv7el/ and download them copy&paste of package names from the XML files, for example https://api.opensuse.org/build/home:dl9pf:branches:openSUSE:Factory/crossco mpiled/armv7el/mingetty/mingetty-1.0.7s-94.5.armv7l.rpm to get mingetty. Right now I can boot openSUSE ARM, but it is just base:build:arm, which is pretty limited, without mingetty, udev, etc. I'd like to bring it to console login, and then to sshd, but downloading packages this way is a bit time consuming :-)
there is "osc getbinaries" which usually downloads all sub packages from a package build. bye adrian -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Adrian Schröter
-
Dominique Leuenberger
-
Peter Czanik