Re: Bug#892612: ITP: conbuilder -- container-basade package builder for Debian packages

2018-08-01 Thread Johannes Schauer
Hi,

Quoting Benjamin Drung (2018-08-01 16:28:54)
> > Build Debian packages using OverlayFS and systemd namespace
> > containers.
> > 
> > conbuilder creates a base filesystem using debootstrap, then
> > overlays it with a filesystem to install the required dependencies
> > and finally runs the build on another overlay.
> > 
> > Layers are created, reused and purged automatically to achieve
> > fast package builds while minimizing disk usage.
> > 
> > It takes less than 2 seconds to start a new build on an already
> > existing
> > overlay.
> 
> What's the difference to sbuild which is configured to use overlays?

There certainly are a few things like disabling network access during build or
seccomp filters which schroot in Debian cannot yet do (see also #802849).

But before re-implementing all the package building logic that already exists
in pbuilder and sbuild, could we maybe evaluate whether it is feasible to
extend the existing tools with a new backend?

Especially when added as an autopkgtest-virt server, such work would benefit a
much bigger crowd than yet another [1,2] package building software.

I would certainly appreciate a bug against sbuild that adds functionality that
sbuild does not yet have.

Thanks!

cheers, josch

[1] https://lists.debian.org/4340a82e-15fc-1518-122a-c49273da1...@metux.net
[2] https://lists.debian.org/87lhiduele@desiato.home.uhoreg.ca


signature.asc
Description: signature


Re: Bug#892612: ITP: conbuilder -- container-basade package builder for Debian packages

2018-08-01 Thread Benjamin Drung
Am Sonntag, den 11.03.2018, 11:31 + schrieb Federico Ceratto:
> Package: wnpp
> Severity: wishlist
> Owner: Federico Ceratto 
> 
> * Package name: conbuilder
>   Version : 0.0.1
>   Upstream Author : Federico Ceratto 
> * URL : https://salsa.debian.org/federico/conbuilder
> * License : GPLv3
>   Programming Lang: Python
>   Description : container-basade package builder for Debian
> packages
> 
> Build Debian packages using OverlayFS and systemd namespace
> containers.
> 
> conbuilder creates a base filesystem using debootstrap, then
> overlays it with a filesystem to install the required dependencies
> and finally runs the build on another overlay.
> 
> Layers are created, reused and purged automatically to achieve
> fast package builds while minimizing disk usage.
> 
> It takes less than 2 seconds to start a new build on an already
> existing
> overlay.

What's the difference to sbuild which is configured to use overlays?

-- 
Benjamin Drung
System Developer
Debian & Ubuntu Developer

ProfitBricks GmbH
Greifswalder Str. 207
10405 Berlin

Email: benjamin.dr...@profitbricks.com
URL: https://www.profitbricks.de

Sitz der Gesellschaft: Berlin
Registergericht: Amtsgericht Charlottenburg, HRB 125506 B
Geschäftsführer: Achim Weiss, Matthias Steinberg, Christoph Steffens



Bug#892612: ITP: conbuilder -- container-basade package builder for Debian packages

2018-03-11 Thread Federico Ceratto
Package: wnpp
Severity: wishlist
Owner: Federico Ceratto 

* Package name: conbuilder
  Version : 0.0.1
  Upstream Author : Federico Ceratto 
* URL : https://salsa.debian.org/federico/conbuilder
* License : GPLv3
  Programming Lang: Python
  Description : container-basade package builder for Debian packages

Build Debian packages using OverlayFS and systemd namespace containers.

conbuilder creates a base filesystem using debootstrap, then
overlays it with a filesystem to install the required dependencies
and finally runs the build on another overlay.

Layers are created, reused and purged automatically to achieve
fast package builds while minimizing disk usage.

It takes less than 2 seconds to start a new build on an already existing
overlay.

conbuilder also allows to selectively disable networking,
capabilities and filter system calls using seccomp.

The packaging will be hosted at [1] as a native package.

[1] https://salsa.debian.org/federico/conbuilder