Eric Andersen | 6047ae3 | 2005-02-09 03:52:46 +0000 | [diff] [blame] | 1 | <!--#include file="header.html" --> |
| 2 | |
Rob Landley | 42c4259 | 2006-05-18 21:53:51 +0000 | [diff] [blame] | 3 | <h3>Morris Dancing</h3> |
Eric Andersen | 6047ae3 | 2005-02-09 03:52:46 +0000 | [diff] [blame] | 4 | |
Rob Landley | 42c4259 | 2006-05-18 21:53:51 +0000 | [diff] [blame] | 5 | <p>Subversion commit access requires an account on Morris. The server |
| 6 | behind busybox.net and uclibc.org. If you want to be able to commit things to |
| 7 | Subversion, first contribute some stuff to show you are serious, can handle |
| 8 | some responsibility, and that your patches don't generally need a lot of |
| 9 | cleanup. Then, very nicely ask one of us (<a href="mailto:rob@landley.net">Rob |
| 10 | Landley</a> for BusyBox, or <a href="mailto:andersen@codepoet.org">Erik |
| 11 | Andersen</a> for uClibc) for an account.</p> |
Eric Andersen | 6047ae3 | 2005-02-09 03:52:46 +0000 | [diff] [blame] | 12 | |
Rob Landley | 42c4259 | 2006-05-18 21:53:51 +0000 | [diff] [blame] | 13 | <p>If you're approved for an account, you'll need to send an email from your |
| 14 | preferred contact email address with the username you'd like to use when |
| 15 | committing changes to SVN, and attach a public ssh key to access your account |
| 16 | with.</p> |
Eric Andersen | 6047ae3 | 2005-02-09 03:52:46 +0000 | [diff] [blame] | 17 | |
Rob Landley | 42c4259 | 2006-05-18 21:53:51 +0000 | [diff] [blame] | 18 | <p>If you don't currently have an ssh version 2 DSA key at least 1024 bits |
| 19 | long (the default), you can generate a key using the |
| 20 | command <b>ssh-keygen -t dsa</b> and hitting enter at the prompts. This |
| 21 | will create the files <b>~/.ssh/id_dsa</b> and <b>~/.ssh/id_dsa.pub</b> |
| 22 | You must then send the content of 'id_dsa.pub' to me so I can set up your |
| 23 | account. (The content of 'id_dsa' should of course be kept secret, anyone |
| 24 | who has that can access any account that's installed your public key in |
| 25 | its <b>.ssh/authorized_keys</b> file.)</p> |
Eric Andersen | 6047ae3 | 2005-02-09 03:52:46 +0000 | [diff] [blame] | 26 | |
Rob Landley | 42c4259 | 2006-05-18 21:53:51 +0000 | [diff] [blame] | 27 | <p>Note that if you would prefer to keep your communications with us |
| 28 | private, you can encrypt your email using |
| 29 | <a href="http://landley.net/pubkey.gpg">Rob's public key</a> or |
| 30 | <a href="http://www.codepoet.org/andersen/erik/gpg.asc">Erik's public |
| 31 | key</a>.</p> |
Eric Andersen | 6047ae3 | 2005-02-09 03:52:46 +0000 | [diff] [blame] | 32 | |
Rob Landley | 42c4259 | 2006-05-18 21:53:51 +0000 | [diff] [blame] | 33 | <p>Once you are setup with an account, you will need to use your account to |
| 34 | checkout a copy of BusyBox from Subversion:</p> |
Eric Andersen | 6047ae3 | 2005-02-09 03:52:46 +0000 | [diff] [blame] | 35 | |
Rob Landley | 42c4259 | 2006-05-18 21:53:51 +0000 | [diff] [blame] | 36 | <p><b>svn checkout svn+ssh://username@busybox.net/svn/trunk/busybox</b></p> |
| 37 | <p>or</p> |
| 38 | <p><b>svn checkout svn+ssh://username@uclibc.org/svn/trunk/uclibc</b></p> |
Eric Andersen | 6047ae3 | 2005-02-09 03:52:46 +0000 | [diff] [blame] | 39 | |
Rob Landley | 42c4259 | 2006-05-18 21:53:51 +0000 | [diff] [blame] | 40 | <p>You must change <em>username</em> to your own username, or omit |
| 41 | it if it's the same as your local username.</p> |
Eric Andersen | 6047ae3 | 2005-02-09 03:52:46 +0000 | [diff] [blame] | 42 | |
Rob Landley | 42c4259 | 2006-05-18 21:53:51 +0000 | [diff] [blame] | 43 | <p>You can then enter the newly checked out project directory, make changes, |
| 44 | check your changes, diff your changes, revert your changes, and and commit your |
| 45 | changes using commands such as:</p> |
Eric Andersen | 6047ae3 | 2005-02-09 03:52:46 +0000 | [diff] [blame] | 46 | |
Rob Landley | 42c4259 | 2006-05-18 21:53:51 +0000 | [diff] [blame] | 47 | <b><pre> |
Eric Andersen | 6047ae3 | 2005-02-09 03:52:46 +0000 | [diff] [blame] | 48 | svn diff |
| 49 | svn status |
| 50 | svn revert |
Rob Landley | 42c4259 | 2006-05-18 21:53:51 +0000 | [diff] [blame] | 51 | EDITOR=vi svn commit |
| 52 | svn log -v -r PREV:HEAD |
| 53 | svn help |
| 54 | </pre></b> |
Eric Andersen | 6047ae3 | 2005-02-09 03:52:46 +0000 | [diff] [blame] | 55 | |
Rob Landley | 42c4259 | 2006-05-18 21:53:51 +0000 | [diff] [blame] | 56 | <p>For additional detail on how to use Subversion, please visit the |
Eric Andersen | 6047ae3 | 2005-02-09 03:52:46 +0000 | [diff] [blame] | 57 | <a href="http://subversion.tigris.org/">the Subversion website</a>. |
| 58 | You might also want to read online or buy a copy of <a |
Rob Landley | 42c4259 | 2006-05-18 21:53:51 +0000 | [diff] [blame] | 59 | href="http://svnbook.red-bean.com/">the Subversion Book</a>...</p> |
Eric Andersen | 6047ae3 | 2005-02-09 03:52:46 +0000 | [diff] [blame] | 60 | |
Rob Landley | 42c4259 | 2006-05-18 21:53:51 +0000 | [diff] [blame] | 61 | <p>A morris account also gives you a personal web page |
| 62 | (http://busybox.net/~username comes from ~/public_html on morris), and of |
| 63 | course a shell prompt you can ssh into (as a regular user, root access is |
| 64 | reserved for Erik and Rob). But keep in mind an account on Morris is a |
| 65 | priviledge, not a requirement. Most contributors to busybox and uClibc |
| 66 | haven't got one, and accounts are handed out to make the project maintainers' |
| 67 | lives easier, not because "you deserve it".</p> |
Eric Andersen | 6047ae3 | 2005-02-09 03:52:46 +0000 | [diff] [blame] | 68 | |
| 69 | <!--#include file="footer.html" --> |