Rt2x00 GIT instructions

From Rt2x00Wiki

Contents

INITIAL SETUP

STEP 1 - Install GIT

1. Make sure you have curl installed
2. Check that your distro doesn't have a package that you can just install
3. If it doesn't, grab http://www.kernel.org/pub/software/scm/git/git-1.5.0.5.tar.gz
4. Extract then 'make; make prefix=/usr/local install'

STEP 2 - Install Cogito

1. Check that your distro doesn't have a package that you can just install
2. Otherwise, grab http://kernel.org/pub/software/scm/cogito/cogito-0.18.1.tar.gz
3. Extract then 'make; make prefix=/usr/local install'

STEP 3 - Clone a copy of our master repository for your local use

1. cg clone git://git.kernel.org/pub/scm/linux/kernel/git/ivd/rt2x00.git/         (include the trailing slash !!)
2. wait. ages.
3. cd rt2x00

STEP 4 - Configure some GIT settings

1. git-config remote.upload.url git://git.kernel.org/pub/scm/linux/kernel/git/ivd/rt2x00.git/
2. git-config user.name "My name goes here"
3. git-config user.email "My email goes here"

STEP 5 - Create YOUR branch

1. Make up a branch name, like "serialmonkey". Replace "serialmonkey" below with your branch name
2. git branch serialmonkey
3. git checkout serialmonkey

DAILY DEVELOPMENT COMMANDS

To commit a change in your local branch and push it to your branch on the server (i.e. cvs commit)

1. cg commit -e
2. An editor will fire up and you can enter in your commit description which should appear as per below 
     rt2x00: subject of the patch
     Description of the patch you are commiting. Make sure you include the blank line below.
     Signed-off-by: Random J Developer <random at developer.example.org>

To update your branch with the latest from the master branch on the server

1. git fetch git://git.kernel.org/pub/scm/linux/kernel/git/ivd/rt2x00.git/ master:master
1.1: Altenative to updating: cg-update
2. git checkout serialmonkey      (replace with your branch name)
3. git merge master

To make a patch from your branch to send to rt2400-devel

1. Make sure you first have an uptodate branch from master (as per above)
2. git-format-patch master
3. git-send-email patchfilename     (replace with the filename of the patch(s) given by the command above)
4. Fill in your from address and put rt2400- devel at lists.sourceforge.net as the TO address

ACCESS THE WEB INTERFACE

Goto http://git.kernel.org/?p=linux/kernel/git/ivd/rt2x00.git;a=summary

Retrieved from "http://rt2x00.serialmonkey.com/wiki/index.php/Rt2x00_GIT_instructions"

This page has been accessed 51,299 times. This page was last modified 17:36, 13 July 2007. Content is available under GNU Free Documentation License 1.2.


SourceForge.net Logo
Find
Browse
Main Page
Community portal
Current events
Recent changes
Random page
Help
Donations
Edit
Edit this page
Editing help
This page
Discuss this page
Post a comment
Printable version
Context
Page history
What links here
Related changes
My pages
Log in / create account
Special pages
New pages
File list
Statistics
Bug reports
More...