Re: [tor-dev] Gitian builds in VirtualBox with Vagrant

2013-06-28 Thread Arlo Breault
 This is rather exciting. Do you think that this method can be adapted to
 build the pluggable transports bundles? 

Yes.

I originally started working on this so I could submit a patch to include
the tor-fw-helper in the TBB.

But since the helper is only needed in the PT bundles,
reworking their build process seems the more productive route.

I'll see what I can do.

 This is currently done
 semi-manually, with a makefile that builds the pluggable transports,
 unzips the bundle, copies in some files, and re-zips the bundle.
 
 https://gitweb.torproject.org/pluggable-transports/bundle.git/blob/HEAD:/Makefile
 
 We also have instructions for setting up a build VM from scratch--which
 it sounds like is what Vagrant does--but I guess we would instead use
 whatever is the build machine for the vanilla bundle.
 
 https://gitweb.torproject.org/pluggable-transports/bundle.git/blob/HEAD:/Makefile
 
 It would solve a lot of problems for us to have the PT bundles built at
 the same place and time as the vanilla bundles.

___
tor-dev mailing list
tor-dev@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev


Re: [tor-dev] Gitian builds in VirtualBox with Vagrant

2013-06-28 Thread Mike Perry

Arlo Breault:
  This is rather exciting. Do you think that this method can be adapted to
  build the pluggable transports bundles? 
 
 Yes.
 
 I originally started working on this so I could submit a patch to include
 the tor-fw-helper in the TBB.
 
 But since the helper is only needed in the PT bundles,
 reworking their build process seems the more productive route.
 
 I'll see what I can do.

FWIW, in the longer-term I think that the PT bundles and the normal TBB
bundles should merge as soon as we have the development resources to
improve Tor Launcher to support PT selection, configuration, and bridge
input/discovery..

I believe all of the PT configuration should be done under the
Configure button of Tor Launcher (or some similar UI).


I think the first steps to this are to get the same build system to
churn out both sets of bundles (probably by copying each OS's
gitian-bundle.yml to gitian-bundle-pt.yml and adding the PT packages in
that step):
https://gitweb.torproject.org/builders/tor-browser-bundle.git/blob/HEAD:/gitian/descriptors/linux/gitian-bundle.yml


-- 
Mike Perry


signature.asc
Description: Digital signature
___
tor-dev mailing list
tor-dev@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev


Re: [tor-dev] Gitian builds in VirtualBox with Vagrant

2013-06-28 Thread David Fifield
On Fri, Jun 28, 2013 at 04:02:14PM -0700, Mike Perry wrote:
 Arlo Breault:
   This is rather exciting. Do you think that this method can be adapted to
   build the pluggable transports bundles? 
  
  Yes.
  
  I originally started working on this so I could submit a patch to include
  the tor-fw-helper in the TBB.
  
  But since the helper is only needed in the PT bundles,
  reworking their build process seems the more productive route.
  
  I'll see what I can do.
 
 FWIW, in the longer-term I think that the PT bundles and the normal TBB
 bundles should merge as soon as we have the development resources to
 improve Tor Launcher to support PT selection, configuration, and bridge
 input/discovery..
 
 I believe all of the PT configuration should be done under the
 Configure button of Tor Launcher (or some similar UI).

I agree with that. I posited something similar as a long-term goal;
replace Vidalia with Tor Launcher:
https://trac.torproject.org/projects/tor/ticket/8019#comment:3

 I think the first steps to this are to get the same build system to
 churn out both sets of bundles (probably by copying each OS's
 gitian-bundle.yml to gitian-bundle-pt.yml and adding the PT packages in
 that step):
 https://gitweb.torproject.org/builders/tor-browser-bundle.git/blob/HEAD:/gitian/descriptors/linux/gitian-bundle.yml

That looks pretty cool. If I find time I'll try one of these
reproducible builds.

David Fifield
___
tor-dev mailing list
tor-dev@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev


Re: [tor-dev] Gitian builds in VirtualBox with Vagrant

2013-06-27 Thread David Fifield
On Sat, Jun 22, 2013 at 05:17:44PM -0700, Arlo Breault wrote:
 If anyone has VirtualBox and Vagrant installed,
 
 https://www.virtualbox.org/
 http://www.vagrantup.com/
 
 and wants to try the new TBB deterministic builds,
 this worked for me,
 
  git clone -b vagrant https://github.com/arlolra/tor-browser-bundle.git
  cd tor-browser-bundle/vagrant
  make
 
 Mike, there's a few patches in there you may want,
 https://github.com/arlolra/tor-browser-bundle/compare/vagrant

This is rather exciting. Do you think that this method can be adapted to
build the pluggable transports bundles? This is currently done
semi-manually, with a makefile that builds the pluggable transports,
unzips the bundle, copies in some files, and re-zips the bundle.

https://gitweb.torproject.org/pluggable-transports/bundle.git/blob/HEAD:/Makefile

We also have instructions for setting up a build VM from scratch--which
it sounds like is what Vagrant does--but I guess we would instead use
whatever is the build machine for the vanilla bundle.

https://gitweb.torproject.org/pluggable-transports/bundle.git/blob/HEAD:/Makefile

It would solve a lot of problems for us to have the PT bundles built at
the same place and time as the vanilla bundles.

David Fifield
___
tor-dev mailing list
tor-dev@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev


Re: [tor-dev] Gitian builds in VirtualBox with Vagrant

2013-06-24 Thread Arlo Breault
 So this is a wrapper to install+launch a VirtualBox Ubuntu VM to use
 Gitian in LXC mode? Sounds good!
 
 

Exactly. Just codifies what it took to get it running in a VM.
 
 
 Hopefully by Monday I will have tagged TBB 3.0a2, and we will begin
 building it. If your build matches (or comes close), I will merge this
 stuff for 3.0a3.
 
 Note that I am about to commit some changes to mkbundle-*.sh, so be
 sure to rebase your github branch for your build (which you will also
 need to do anyways to pick up the latest 'versions' file tags).
 
 

Ok. I'll keep my eye out for 3.0a2 
___
tor-dev mailing list
tor-dev@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev


Re: [tor-dev] Gitian builds in VirtualBox with Vagrant

2013-06-22 Thread Mike Perry
So this is a wrapper to install+launch a VirtualBox Ubuntu VM to use
Gitian in LXC mode? Sounds good!

Hopefully by Monday I will have tagged TBB 3.0a2, and we will begin
building it. If your build matches (or comes close), I will merge this
stuff for 3.0a3.

Note that I am about to commit some changes to mkbundle-*.sh, so be
sure to rebase your github branch for your build (which you will also
need to do anyways to pick up the latest 'versions' file tags).


Arlo Breault:
 If anyone has VirtualBox and Vagrant installed, 
 
 https://www.virtualbox.org/
 http://www.vagrantup.com/
 
 and wants to try the new TBB deterministic builds,
 this worked for me,
 
  git clone -b vagrant https://github.com/arlolra/tor-browser-bundle.git
  cd tor-browser-bundle/vagrant
  make
 
 Mike, there's a few patches in there you may want,
 https://github.com/arlolra/tor-browser-bundle/compare/vagrant
 
 Or you can take the whole thing.
 
 Enjoy,
 Arlo
 

 ___
 tor-dev mailing list
 tor-dev@lists.torproject.org
 https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev


-- 
Mike Perry


signature.asc
Description: Digital signature
___
tor-dev mailing list
tor-dev@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev