[opensuse-buildservice] Questions on automating
I've got a few questions when it comes to automating the build process with OBS. I'm trying to make a bash script that'll saasuto clone from a source and run osc. One thing that's getting in the way is when I run osc commit to upload the new files to the obs repo it automatically opens the changes file in an editor like VI thus breaking the automation. is there a way to skip that? Or is there a better way to make OBS automatically compile the next version of a program? -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Am Donnerstag, 26. September 2019, 19:30:32 CEST schrieb Timothy O'Barr:
I've got a few questions when it comes to automating the build process with OBS. I'm trying to make a bash script that'll saasuto clone from a source and run osc. One thing that's getting in the way is when I run osc commit to upload the new files to the obs repo it automatically opens the changes file in an editor like VI thus breaking the automation. is there a way to skip that?
Or is there a better way to make OBS automatically compile the next version of a program?
I've been automating a few builds with ansible, you can have a look at my stuff here: https://eregion.kicks-ass.net/git/?p=xtables-geoip.git;a=tree and here: https://eregion.kicks-ass.net/git/?p=telegram.git;a=tree Cheers MH -- *Mathias Homann* Mathias.Homann@openSUSE:.org irc: [Lemmy] @ freenode, ircnet obs: lemmy04 *gpg key fingerprint: 8029 2240 F4DD 7776 E7D2 C042 6B8E 029E 13F2 C102* -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Am 26.09.19 um 19:30 schrieb Timothy O'Barr:
I've got a few questions when it comes to automating the build process with OBS. I'm trying to make a bash script that'll saasuto clone from a source and run osc. One thing that's getting in the way is when I run osc commit to upload the new files to the obs repo it automatically opens the changes file in an editor like VI thus breaking the automation. is there a way to skip that?
Hi Timothy, osc ci supports -m to avoid an editor Greetings, Stephan -- Lighten up, just enjoy life, smile more, laugh more, and don't get so worked up about things. Kenneth Branagh -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Friday 2019-09-27 07:37, Stephan Kulow wrote:
Am 26.09.19 um 19:30 schrieb Timothy O'Barr:
I've got a few questions when it comes to automating the build process with OBS. I'm trying to make a bash script that'll saasuto clone from a source and run osc. One thing that's getting in the way is when I run osc commit to upload the new files to the obs repo it automatically opens the changes file in an editor like VI thus breaking the automation. is there a way to skip that?
Hi Timothy,
osc ci supports -m to avoid an editor
EDITOR=customprogram osc ci ... osc ci -F osc ci -n ... LOTS of possibilites, most of them showing up in `osc up -h`. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Donnerstag, 26. September 2019, 19:30:32 CEST Timothy O'Barr wrote:
I've got a few questions when it comes to automating the build process with OBS. I'm trying to make a bash script that'll saasuto clone from a source and run osc. One thing that's getting in the way is when I run osc commit to upload the new files to the obs repo it automatically opens the changes file in an editor like VI thus breaking the automation. is there a way to skip that?
Or is there a better way to make OBS automatically compile the next version of a program?
I dunno about saasuto, what is that exactly? Maybe it makes more sense to extended obs-service-obs_scm mirroring instead of implementing this outside via "osc ci -m ..." ? -- Adrian Schroeter <adrian@suse.de> Build Infrastructure Project Manager SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany (HRB 247165, AG München), Geschäftsführer: Felix Imendörffer -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (5)
-
Adrian Schröter
-
Jan Engelhardt
-
Mathias Homann
-
Stephan Kulow
-
Timothy O'Barr