[opensuse-buildservice] need help with osc commands
Hello, What are the osc commands to do the following:- - create a new project in obs - add a file to the {home}{new project name} - list files in a project {home}{project name} - delete a file in a project name - delete a {home}{project} in obs Thanks Glenn -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hi, On 2010-07-09 11:51:06 +0000, doiggl@velocitynet.com.au 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@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Hello, I have this project with a number of files in it[1] What is the osc command to add another file to this project ? Thanks Glenn [1] # osc ls home:doiggl testdisk last-compile.ok.txt libewf-20080501.tar.gz ntfsprogs-2.0.0.tar.gz progsreiserfs-0.3.1-rc8.tar.gz progsreiserfs-journal.patch testdisk-6.11.3-1.src.rpm testdisk-6.11.3.linux26.tar.bz2 testdisk-6.11.3.tar.bz2 testdisk-v6.11.3.spec.txt testdisk.spec testdisk.spec.wizard -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Fri, Jul 16, 2010 at 07:00:46AM +0000, doiggl@velocitynet.com.au wrote:
Hello, I have this project with a number of files in it[1] What is the osc command to add another file to this project ?
osc add filename Why do you build this btw, "zypper in photorec" will get it for you already. Ciao, Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Fri, 16 Jul 2010 09:06:36 +0200, Marcus Meissner
On Fri, Jul 16, 2010 at 07:00:46AM +0000, doiggl@velocitynet.com.au wrote:
Hello, I have this project with a number of files in it[1] What is the osc command to add another file to this project ?
osc add filename
Why do you build this btw, "zypper in photorec" will get it for you already.
Ciao, Marcus
I was just using that as an example. In relation to
osc add filename
Question. Do you need to change directory to <projectname> before running 'osc add filename' If so what is the osc syntax to change directory ? Thanks Glenn -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2010-07-16 11:52:10 +0000, doiggl@velocitynet.com.au wrote:
On Fri, 16 Jul 2010 09:06:36 +0200, Marcus Meissner
wrote: On Fri, Jul 16, 2010 at 07:00:46AM +0000, doiggl@velocitynet.com.au wrote:
Hello, I have this project with a number of files in it[1] What is the osc command to add another file to this project ?
osc add filename
Why do you build this btw, "zypper in photorec" will get it for you already.
Ciao, Marcus
I was just using that as an example.
In relation to
osc add filename
Question. Do you need to change directory to <projectname> before running 'osc add filename' If so what is the osc syntax to change directory ?
Hmm either do "cd /path/to/your/<project>/<package>" and run "osc add filename" or simply run "osc add /path/to/your/<project>/<package>/filename". Afterwards you need to run "osc commit" to commit the changes to the server. Marcus -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
doiggl@velocitynet.com.au
-
Marcus Hüwe
-
Marcus Meissner