Difference between revisions of "New Project Participants"

From Embedded Xinu
Jump to navigation Jump to search
(Linked to wikipedia article on Subversion)
m (→‎Subversion: Updated to use new repo paths)
Line 4: Line 4:
 
The code for XINU is stored in a [[wikipedia:Subversion_(software) | Subversion]] code repository.
 
The code for XINU is stored in a [[wikipedia:Subversion_(software) | Subversion]] code repository.
  
In order to access the code you need to have your ssh public key registered
+
You have two ways of accessing the code:
with the 'svn' user.  Please email or link to your public key to
+
* over HTTPS
be added.  If you do not yet have an ssh keypair, here is a document
+
* over SSH
that explains the why and the how pretty well:
+
 
 +
If you want to access the code via SSH, you will need to create and register your public key with the 'svn' user on MULUGThere is good document that details generating an SSH keypair at:
  
 
http://kb.iu.edu/data/aews.html
 
http://kb.iu.edu/data/aews.html
 +
 +
After the key is generated please email (or link) your public SSH key to the current repository administrator to be added.
  
 
Once your key has been registered, you can do a test checkout with the
 
Once your key has been registered, you can do a test checkout with the
 
following command:
 
following command:
  
svn co svn+ssh://svn@mulug.mscs.mu.edu/xinu-mips/trunk xinu
+
svn co svn+ssh://svn@xinu.mscs.mu.edu/mips/trunk xinu
  
 
You can also switch an existing working copy with the following from
 
You can also switch an existing working copy with the following from
Line 21: Line 24:
 
<pre>
 
<pre>
 
FROM=`svn info | grep ^URL | awk '{ print $2 }'`
 
FROM=`svn info | grep ^URL | awk '{ print $2 }'`
svn switch --relocate $FROM svn+ssh://svn@mulug.mscs.mu.edu/xinu-mips/trunk
+
svn switch --relocate $FROM svn+ssh://svn@xinu.mscs.mu.edu/mips/trunk
 
unset FROM
 
unset FROM
 
</pre>
 
</pre>

Revision as of 14:31, 10 May 2008

This page contains details for newcomers to the XINU project who want to get started working in the lab and coding with XINU.

Subversion

The code for XINU is stored in a Subversion code repository.

You have two ways of accessing the code:

  • over HTTPS
  • over SSH

If you want to access the code via SSH, you will need to create and register your public key with the 'svn' user on MULUG. There is good document that details generating an SSH keypair at:

http://kb.iu.edu/data/aews.html

After the key is generated please email (or link) your public SSH key to the current repository administrator to be added.

Once your key has been registered, you can do a test checkout with the following command:

svn co svn+ssh://svn@xinu.mscs.mu.edu/mips/trunk xinu

You can also switch an existing working copy with the following from your working copy's directory:

FROM=`svn info | grep ^URL | awk '{ print $2 }'`
svn switch --relocate $FROM svn+ssh://svn@xinu.mscs.mu.edu/mips/trunk
unset FROM

You will be asked for the passphrase that you specified for your private key every time you perform a svn command that needs the server. This is because svn is not locally caching your password in plaintext as it was before (no plaintext cache = better). I highly recommend using a memory-caching tool like ssh-agent to prevent having to repeatedly enter your passphrase.

Trac

Trac has several nice ways of visualizing activity in the Subversion repository, including a source code browser and a timeline. It also has a wiki, which I assume we'll mostly skip, and at it's center is an issue tracking system, which I suggest we consider as a way to consolidate our various and sundry todo lists.

http://xinu.mscs.mu.edu/trac/

As for user accounts on this guy, I have it set up to do mod_auth_digest right now, which means if you run the following command and email me the password file I can add you to the list of users:

htdigest -c <mypassfile> "Embedded XINU Trac Login" <username>

Then you go to /trac/login which will authenticate you, after which the site will recognize you as a logged-in user. Then you can edit wiki pages and create tickets and such.