forked from DerpLab/platform_manifest
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: NurKeinNeid <[email protected]>
- Loading branch information
1 parent
aceaa0e
commit 0f6d1ec
Showing
6 changed files
with
260 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
AOSiP | ||
=========== | ||
DerpFest | ||
============== | ||
|
||
Getting Started | ||
--------------- | ||
|
||
To get started with Android, you'll need to get | ||
familiar with [Git and Repo](http://source.android.com/source/using-repo.html). | ||
|
||
To initialize your local repository using the AOSiP trees, use a command like this: | ||
To initialize your local repository using the DerpFest trees, use a command like this: | ||
|
||
```bash | ||
repo init -u git://github.com/AOSiP/platform_manifest.git -b ten | ||
repo init -u git://github.com/DerpLab/platform_manifest.git -b ten | ||
``` | ||
Then to sync up: | ||
```bash | ||
|
@@ -20,73 +20,21 @@ repo sync --force-sync --no-tags --no-clone-bundle | |
Building the source | ||
--------------- | ||
|
||
The source at AOSiP is well configured for building. | ||
The source at DerpFest is well configured for building. | ||
|
||
```bash | ||
source build/envsetup.sh | ||
lunch aosip_device-userdebug | ||
time mka kronic | ||
. build/envsetup.sh | ||
lunch derp_device-userdebug | ||
mka kronic | ||
``` | ||
|
||
## Submitting Patches ## | ||
## Help from other devices ## | ||
|
||
You can submit your patches to AOSiP just by registering at "https://review.aosip.dev" | ||
Look, my device doesn't have FOD, so I couldn't add and test the FOD features myself. The same happens with Notch stuff, so if you want to add tweaks, features or help me to optimize the ROM, you can make pull request and help me out, will be really appreciated. | ||
|
||
Open up terminal to create your ssh keys required for submitting patches to gerrit and type in: | ||
|
||
```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 | ||
```bash | ||
cd packages/apps/OwlsNest | ||
``` | ||
Make edits that you want to see ..... | ||
```bash | ||
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 | ||
|
||
```bash | ||
git push ssh://[email protected]:29418/PROJECT HEAD:refs/for/BRANCH | ||
``` | ||
BRANCH - i.e ten | ||
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: | ||
```bash | ||
git config --global review.review.aosip.dev.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. | ||
```bash | ||
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](https://wiki.mahara.org/wiki/Developer_Area/Contributing_Code) | ||
|
||
Also to make this even easier, you can use a universal gerrit script provided by PAC: | ||
[Link](https://forum.xda-developers.com/showthread.php?t=2530388) | ||
|
||
## 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. | ||
|
@@ -106,3 +54,18 @@ So it should look like this once you get all author's information: | |
git commit --amend --author "Shreesha <[email protected]>" | ||
``` | ||
|
||
## Thanks section ## | ||
|
||
Here's my thanks to people who made this possible: | ||
|
||
* AOSiP | ||
* PixelExperience | ||
* CrDroid | ||
* Pixeldust Project | ||
* BootleggersROM | ||
* OmniROM | ||
* CyanogenMod/LineageOS | ||
* Ground Zero ROMs Team | ||
* NitrogenOS | ||
* AICP | ||
* DirtyUnicorns |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.