Mailinglist Archive: opensuse-buildservice (262 mails)

< Previous Next >
Re: [opensuse-buildservice] package download
  • From: Peter Czanik <pczanik@xxxxxxxxxxxxxx>
  • Date: Tue, 25 Aug 2009 15:51:54 +0200
  • Message-id: <4A93EC7A.6000700@xxxxxxxxxxxxxx>
2009-08-25 10:59 keltezéssel, Dominique Leuenberger írta:
Hi,

On 8/25/2009 at 10:55, Peter Czanik <pczanik@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >