[opensuse-buildservice] Grabbing build sources from github?
Hi, Does anyone know a simple method to grab the sources for an obs build from github? Also to trigger a rebuild when somebody does a git push to the github? Thanks in advance, and sorry for what seems a bit like an FAQ. Web searches don't seem to be popping up answers though :/ -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Ben Martin <monkeyiq@users.sourceforge.net> писал(а) в своём письме Fri, 18 Jan 2013 06:32:21 +0300:
Hi, Does anyone know a simple method to grab the sources for an obs build from github?
Hello. Your could do it via _service-file like this one: https://build.opensuse.org/package/view_file?expand=1&file=_service&package=leechcraft&project=home%3AReki%3Aleechcraft%3Amasterbranch But I don't have ideas about the second question. -- Dmitriy DA(P).DarkneSS Perlow / Linux x64 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 01/18/2013 05:49 AM, Dmitriy Perlow wrote:
Ben Martin <monkeyiq@users.sourceforge.net> писал(а) в своём письме Fri, 18 Jan 2013 06:32:21 +0300:
Hi, Does anyone know a simple method to grab the sources for an obs build from github?
Hello. Your could do it via _service-file like this one: https://build.opensuse.org/package/view_file?expand=1&file=_service&package=leechcraft&project=home%3AReki%3Aleechcraft%3Amasterbranch
But I don't have ideas about the second question.
Hello, here are some examples that use a) The classy tar_scm source service in conjunction with recompress and set_version services: https://build.opensuse.org/package/view_file?expand=1&file=_service&package=openstack-quickstart&project=Cloud%3AOpenStack%3AMaster b) The git_tarballs service (still having rough edges): https://build.opensuse.org/package/view_file?expand=1&file=_service&package=openstack-cinder&project=Cloud%3AOpenStack%3AMaster c) The maybe more interesting github_tarballs service: https://build.opensuse.org/package/view_file?expand=1&file=_service&package=openstack-swift&project=Cloud%3AOpenStack%3AMaster The latter two originate from your fellow OpenStack hackers, which do have various reasons for using these. However, at least b) may contain some cloud-specific code, it's up to you to give these a try :-) Feel free to improve or file bugs. -- With kind regards, Sascha Peilicke SUSE Linux GmbH, Maxfeldstr. 5, D-90409 Nuernberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer HRB 16746 (AG Nürnberg)
On Friday, 18 January 2013 04:32:21 CEST, Ben Martin wrote:
Also to trigger a rebuild when somebody does a git push to the github?
http://lists.opensuse.org/archive/opensuse-buildservice/2013-01/msg00070.htm... Cheers, Jan -- Trojitá, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/ -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (4)
-
Ben Martin
-
Dmitriy Perlow
-
Jan Kundrát
-
Sascha Peilicke