# Initialize local repository
repo init -u https://github.com/Extended-P/manifest -b pie
# Sync
repo sync -c -j8 --force-sync --no-clone-bundle --no-tags
# Set up environment
$ . build/envsetup.sh
# Choose a target
$ lunch aosp_$device-userdebug
# Build the code
$ mka bacon -jX
Patches are always welcome! Please submit your patches to our Gerrit.
To start contributing, just register at https://gerrit.pixelexperience.org
Open up terminal to create your ssh keys required for submitting patches to gerrit and type in:
git config --global review.gerrit.pixelexperience.org.username <username you registered with>
git config --global review.gerrit.pixelexperience.org.email <your email you registered with>
ssh-keygen -t rsa -C "your@email.com"
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".
Now on your computer navigate to your home "~/.ssh" and open up "id_rsa.pub", copy/paste the context to "Gerrit SSH Public Keys".
You can send patches to us by using these commands in terminal:
(From root android directory)
. build/envsetup.sh
(Go to repo you are patching, make your changes and commit)
pixelgerrit push pie
or
git push ssh://<username>@gerrit.pixelexperience.org:29418/<project> HEAD:refs/for/<branch>
<username>
- Your Gerrit username (which can be seen/set here)<project>
- The git repo you are pushing to; all options can be viewed at this link<branch>
- The git branch your change is based on; for projects using this manifest, it ispie
Make your changes and commit with a detailed message, starting with what you are working with
Commit your patches in a single commit. Squash multiple commits using this command: git rebase -i HEAD~<# of commits>
For more help, use this commands: pixelgerrit help
or pixelrebase help