Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
README.mkdn 1.82 KiB
Newer Older
CyanogenMod
Steve Kondik's avatar
Steve Kondik committed
===========

Submitting Patches
------------------
Wes Garner's avatar
Wes Garner committed
Patches are always welcome!  Please submit your patches via CyanogenMod Gerrit!
You can do this by using these commands:
Steve Kondik's avatar
Steve Kondik committed

Wes Garner's avatar
Wes Garner committed
    (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> 

    repo start cm-14.1 .
Wes Garner's avatar
Wes Garner committed
    (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>

codeworkx's avatar
codeworkx committed
To view the status of your and others' patches, visit [CyanogenMod Code Review](http://review.cyanogenmod.org/)
Steve Kondik's avatar
Steve Kondik committed


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

To get started with Android/CyanogenMod, you'll need to get
ciwrl's avatar
ciwrl committed
familiar with [Repo](https://source.android.com/source/using-repo.html) and [Version Control with Git](https://source.android.com/source/version-control.html).
Steve Kondik's avatar
Steve Kondik committed

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

    repo init -u git://github.com/CyanogenMod/android.git -b cm-14.1
Steve Kondik's avatar
Steve Kondik committed

Then to sync up:

    repo sync

ciwrl's avatar
ciwrl committed
Please see the [CyanogenMod Wiki](http://wiki.cyanogenmod.org/) for building instructions, by device.
Steve Kondik's avatar
Steve Kondik committed

For more information on this Github Organization and how it is structured, 
ciwrl's avatar
ciwrl committed
please [read the wiki article](http://wiki.cyanogenmod.org/w/Github_Organization)
Steve Kondik's avatar
Steve Kondik committed

Buildbot
--------

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

ciwrl's avatar
ciwrl committed
You can view the current build statuses in the [Jenkins](http://jenkins.cyanogenmod.org) tool.