Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Development (http://www.linux-archive.org/fedora-development/)
-   -   simple build system for personal repos? (http://www.linux-archive.org/fedora-development/321397-simple-build-system-personal-repos.html)

Till Maas 02-05-2010 06:29 PM

simple build system for personal repos?
 
Hiyas,

is there a simple build system for personal repos available? E.g. give
it an srpm and then it will build it for several mock configs, ask to
sign the rpms, move them to typical repositories and ask to sign the
repository?

Regards
Till
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Iain Arnell 02-06-2010 03:41 AM

simple build system for personal repos?
 
On Fri, Feb 5, 2010 at 8:29 PM, Till Maas <opensource@till.name> wrote:
>
> is there a simple build system for personal repos available? E.g. give
> it an srpm and then it will build it for several mock configs, ask to
> sign the rpms, move them to typical repositories and ask to sign the
> repository?

Much as it pains me to say it, until KoPeR is available, you might
want to look at OpenSUSE Build System.

https://build.opensuse.org/

--
Iain.
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Adam Williamson 02-06-2010 04:08 AM

simple build system for personal repos?
 
On Sat, 2010-02-06 at 05:41 +0100, Iain Arnell wrote:
> On Fri, Feb 5, 2010 at 8:29 PM, Till Maas <opensource@till.name> wrote:
> >
> > is there a simple build system for personal repos available? E.g. give
> > it an srpm and then it will build it for several mock configs, ask to
> > sign the rpms, move them to typical repositories and ask to sign the
> > repository?
>
> Much as it pains me to say it, until KoPeR is available, you might
> want to look at OpenSUSE Build System.
>
> https://build.opensuse.org/

Why would it pain you to say it? There's nothing honourable about NIH
syndrome.
--
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Fedora Talk: adamwill AT fedoraproject DOT org
http://www.happyassassin.net

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Iain Arnell 02-06-2010 04:51 AM

simple build system for personal repos?
 
On Sat, Feb 6, 2010 at 6:08 AM, Adam Williamson <awilliam@redhat.com> wrote:
>
> Why would it pain you to say it? There's nothing honourable about NIH
> syndrome.

Don't get me wrong. I don't mind that we didn't create it. The pain is
simply that we don't have it. I would see no shame in retiring koji
and running OBS for our builds too. And not just for personal repos;
automatic rebuilds when dependencies change is a feature we could
really use.


--
Iain.
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Adam Williamson 02-06-2010 05:36 AM

simple build system for personal repos?
 
On Sat, 2010-02-06 at 06:51 +0100, Iain Arnell wrote:
> On Sat, Feb 6, 2010 at 6:08 AM, Adam Williamson <awilliam@redhat.com> wrote:
> >
> > Why would it pain you to say it? There's nothing honourable about NIH
> > syndrome.
>
> Don't get me wrong. I don't mind that we didn't create it. The pain is
> simply that we don't have it. I would see no shame in retiring koji
> and running OBS for our builds too. And not just for personal repos;
> automatic rebuilds when dependencies change is a feature we could
> really use.

I'm not sure it'd work for the main Fedora buildsystem, but it seems
good for personal repos (though I haven't really used it myself).
--
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Fedora Talk: adamwill AT fedoraproject DOT org
http://www.happyassassin.net

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

"Richard W.M. Jones" 02-07-2010 09:29 PM

simple build system for personal repos?
 
On Fri, Feb 05, 2010 at 08:29:00PM +0100, Till Maas wrote:
> Hiyas,
>
> is there a simple build system for personal repos available? E.g. give
> it an srpm and then it will build it for several mock configs, ask to
> sign the rpms, move them to typical repositories and ask to sign the
> repository?

You might want to look at smock, which is the tool (wrapper around
'mock') that we initially used to build the mingw tree. One nice
feature is that it sorts out dependencies and can build for multiple
Fedora distros and architectures in one go.

It doesn't sign packages though, but it's probably easy to add that.

http://git.annexia.org/?p=fedora-mingw.git;a=tree;f=smock;hb=HEAD

Rich.

--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Sir Gallantmon 02-07-2010 10:04 PM

simple build system for personal repos?
 
Is KoPeR ever going to become available? Or is it an idea that is DOA?

On Sun, Feb 7, 2010 at 4:29 PM, Richard W.M. Jones <rjones@redhat.com> wrote:

On Fri, Feb 05, 2010 at 08:29:00PM +0100, Till Maas wrote:

> Hiyas,

>

> is there a simple build system for personal repos available? E.g. give

> it an srpm and then it will build it for several mock configs, ask to

> sign the rpms, move them to typical repositories and ask to sign the

> repository?



You might want to look at smock, which is the tool (wrapper around

'mock') that we initially used to build the mingw tree. *One nice

feature is that it sorts out dependencies and can build for multiple

Fedora distros and architectures in one go.



It doesn't sign packages though, but it's probably easy to add that.



http://git.annexia.org/?p=fedora-mingw.git;a=tree;f=smock;hb=HEAD



Rich.



--

Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones

virt-p2v converts physical machines to virtual machines. *Boot with a

live CD or over the network (PXE) and turn machines into Xen guests.

http://et.redhat.com/~rjones/virt-p2v

--

devel mailing list

devel@lists.fedoraproject.org

https://admin.fedoraproject.org/mailman/listinfo/devel



--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Vaclav Mocek 02-07-2010 10:40 PM

simple build system for personal repos?
 
Mach may be a solution as well. See:
http://thomas.apestaart.org/projects/mach/

On 02/07/2010 10:29 PM, Richard W.M. Jones wrote:
> On Fri, Feb 05, 2010 at 08:29:00PM +0100, Till Maas wrote:
>
>> Hiyas,
>>
>> is there a simple build system for personal repos available? E.g. give
>> it an srpm and then it will build it for several mock configs, ask to
>> sign the rpms, move them to typical repositories and ask to sign the
>> repository?
>>
> You might want to look at smock, which is the tool (wrapper around
> 'mock') that we initially used to build the mingw tree. One nice
> feature is that it sorts out dependencies and can build for multiple
> Fedora distros and architectures in one go.
>
> It doesn't sign packages though, but it's probably easy to add that.
>
> http://git.annexia.org/?p=fedora-mingw.git;a=tree;f=smock;hb=HEAD
>
> Rich.
>
>

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Kevin Kofler 02-08-2010 06:12 AM

simple build system for personal repos?
 
Richard W.M. Jones wrote:
> You might want to look at smock, which is the tool (wrapper around
> 'mock') that we initially used to build the mingw tree. One nice
> feature is that it sorts out dependencies and can build for multiple
> Fedora distros and architectures in one go.

But the way it "sorts out dependencies" is unlikely to work for anything
other than MinGW as it assumes that the package name which is BuildRequired
is the SRPM name, which is normally not true (as usually the BRed package is
the -devel subpackage, and sometimes even removing "-devel" is not enough to
give you the SRPM name).

Kevin Kofler

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

"Richard W.M. Jones" 02-08-2010 07:54 AM

simple build system for personal repos?
 
On Mon, Feb 08, 2010 at 08:12:05AM +0100, Kevin Kofler wrote:
> Richard W.M. Jones wrote:
> > You might want to look at smock, which is the tool (wrapper around
> > 'mock') that we initially used to build the mingw tree. One nice
> > feature is that it sorts out dependencies and can build for multiple
> > Fedora distros and architectures in one go.
>
> But the way it "sorts out dependencies" is unlikely to work for anything
> other than MinGW as it assumes that the package name which is BuildRequired
> is the SRPM name[...]

This isn't quite right. The code is only concerned with dependencies
between packages in the submitted set, and works by lopping off the
extension (eg. "foo-doc" -> "foo") until it finds the common BR:

http://git.annexia.org/?p=fedora-mingw.git;a=blob;f=smock/smock.pl;h=76a1a542f3e467bfab7004335fdd809396f1244 d;hb=HEAD#l191

This of course is quite simple and won't catch package "foo" which
generated subpackage "bar", but since we have all the SRPMs [hence,
specs] available it should be possible to modify the code to handle
that case as well. Or if you have a specific set of packages in mind,
just add a hack into the above function -- smock was never designed as
a generic tool for this, which is why we never tidied it up and gave
it a proper release.

Rich.

--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel


All times are GMT. The time now is 09:19 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.