Mailinglist Archive: opensuse-buildservice (219 mails)

< Previous Next >
[opensuse-buildservice] osc init problem.
  • From: Boyd Lynn Gerber <gerberb@xxxxxxxxx>
  • Date: Mon, 11 Feb 2008 23:47:45 -0700
  • Message-id: <Pine.LNX.4.64.0802112330020.16767@xxxxxxxxxxxxxxx>
Hello,

I had a hard drive crash, so I wanted to start my osc projects fresh on a
new drive. I think there may be a bug in osc.

I did the following.

cd ~/work/BS/opensuse/
gerberb@suse103:~/work/BS/opensuse> osc co server:mail
gerberb@suse103:~/work/BS/opensuse> osc co games:roleplay
gerberb@suse103:~/work/BS/opensuse> osc co devel:languages:python
gerberb@suse103:~/work/BS/opensuse> osc co devel:languages:perl
gerberb@suse103:~/work/BS/opensuse> osc co home:gerberb
gerberb@suse103:~/work/BS/opensuse> l
total 64
drwxr-xr-x 7 gerberb zenez 4096 2008-02-11 22:51 ./
drwxr-xr-x 3 gerberb zenez 4096 2008-02-11 21:58 ../
drwxr-xr-x 249 gerberb zenez 12288 2008-02-11 22:24 devel:languages:perl/
drwxr-xr-x 137 gerberb zenez 4096 2008-02-11 22:43
devel:languages:python/
drwxr-xr-x 6 gerberb zenez 4096 2008-02-11 22:46 games:roleplay/
drwxr-xr-x 11 gerberb zenez 4096 2008-02-11 22:03 home:gerberb/
drwxr-xr-x 72 gerberb zenez 4096 2008-02-11 23:10 server:mail/

There should be an easy way to init all projects quickly. I tried the
following.

gerberb@suse103:~/work/BS/opensuse> osc init home:gerberb
osc init: takes exactly 2 arguments (1 given)
Try 'osc help init' for info.

gerberb@suse103:~/work/BS/opensuse> osc init home:gerberb *
osc init: takes exactly 2 arguments (6 given)
Try 'osc help init' for info.

The above has two arguments. If I cd to each directory and then do a ls
in each directory and output to a file and then file in a for loop on each
they init. But shouldn't I be able to do an init right after a check out?

This is what worked.

gerberb@suse103:~/work/BS/opensuse> for i in `cat blglist`; do osc init
home:gerberb $i; done

Thanks,

--
Boyd Gerber <gerberb@xxxxxxxxx>
ZENEZ 1042 East Fort Union #135, Midvale Utah 84047
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >