Mailinglist Archive: opensuse-buildservice (332 mails)

< Previous Next >
Re: [opensuse-buildservice] need help with osc commands
Hi,

On 2010-07-09 11:51:06 +0000, doiggl@xxxxxxxxxxxxxxxxxx wrote:
Hello,
What are the osc commands to do the following:-
- create a new project in obs
osc meta prj <project> -e

- add a file to the {home}{new project name}
You can only add files to a package. In order to do so you can
do:
# checkout the newly create project
osc co <project>
# cd into the project dir
cd <project>
# create a new package
osc mkpac <package>
# cd into the package dir
cd <package>
# create files etc. and add them to the package
osc add *
# commit your changes
osc ci

- list files in a project {home}{project name}
# list packages in a project
osc ls <project>
# list files in a package
osc ls <project> <package>

- delete a file in a project name
You can do it in a local package checkout via "osc rm" + "osc ci".
Currently osc doesn't support to do this via a "remote call"
("osc rdelete" should support files).

- delete a {home}{project} in obs

osc rdelete <project>


Marcus
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References