2009-08-25 10:59 keltezéssel, Dominique Leuenberger írta:
Hi,
On 8/25/2009 at 10:55, Peter Czanik
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