blob: 998186b374edf37e9ee08dc3307c8c1b88624750 [file] [log] [blame]
Chris Soyars5c513762010-07-05 03:40:52 +00001CyanogenMod
Steve Kondike5f263c2010-07-11 00:17:02 -04002===========
Chris Soyars5c513762010-07-05 03:40:52 +00003
Steve Kondike5f263c2010-07-11 00:17:02 -04004Submitting Patches
5------------------
Wes Garnera8c03cc2011-01-16 03:07:26 -06006Patches are always welcome! Please submit your patches via CyanogenMod Gerrit!
7You can do this by using these commands:
Chris Soyars5c513762010-07-05 03:40:52 +00008
Wes Garnera8c03cc2011-01-16 03:07:26 -06009 (From root android directory)
10 . build/envsetup.sh
11 (Go to repo you are patching, make your changes and commit)
12 cmgerrit <for(new)/changes(patch set)> <branch/change-id>
Steve Kondike5f263c2010-07-11 00:17:02 -040013
codeworkx22122ea2013-01-18 16:41:55 +000014 repo start jb .
Wes Garnera8c03cc2011-01-16 03:07:26 -060015 (Make your changes and commit)
16 repo upload .
17Note: "." meaning current directory
18For more help on using this tool, use this command: repo help upload
19
20Make your changes and commit with a detailed message, starting with what you are working with (i.e. vision: Update Kernel)
21Commit your patches in a single commit. Squash multiple commit using this command: git rebase -i HEAD~<# of commits>
22
codeworkx22122ea2013-01-18 16:41:55 +000023To view the status of your and others' patches, visit [CyanogenMod Code Review](http://review.cyanogenmod.org/)
Wes Garnera8c03cc2011-01-16 03:07:26 -060024
Steve Kondike5f263c2010-07-11 00:17:02 -040025
26Getting Started
27---------------
28
29To get started with Android/CyanogenMod, you'll need to get
30familiar with [Git and Repo](http://source.android.com/download/using-repo).
31
32To initialize your local repository using the CyanogenMod trees, use a command like this:
33
codeworkx22122ea2013-01-18 16:41:55 +000034 repo init -u git://github.com/CyanogenMod/android.git -b cm-10.1
Steve Kondike5f263c2010-07-11 00:17:02 -040035
36Then to sync up:
37
38 repo sync
39
codeworkx22122ea2013-01-18 16:41:55 +000040Please see the [CyanogenMod Wiki](http://wiki.cyanogenmod.org/) for building instructions.
Steve Kondike5f263c2010-07-11 00:17:02 -040041
42For more information on this Github Organization and how it is structured,
codeworkx22122ea2013-01-18 16:41:55 +000043please [read the wiki article](http://wiki.cyanogenmod.org/index.php/Github_Organization)
Steve Kondike5f263c2010-07-11 00:17:02 -040044
45Buildbot
46--------
47
48All supported devices are built nightly and periodically as changes are committed to ensure the source trees remain buildable.
49
codeworkx22122ea2013-01-18 16:41:55 +000050You can view the current build statuses at [jenkins.cyanogenmod.org/](http://jenkins.cyanogenmod.org/)