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 :/
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&... But I don't have ideas about the second question.
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&...
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&...
b) The git_tarballs service (still having rough edges):
https://build.opensuse.org/package/view_file?expand=1&file=_service&...
c) The maybe more interesting github_tarballs service:
https://build.opensuse.org/package/view_file?expand=1&file=_service&...
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.
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
buildservice@lists.opensuse.org