[opensuse-buildservice] adding files to a package via osc
Hello, As an example, I have this package on the build service. osc shows: # osc ls home:doiggl mozbot mozbot-2.6.tar.gz mozbot.spec wizard.xml Is it possible to add a file to the package <mozbot> without having to checkout the package e.g osc cd home:doiggl:mozbot osc add newfile.txt osc ci If not what commands do I need to do. By the way osc help shows this at the end For additional information, see * http://en.opensuse.org/Build_Service_Tutorial * http://en.opensuse.org/Build_Service/CLI And I found http://en.opensuse.org/Build_Service/CLI has No text on that page Cheers Glenn -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2010-07-26 14:51:25 +0000, doiggl@velocitynet.com.au wrote:
For additional information, see * http://en.opensuse.org/Build_Service_Tutorial * http://en.opensuse.org/Build_Service/CLI
And I found http://en.opensuse.org/Build_Service/CLI has No text on that page
http://old-en.opensuse.org/Build_Service_Tutorial http://old-en.opensuse.org/Build_Service/CLI -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Jul 26, 10 14:51:25 +0000, doiggl@velocitynet.com.au wrote:
Hello, As an example, I have this package on the build service.
osc shows:
# osc ls home:doiggl mozbot mozbot-2.6.tar.gz mozbot.spec wizard.xml
Is it possible to add a file to the package <mozbot> without having to
No. 'osc add' and 'osc ci' both require a checkout copy.
checkout the package e.g osc cd home:doiggl:mozbot
:-) nice idea. But I fear this is non-trivial...
By the way osc help shows this at the end
For additional information, see * http://en.opensuse.org/Build_Service_Tutorial * http://en.opensuse.org/Build_Service/CLI
And I found http://en.opensuse.org/Build_Service/CLI has No text on that page
Fixed both URLs in the wiki with redirects. They suffered from migrating into a new structure. Pushed all(!) of the new URLs into osc git 8830d39. cheers, JW- -- o \ Juergen Weigert paint it green! __/ _=======.=======_ <V> | jw@suse.de back to ascii! __/ _---|____________\/ \ | 0911 74053-508 __/ (____/ /\ (/) | _____________________________/ _/ \_ vim:set sw=2 wm=8 SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) "You are trying to use packages from project 'openSUSE:11.2'. Note that malicious packages can compromise your system." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Mon, Jul 26, 2010 at 10:50 AM, Juergen Weigert
On Jul 26, 10 14:51:25 +0000, doiggl@velocitynet.com.au wrote:
Hello, As an example, I have this package on the build service.
osc shows:
# osc ls home:doiggl mozbot mozbot-2.6.tar.gz mozbot.spec wizard.xml
Is it possible to add a file to the package <mozbot> without having to
No. 'osc add' and 'osc ci' both require a checkout copy.
I actually have a similar question: I have a script that I call to do an update to my package via osc, and it already knows that it will have to replace some files. I would like to avoid downloading a big tarball which I already know will be replaced... I tried "--limit-size 0" but it didn't have the expected/desired results - it doesn't track local files so "osc add/addremove" doesn't work. Any suggestions? I thought limit-size was meant for this - what is the purpose of it if you end up with a non-functioning checkout? thanks, Christian.
checkout the package e.g osc cd home:doiggl:mozbot
:-) nice idea. But I fear this is non-trivial...
By the way osc help shows this at the end
For additional information, see * http://en.opensuse.org/Build_Service_Tutorial * http://en.opensuse.org/Build_Service/CLI
And I found http://en.opensuse.org/Build_Service/CLI has No text on that page
Fixed both URLs in the wiki with redirects. They suffered from migrating into a new structure. Pushed all(!) of the new URLs into osc git 8830d39.
cheers, JW-
-- o \ Juergen Weigert paint it green! __/ _=======.=======_ <V> | jw@suse.de back to ascii! __/ _---|____________\/ \ | 0911 74053-508 __/ (____/ /\ (/) | _____________________________/ _/ \_ vim:set sw=2 wm=8 SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) "You are trying to use packages from project 'openSUSE:11.2'. Note that malicious packages can compromise your system."
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Monday 26 July 2010 20:20:50 Christian Daudt wrote:
On Mon, Jul 26, 2010 at 10:50 AM, Juergen Weigert
wrote: On Jul 26, 10 14:51:25 +0000, doiggl@velocitynet.com.au wrote:
Hello, As an example, I have this package on the build service.
osc shows:
# osc ls home:doiggl mozbot mozbot-2.6.tar.gz mozbot.spec wizard.xml
Is it possible to add a file to the package <mozbot> without having to
No. 'osc add' and 'osc ci' both require a checkout copy.
I actually have a similar question: I have a script that I call to do an update to my package via osc, and it already knows that it will have to replace some files. I would like to avoid downloading a big tarball which I already know will be replaced... I tried "--limit-size 0" but it didn't have the expected/desired results - it doesn't track local files so "osc add/addremove" doesn't work. Any suggestions? I thought limit-size was meant for this - what is the purpose of it if you end up with a non-functioning checkout?
Hm, I have never tried it with value 0. It was more intended to block large tar balls, but being still able to modify spec files and friends. However, in your case it sounds it may make sense to use the api directly. you could for example use osc, but also use any tool which is supporting http operations, like curl. osc api -m PUT -f $your_local_file /source/$project/$package/$filename -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (5)
-
Adrian Schröter
-
Christian Daudt
-
doiggl@velocitynet.com.au
-
Juergen Weigert
-
Marcus Rueckert