README.mkdn 1.73 KB
Newer Older
Chris Soyars's avatar
Chris Soyars committed
1 2 3 4 5 6 7 8 9 10 11 12 13
CyanogenMod
===========

Submitting Patches
------------------
Patches are always welcome!  Please submit your patches via CyanogenMod Gerrit!
You can do this by using these commands:

    (From root android directory)
    . build/envsetup.sh
    (Go to repo you are patching, make your changes and commit)
    cmgerrit <for(new)/changes(patch set)> <branch/change-id> 

nebkat's avatar
nebkat committed
14
    repo start cm-10.1 .
Chris Soyars's avatar
Chris Soyars committed
15 16 17 18 19 20 21 22
    (Make your changes and commit)
    repo upload .
Note: "." meaning current directory
For more help on using this tool, use this command: repo help upload

Make your changes and commit with a detailed message, starting with what you are working with (i.e. vision: Update Kernel)
Commit your patches in a single commit. Squash multiple commit using this command: git rebase -i HEAD~<# of commits>

23
To view the status of your and others' patches, visit [CyanogenMod Code Review](http://review.cyanogenmod.org/)
Chris Soyars's avatar
Chris Soyars committed
24 25 26 27 28 29


Getting Started
---------------

To get started with Android/CyanogenMod, you'll need to get
Kevin Cernekee's avatar
Kevin Cernekee committed
30
familiar with [Git and Repo](http://source.android.com/source/using-repo.html).
Chris Soyars's avatar
Chris Soyars committed
31 32 33

To initialize your local repository using the CyanogenMod trees, use a command like this:

nebkat's avatar
nebkat committed
34
    repo init -u git://github.com/CyanogenMod/android.git -b cm-10.1
Chris Soyars's avatar
Chris Soyars committed
35 36 37 38 39

Then to sync up:

    repo sync

40
Please see the [CyanogenMod Wiki](http://wiki.cyanogenmod.org/) for building instructions.
Chris Soyars's avatar
Chris Soyars committed
41 42

For more information on this Github Organization and how it is structured, 
Kevin Cernekee's avatar
Kevin Cernekee committed
43
please [read the wiki article](http://wiki.cyanogenmod.org/w/Github_Organization)
Chris Soyars's avatar
Chris Soyars committed
44 45 46 47 48 49

Buildbot
--------

All supported devices are built nightly and periodically as changes are committed to ensure the source trees remain buildable.

50
You can view the current build statuses at [CyanogenMod Jenkins](http://jenkins.cyanogenmod.org/)