Nico Schottelius
unix.schottelius.org
cinit


cinit

using monotone

Monotone is a cvs successor. You have to retrieve the collection "info.clinux.cinit" from "monotone.schottelius.org" (not unix.schottelius.org anymore!). You can get the public server key from here.


Monotone - get (aka "pull")

Here's a small manual howto get cinit via monotone:


# create a database
scice% monotone --db=cinit.db db init 

# get the server key
scice% wget -q  http://unix.schottelius.org/gpm/server-key.pub 

# read the server key
scice% monotone --db=cinit.db read < server-key.pub
monotone: read 1 packet

# do an anonymous pull
scice% monotone --key="" --db=cinit.db pull monotone.schottelius.org info.clinux.cinit
monotone: warning: doing anonymous pull
monotone: rebuilding merkle trees for collection info.clinux.cinit
monotone: connecting to monotone.schottelius.org
monotone: [bytes in: 722110] [bytes out: 7405] 
monotone: exchanged goodbyes and flushed output on fd 7 (peer monotone.schottelius.org), disconnecting

# extract source from the database to a directory
scice% monotone --db=cinit.db --branch=info.clinux.cinit checkout your-destination-directory                                           
monotone: fetching heads of branch 'info.clinux.cinit'

How to change files (aka "push")

I assume you've got a database initialised (see above).

# generate a key pair
scice% monotone -db=cinit.db genkey you@example.com
monotone: generating key-pair 'you@example.com'
Enter password: 
Confirm password: 
monotone: storing key-pair 'you@example.com' in database

# extract the key from the database
scice% monotone --db=cinit.db pubkey you@example.com > you@example.com.pubkey
Now send the key to me, so I can add it to the monotone server on monotone.schottelius.org. Note: This is only for people, who want to contribute to cinit, you'll not need to do this, if you only want to get the sources!

For more information visit monotone's homepage, it has excellent documentation!