Skip to content

DerpFest-Pie/platform_manifest

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DerpFest

Getting Started

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

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

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

Then to sync up:

repo sync -j$( nproc --all ) --force-sync --no-clone-bundle --no-tags

Building the source

The source at AOSiP is well configured for building.

. build/envsetup.sh
lunch aosip_ether-userdebug
mka kronic

Submitting Patches

You can submit your patches to AOSiP just by registering at "https://review.aosiprom.com"

Open up terminal to create your ssh keys required for submitting patches to gerrit and type in:

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 AOSIP/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 AOSiP 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]>"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published