Mailinglist Archive: opensuse-buildservice (266 mails)

< Previous Next >
Re: [opensuse-buildservice] Grabbing build sources from github?
On 01/18/2013 05:49 AM, Dmitriy Perlow wrote:
Ben Martin <monkeyiq@xxxxxxxxxxxxxxxxxxxxx> писал(а) в своём письме 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)

< Previous Next >