Giter Site home page Giter Site logo

platform_manifest-2's Introduction

AOSP

Getting Started

To get started with Android, you'll need to get familiar with Git and Repo.

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

repo init -u git://github.com/AOSP/platform_manifest.git -b pie

Then to sync up:

repo sync --force-sync --no-tags --no-clone-bundle

Building the source

The source at AOSP is well configured for building.

source build/envsetup.sh
lunch aosip_device-userdebug
time mka kronic

```bash
ssh-keygen

In our gerrit click on your "Avatar" on the top right, then on "Settings".

While in 'Settings' Click on "SSH Public Keys" on the left hand side and then on "Add Key".

Then copy and paste the contents of ~/.ssh/id_rsa.pub to "Gerrit SSH Public Keys".

You can send patches to us by using these commands in terminal:

cd PROJECT - i.e

cd packages/apps/OwlsNest

Make edits that you want to see .....

git add .
git commit -a

Type out a commit message that makes sense for the proposed change

Ctrl O, then Ctrl X to save and exit

git push ssh://[email protected]:29418/PROJECT HEAD:refs/for/BRANCH

BRANCH - i.e pie PROJECT - i.e AOSP/platform_packages_apps_OwlsNest USERNAME - i.e Shreesha

If you're feeling extra lazy, you can submit streamline the process. First you need to tell git about your gerrit username:

git config --global review.review.aosiprom.com.username <Your username registered at AOSP gerrit>

Now you can run these commands to push changes to gerrit. Note: the first command only needs run once from each project.

gerrit
git push gerrit HEAD:refs/for/BRANCH

If you are going to make extra additions, just repeat steps (don't start a new patch), but instead of git commit -m use git commit --amend. Gerrit will recognize it as a new patchset.

For more information on how to push to a gerrit, please read the following: Link

Also to make this even easier, you can use a universal gerrit script provided by PAC: Link

Maintaining Authorship

Please make sure if you submit a patch/fix from another ROM that you maintain authorship. This is very important to not only us but to the entire open source community. It's what keeps it going and encourages more developers to contribute their work.

If you manually cherry pick a patch/fix please add the original author prior to pushing to our gerrit. This task is very easy and is usually done after you commit a patch/fix locally.

i.e - Once you type in "git commit -a" the commit message and you have saved it, type in the following:

git commit --amend --author "Author <[email protected]>"

So it should look like this once you get all author's information:

git commit --amend --author "Shreesha <[email protected]>"

platform_manifest-2's People

Contributors

xlxfoxxlx avatar akhilnarang avatar cco3 avatar enh-google avatar delphij avatar danalbert avatar colincross avatar freeinfra avatar stephenhines avatar kruton avatar danw avatar liutikas avatar wileyatgoogle avatar furysnailx avatar tornewuff avatar deymo avatar iam avatar vapier avatar pirama-arumuga-nainar avatar nickkral avatar bsimonnet avatar anirudhgupta109 avatar bdcgoogle avatar cferris1000 avatar gauravsh-google avatar ghartman17022 avatar mkayyash avatar nfuller avatar paulduffin avatar allight avatar

Watchers

James Cloos avatar

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.