Giter VIP home page Giter VIP logo

android's Introduction

MoKee OpenSource

Submitting Patches

Patches are always welcomed! Please submit your patches via MoKee 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)
mkgerrit <for(new)/changes(patch set)> <branch/change-id>

repo start mkl-mr1 .
(Make your changes and commit)
repo upload .
or
git push ssh://<username>@review.mfunz.com:29418/<project> HEAD:refs/for/<branch>

Note: "." means current directory

Commit Example

We want to make a change in InputDevice.java that resides in the frameworks/base project, and upload that to Gerrit for review. Let's start a local branch of that repo (directory) and call it mychanges:

repo start mychanges frameworks/base && cd frameworks/base

Now we make our edits to that file. We can check those changes:

git add InputDevice.java (or git add .)

Then commit it:

git commit -m 'Added feature xyz'

Go to the root of your local android folder, and issue the upload:

cd ~/mokee && repo upload frameworks/base

For more help on using repo, 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 commits using this command:

git rebase -i HEAD~<# of commits>

To view the status of your and others' patches, visit MoKee Code Review

Getting Started

To get started with MoKee OpenSource, you will need to get familiar with Repo and Version Control with Git.

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

repo init -u https://github.com/MoKee/android.git -b mkl-mr1

Then to sync up:

repo sync

Start Work

To work faster, we introduced a new build script to help you start compiling.

First, go to the root path of your project. We assume that your source is under (/mokee):

cd /mokee

then feel free to use the build script:

. build/envsetup.sh && lunch (enter device number) && mka bacon

or

./mk

The script is interactive so everything else is self-explanatory.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.