Puritan/Instructions: Difference between revisions

From OLPC
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 10: Line 10:
git clone git://dev.laptop.org/users/mstone/puritan ui
git clone git://dev.laptop.org/users/mstone/puritan ui
python2.5 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 build ./compilation HEAD ./results


Some puritan compilations now feature both 'download' operations:
Some puritan compilations now feature both 'download' operations:


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


and 'interactive' error-handling:
and 'interactive' error-handling:


sudo python2.5 -v ./compilation HEAD ./results build -- -i
sudo python2.5 -v build ./compilation HEAD ./results -- -i


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

Revision as of 21:58, 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 build ./compilation HEAD ./results 

Some puritan compilations now feature both 'download' operations:

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

and 'interactive' error-handling:

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