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

Commit 1fe63a96 authored by Bruno Martins's avatar Bruno Martins Committed by razorloves
Browse files

lineage: Simplify README and update with minor fixes

 * Deduplicate info that is already in the Wiki

Change-Id: I8d7b8192332c8d5a1756ac55a15f72aa59ffb6a4
parent 6674179a
Loading
Loading
Loading
Loading
+18 −31
Original line number Original line Diff line number Diff line
LineageOS
LineageOS
===========
===========


Submitting Patches
Getting started
------------------
Patches are always welcome!  Please submit your patches via LineageOS 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)
    lineagegerrit <for(new)/changes(patch set)> <branch/change-id> 

    repo start lineage-15.1 .
    (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>

To view the status of your and others' patches, visit [LineageOS Code Review](http://review.lineageos.org/)


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


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


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

```
repo init -u git://github.com/LineageOS/android.git -b lineage-15.1
repo init -u git://github.com/LineageOS/android.git -b lineage-15.1

```
Then to sync up:
Then to sync up:

```
repo sync
repo sync
```
Please see the [LineageOS Wiki](https://wiki.lineageos.org/) for building instructions, by device.


Submitting patches
------------------
Patches are always welcome! Please submit your patches via LineageOS Gerrit!


Please see the [LineageOS Wiki](http://wiki.lineageos.org/) for building instructions, by device.
Simply follow our guide on [how to submit patches](https://wiki.lineageos.org/submitting-patch-howto.html).

To view the status of your and others' patches, visit [LineageOS Gerrit Code Review](https://review.lineageos.org/).


For more information on this Github Organization and how it is structured, 
please [read the wiki article](http://wiki.lineageos.org/w/Github_Organization)


Buildbot
Buildbot
--------
--------


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

You can view the current build statuses at [LineageOS Jenkins](https://jenkins.lineageos.org/).


You can view the current build statuses in the [Jenkins](http://jenkins.lineageos.org) tool.
Builds produced weekly by the buildbot can be downloaded from [LineageOS downloads](https://download.lineageos.org/).