Puritan/Instructions: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (New page: To use Puritan, you need to install dependencies and to check out and run a 'ui' and a 'compilation'. # NB: mock >= 0.9.7 is needed. # ''debian'': sudo apt-get install mock git-cor...)
 
mNo edit summary
Line 9: Line 9:
(git clone git://dev.laptop.org/users/mstone/puritan compilation; cd compilation; git checkout -b 767-$USER origin/767)
(git clone git://dev.laptop.org/users/mstone/puritan compilation; cd compilation; git checkout -b 767-$USER origin/767)
git clone git://dev.laptop.org/users/mstone/puritan ui
git clone git://dev.laptop.org/users/mstone/puritan ui
python ui/puritan/main.py # read help
python2.5 ui/puritan/main.py # read help
sudo python2.5 ui/puritan/main.py -v ./compilation HEAD ./results build
sudo python2.5 ui/puritan/main.py -v ./compilation HEAD ./results build



Revision as of 21:56, 15 December 2008

To use Puritan, you need to install dependencies and to check out and run a 'ui' and a 'compilation'.

 # NB: mock >= 0.9.7 is needed.
 # debian:
 sudo apt-get install mock git-core
 # fedora:
 sudo yum install mock git-core
 
 (git clone git://dev.laptop.org/users/mstone/puritan compilation; cd compilation; git checkout -b 767-$USER origin/767)
 git clone git://dev.laptop.org/users/mstone/puritan ui
 python2.5 ui/puritan/main.py   # read help
 sudo python2.5 ui/puritan/main.py -v ./compilation HEAD ./results build

Some puritan compilations now feature both 'download' operations:

 sudo python2.5 ui/puritan/main.py -v ./compilation HEAD ./results download

and 'interactive' error-handling:

 sudo python2.5  -v ./compilation HEAD ./results build -- -i
 git clone git://dev.laptop.org/users/mstone/puritan ui
 /usr/bin/python2.5 ui/puritan/main.py ./compilation HEAD ./results build