Detailed gitian build guide

Detailed gitian build guide
2014-04-03  4:47 ` devrandom
  
From: Wladimir @ 2014-04-02 12:27 UTC (permalink / raw)
  To: Bitcoin Dev

[-- Attachment #1: Type: text/plain, Size: 546 bytes --]

Hello all,

I'm working on a detailed guide on how to install and set up a Debian VM
for gitian building. As this guide can be used on any operating system that
has VirtualBox, hopefully this will make it easier for people to get
started with gitian builds.

See https://github.com/bitcoin/bitcoin/pull/3994

Rendered version is here:
https://github.com/laanwj/bitcoin/blob/2014_04_debian_gitian_build_doc/doc/gitian-building.md

Comments and patches are welcome.
If you bump into problems while following the guide please let me know.

Wladimir

[-- Attachment #2: Type: text/html, Size: 872 bytes --]

 permalink raw reply	[|nested]
2014-04-02 12:27 [Bitcoin-development] Detailed gitian build guide Wladimir

  2014-04-03  5:51   ` Wladimir
  
From: devrandom @ 2014-04-03  4:47 UTC (permalink / raw)
  To: Wladimir;  Bitcoin Dev

Nice!

I wonder how much of this could be scripted.

On Wed, 2014-04-02 at 14:27 +0200, Wladimir wrote:
> Hello all,
> 
> 
> I'm working on a detailed guide on how to install and set up a Debian
> VM for gitian building. As this guide can be used on any operating
> system that has VirtualBox, hopefully this will make it easier for
> people to get started with gitian builds.
> 
> 
> See https://github.com/bitcoin/bitcoin/pull/3994
> 
> 
> Rendered version is here:
> https://github.com/laanwj/bitcoin/blob/2014_04_debian_gitian_build_doc/doc/gitian-building.md
> 
> 
> 
> Comments and patches are welcome.
> 
> If you bump into problems while following the guide please let me
> know.
> 
> 
> 
> Wladimir
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Bitcoin-development mailing list
> Bitcoin-development@lists•sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bitcoin-development

-- 
Miron / devrandom






 permalink raw reply	[|nested]
2014-04-03  4:47 ` devrandom

  2014-04-03 16:01     ` devrandom
  
From: Wladimir @ 2014-04-03  5:51 UTC (permalink / raw)
  To: devrandom;  Bitcoin Dev

[-- Attachment #1: Type: text/plain, Size: 819 bytes --]

On Thu, Apr 3, 2014 at 6:47 AM, devrandom <c1.sf-bitcoin@niftybox•net>wrote:

> Nice!
>
> I wonder how much of this could be scripted.
>

Everything, probably, using vmbuilder (and/or vagrant as Nick Simpson
suggests). But that's not the point here. It is to provide exact steps that
people can follow to get a basic (virtual) machine that they can use to do
gitian builds.

I didn't want to end up with a gitian-builder-that-builds-a-gitian-builder
:-) The host machine may not even have any scripting languages installed
(in the case of Windows).

It may be possible to script *some* parts (most of the quoted bash script
is runnable as script) without automating the entire process, but I hope
that over time we can make Gitian itself easier to use/setup, so that less
steps are needed in the first place.

Wladimir

[-- Attachment #2: Type: text/html, Size: 1211 bytes --]

 permalink raw reply	[|nested]
2014-04-03  5:51   ` Wladimir

  
From: devrandom @ 2014-04-03 16:01 UTC (permalink / raw)
  To: Wladimir;  Bitcoin Dev

On Thu, 2014-04-03 at 07:51 +0200, Wladimir wrote:
> 
> On Thu, Apr 3, 2014 at 6:47 AM, devrandom <c1.sf-bitcoin@niftybox•net>
> wrote:
>         Nice!
>         
>         I wonder how much of this could be scripted.
> 
> 
> Everything, probably, using vmbuilder (and/or vagrant as Nick Simpson
> suggests). But that's not the point here. It is to provide exact steps
> that people can follow to get a basic (virtual) machine that they can
> use to do gitian builds.

Understood.
> 
> I didn't want to end up with a
> gitian-builder-that-builds-a-gitian-builder :-) The host machine may
> not even have any scripting languages installed (in the case of
> Windows).

Yes, I can see the turtles there.
> 
> 
> It may be possible to script *some* parts (most of the quoted bash
> script is runnable as script) without automating the entire process,
> but I hope that over time we can make Gitian itself easier to
> use/setup, so that less steps are needed in the first place.

Understood. :)  I would definitely like to see in Gitian any
improvements that make it easier for newcomers to get started.
> 
> 
> Wladimir
> 
> 
> 

-- 
Miron / devrandom






 permalink raw reply	[|nested]