2010-07-05 05:40:52 +02:00
CyanogenMod
2010-07-11 06:17:02 +02:00
===========
Submitting Patches
------------------
2011-01-16 10:07:26 +01:00
Patches are always welcome! Please submit your patches via CyanogenMod Gerrit!
You can do this by using these commands:
2010-07-11 06:17:02 +02:00
2011-01-16 10:07:26 +01:00
(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>
2016-10-26 21:35:18 +02:00
repo start cm-14.1 .
2011-01-16 10:07:26 +01:00
(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>
2013-01-18 17:41:55 +01:00
To view the status of your and others' patches, visit [CyanogenMod Code Review](http://review.cyanogenmod.org/)
2010-07-11 06:17:02 +02:00
Getting Started
---------------
To get started with Android/CyanogenMod, you'll need to get
2013-01-15 06:57:39 +01:00
familiar with [Repo](https://source.android.com/source/using-repo.html) and [Version Control with Git](https://source.android.com/source/version-control.html).
2010-07-11 06:17:02 +02:00
To initialize your local repository using the CyanogenMod trees, use a command like this:
2016-10-26 21:35:18 +02:00
repo init -u git://github.com/CyanogenMod/android.git -b cm-14.1
2010-07-11 06:17:02 +02:00
Then to sync up:
repo sync
2013-01-15 06:57:39 +01:00
Please see the [CyanogenMod Wiki](http://wiki.cyanogenmod.org/) for building instructions, by device.
2010-07-11 06:17:02 +02:00
For more information on this Github Organization and how it is structured,
2013-01-15 06:57:39 +01:00
please [read the wiki article](http://wiki.cyanogenmod.org/w/Github_Organization)
2010-07-11 06:17:02 +02:00
Buildbot
--------
All supported devices are built nightly and periodically as changes are committed to ensure the source trees remain buildable.
2013-01-15 06:57:39 +01:00
You can view the current build statuses in the [Jenkins](http://jenkins.cyanogenmod.org) tool.