FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Build System

 
 
LinkBack Thread Tools
 
Old 11-23-2010, 07:41 AM
Jinze Xue
 
Default buildsys Digest, Vol 69, Issue 14

Actually,what I want to ask is how to build from SCM? the commend or the configs.
I searched SCM on the internet , but no answer.
Any help?
thanks!!!


2010/11/19 <buildsys-request@lists.fedoraproject.org>

Send buildsys mailing list submissions to
* * * *buildsys@lists.fedoraproject.org


To subscribe or unsubscribe via the World Wide Web, visit
* * * *https://admin.fedoraproject.org/mailman/listinfo/buildsys

or, via email, send a message with subject or body 'help' to
* * * *buildsys-request@lists.fedoraproject.org

You can reach the person managing the list at

* * * *buildsys-owner@lists.fedoraproject.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of buildsys digest..."



Today's Topics:

* 1. koji (Jinze Xue)
* 2. Re: koji (Alan Franzoni)


----------------------------------------------------------------------

Message: 1
Date: Thu, 18 Nov 2010 20:55:42 +0800

From: Jinze Xue <xuejinze@gmail.com>
Subject: koji
To: buildsys@lists.fedoraproject.org
Message-ID:
* * * *<AANLkTi=nsebhqDTsiXmOVDCKXt5nLEU=d-JQsUisG9BV@mail.gmail.com>

Content-Type: text/plain; charset="iso-8859-1"

A question ,
*How to build from SCM?
thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/buildsys/attachments/20101118/9b392b48/attachment-0001.html


------------------------------

Message: 2
Date: Fri, 19 Nov 2010 11:09:15 +0100
From: Alan Franzoni <mailing@franzoni.eu>
Subject: Re: koji
To: Discussion of Fedora build system

* * * *<buildsys@lists.fedoraproject.org>
Message-ID:
* * * *<AANLkTikFPQnTnHcBYz_rGndBDj1cAbSfo60mskth1P8q@ma il.gmail.com>

Content-Type: text/plain; charset=UTF-8

On Thu, Nov 18, 2010 at 1:55 PM, Jinze Xue <xuejinze@gmail.com> wrote:
> A question ,
> ?How to build from SCM?


I think there's no single answer to this question. I'll give you some
hints on what we do where I work.

Currently the RPM system is designed to build from a source rpm,
period. Hence, you need to build a source RPM and feed it into mock or

koji.

We've usually got a .spectemplate file on our SCM. This file contains
some tags, for example you can have something like ${SVN_REV} which is
then inserted in the .spectemplate as this:

Release: svn${SVN_REV}



Once the CI system has tested an SCM revision and it's good, it packs
the contents of such revision, takes the spectemplate, substitues
variable and creates a .spec file, which is then feeded to mock/koji

for srpm building. That .src.rpm then gets built again by mock/koji.

What's strange is that we actually need two build phases; the first is
done by the CI server, then there's a rebuild by mock or koji. It may

not be the fastest way to do it but it currently works.


--
Alan Franzoni
--
contact me at public@[mysurname].eu


------------------------------

--
buildsys mailing list

buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys


End of buildsys Digest, Vol 69, Issue 14
****************************************


--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
Old 11-23-2010, 09:43 AM
Alan Franzoni
 
Default buildsys Digest, Vol 69, Issue 14

On Tue, Nov 23, 2010 at 9:41 AM, Jinze Xue <xuejinze@gmail.com> wrote:
> Actually,what I want to ask is how to build from SCM? the commend or the
> configs.
> I searched SCM on the internet , but no answer.
> Any help?
> thanks!!!

Yes, and I have answered, unless you mean something different by SCM.
By SCM i mean Source Code Management, as it seemed the most
appropriate meaning in that context.

If you're willing to clarify your requests you'll get a better answer.

>> > A question ,
>> > ?How to build from SCM?
>>
>> I think there's no single answer to this question. I'll give you some
>> hints on what we do where I work.
>>
>> Currently the RPM system is designed to build from a source rpm,
>> period. Hence, you need to build a source RPM and feed it into mock or
>> koji.
>>
>> We've usually got a .spectemplate file on our SCM. This file contains
>> some tags, for example you can have something like ${SVN_REV} which is
>> then inserted in the .spectemplate as this:
>>
>> Release: svn${SVN_REV}
>>
>>
>> Once the CI system has tested an SCM revision and it's good, it packs
>> the contents of such revision, takes the spectemplate, substitues
>> variable and creates a .spec file, which is then feeded to mock/koji
>> for srpm building. That .src.rpm then gets built again by mock/koji.
>>
>> What's strange is that we actually need two build phases; the first is
>> done by the CI server, then there's a rebuild by mock or koji. It may
>> not be the fastest way to do it but it currently works.
>>
>>
>> --
>> Alan Franzoni
>> --
>> contact me at public@[mysurname].eu
>>
>>
>> ------------------------------
>>
>> --
>> buildsys mailing list
>> buildsys@lists.fedoraproject.org
>> https://admin.fedoraproject.org/mailman/listinfo/buildsys
>>
>> End of buildsys Digest, Vol 69, Issue 14
>> ****************************************
>
>
> --
> buildsys mailing list
> buildsys@lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/buildsys
>



--
Alan Franzoni
--
contact me at public@[mysurname].eu
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
Old 11-23-2010, 01:35 PM
Mike McLean
 
Default buildsys Digest, Vol 69, Issue 14

Please do not reply to digest mails as it breaks threading. If you're
going to be participating in the discussion, I think it makes sense to
keep your subscription non-digest.

On 11/23/2010 03:41 AM, Jinze Xue wrote:
> Actually,what I want to ask is how to build from SCM? the commend or the
> configs.
> I searched SCM on the internet , but no answer.
> Any help?
> thanks!!!

Source Control Manager. Koji supports git, subversion and cvs.

The scm data is specified in a url form:
scheme://[user@]host/path/to/repo?path/to/module#revision

where scheme is one of:
cvs, git, svn, cvs+ssh, git+ssh, git+http, git+https,
git+rsync, svn+ssh, svn+http, svn+https

The host/path must be explicitly allowed in the allowed_scms
configuration option for kojid. This configuration option takes a list
of entries in the following format:
host:repository[:use_common[:source_cmd]]
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 

Thread Tools




All times are GMT. The time now is 01:31 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org