[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#764567: ITP: obs-build -- Build DEB/RPM packages for various distributions inside a chroot

On 9 October 2014 08:43, Mike Gabriel <mike.gabriel@das-netzwerkteam.de> wrote:
> Hi Dimitri,
> On  Do 09 Okt 2014 08:45:17 CEST, Dimitri John Ledkov wrote:
>> Hey,
>> On 9 October 2014 05:21, Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
>> wrote:
>>> Package: wnpp
>>> Severity: wishlist
>>> Owner: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
>>> * Package name    : obs-build
>>>   Version         : Git snapshot (every commit is a release)
>>>   Upstream Author : Michael Schroeder (https://github.com/mlschroe)
>>> * URL             : https://github.com/openSUSE/obs-build
>>> * License         : GPL
>>>   Programming Lang: Perl
>>>   Description     : Build DEB/RPM packages for various distributions
>>> inside a chroot
>>>  OBS Build creates chroots and builds DEB/RPM packages for various
>>>  Linux distributions. In Debian, this package fills a gap: it allows one
>>> to
>>>  build packages for the openSUSE/SLES distributions on Debian system.
>>>  .
>>>  Its only task is to reliably populate a chroot and attempt to build
>>>  a package in that chroot. It is used by the Open Build System provided
>>>  by SUSE, but can also be use as a standalone tool.
>>>  .
>>>  Optionally, builds can take place in KVM or XEN instance.
>> I think we had a mid-air collision:
>> https://ftp-master.debian.org/new/obs-build_20140918-1.html
>> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762949
>> I'm happy to co-maintain this package.
> Yeah. I saw Adams mail early this morning.
> I have the package nearly ready... Do you have anything packaged, yet? Or
> shall I just add you to Uploaders: (with what mail address)?
> I plan to push the packaging Git to collab-maint (or have you already
> provided a packaging repo there?)

It's in the new queue.

I use a combination of git-dpm & dgit. Which although useful, has
quilt noise committed as patches. (Maybe I should use stand-alone
branch for dgit/quilt noise).

You should be able to fetch it with:
$ dgit clone obs-build

Or I've now pushed a "normal" git master branch thus it's
visiable/clonable with git itself as well:

In terms of patches, I have:
Use obs-build namespace, similar to your patch.

I fixed & submitted upstream a bug with createzypp repository script.

I do not move project configurations to /etc, as I don't think that's
right. Released distribution configurations should be frozen, to have
reproducible builds locally.
Custom/non-upstream distro configs should either be patched/applied in
the Debian package, packaged separately and install into same config
location, or passed to obs-build via command-line option.
We really don't want people to modify build configuration files for
volatile distribution (e.g. Factory, Rawhide, Sid, etc) and then never
get upgraded when those change, due to how config-files are handled.

Maybe it makes sense to patch obs to support multiple locations? E.g.
/etc/obs-build/configs and /usr/lib/obs-build/configs?


Reply to: