Rt2x00 GIT instructions

From Rt2x00Wiki

Contents

INITIAL SETUP

STEP 0 - Check your distro for specific details on:

1. installing development tools and libraries
2. examples for some distros:
   Fedora Core 10:
   go to "System, Administration, Add/Remove Software"
   click on "Package collections"
   select "Development Libraries" and "Development Tools"
   click "Apply"
   The package manager would then download and install all relevant packages needed for software development.
   Gentoo:
   Gentoo users should already have a working development setup
   to install git, all you need is to "emerge git"
   Ubuntu 9.04 Jaunty:
   Ubuntu has a working development setup
   to install git, all you need is to "sudo apt-get install git-core"

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 - Clone a copy of our master repository for your local use

1. git clone git://git.kernel.org/pub/scm/linux/kernel/git/ivd/rt2x00.git rt2x00
2. wait, may take ages, have a snack.
3. cd rt2x00

STEP 3 - Configure 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"

DAILY DEVELOPMENT COMMANDS

To get your local copy in sync 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
2. git merge master


The following instructions are not complete, we're changing this page. Sorry for the inconvenience.


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 make a patch from your branch to send to rt2x00-users

1. Make sure you first have an up-to-date 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 "users" at "rt2x00.serialmonkey.com" 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 173,969 times. This page was last modified 17:06, 25 April 2009. 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...