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

Skip to content
README.mkdn 1.7 KiB
Newer Older
Dan Pasanen's avatar
Dan Pasanen committed
Lineage
Chris Soyars's avatar
Chris Soyars committed
===========

Submitting Patches
------------------
Dan Pasanen's avatar
Dan Pasanen committed
Patches are always welcome!  Please submit your patches via Lineage Gerrit!
Chris Soyars's avatar
Chris Soyars committed
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> 

    repo start cm-14.1 .
Chris Soyars's avatar
Chris Soyars 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>

Dan Pasanen's avatar
Dan Pasanen committed
To view the status of your and others' patches, visit [Lineage Code Review](http://review.lineageos.org/)
Chris Soyars's avatar
Chris Soyars committed


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

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

Dan Pasanen's avatar
Dan Pasanen committed
To initialize your local repository using the Lineage trees, use a command like this:
Chris Soyars's avatar
Chris Soyars committed

Dan Pasanen's avatar
Dan Pasanen committed
    repo init -u git://github.com/LineageOS/android.git -b cm-14.1
Chris Soyars's avatar
Chris Soyars committed

Then to sync up:

    repo sync

Dan Pasanen's avatar
Dan Pasanen committed
Please see the [Lineage Wiki](http://wiki.lineageos.org/) for building instructions.
Chris Soyars's avatar
Chris Soyars committed

For more information on this Github Organization and how it is structured, 
Dan Pasanen's avatar
Dan Pasanen committed
please [read the wiki article](http://wiki.lineageos.org/w/Github_Organization)
Chris Soyars's avatar
Chris Soyars committed

Buildbot
--------

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

Dan Pasanen's avatar
Dan Pasanen committed
You can view the current build statuses at [Lineage Jenkins](http://jenkins.lineageos.org/)