-
-
Notifications
You must be signed in to change notification settings - Fork 778
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(readme): Merge building to contributing section
- Loading branch information
Showing
9 changed files
with
131 additions
and
23 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# πΌ Prerequisites | ||
|
||
Here's everything you'll need to develop on ReVanced Manager | ||
|
||
## π€ Recommended enviroment | ||
|
||
- Any environment that capable of running the latest Android Studio, latest Android SDK and JDK 17 with at least 4 GB of memory for coding | ||
- Any devices with preferably the latest Android version or at least higher than the [`minSdk`](/app/build.gradle.kts) for testing | ||
|
||
### Additional Requirements | ||
|
||
- Device with root capabilities with latest version of [KernelSU](https://github.com/tiann/KernelSU) or [Magisk](https://github.com/topjohnwu/Magisk) | ||
|
||
## βοΈ Setting up | ||
|
||
### Authenticating to GitHub Registry | ||
|
||
ReVanced Manager uses dependency from the GitHub Registry and so your build may fail without authenticating to the service, to authenticate you must add create a personal access token with the scope `read:packages` [here](https://github.com/settings/tokens/new?scopes=read:packages&description=ReVanced) and add your token to `~/.gradle/gradle.properties`, create the file if it does not exist. | ||
|
||
```properties | ||
gpr.user = username | ||
gpr.key = ghp_****************************** | ||
``` | ||
|
||
## βοΈ What's next | ||
|
||
The next page will guide you through developing for ReVanced Manager. | ||
|
||
Continue: [π§βπ» Developing for ReVanced Manager](1_develop.md) |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# π§βπ» Developing for ReVanced Manager | ||
|
||
ReVanced Manager is developed on Kotlin using [Jetpack Compose](https://developer.android.com/compose), here are some tips to help you get started. | ||
|
||
## Code style | ||
|
||
The styling is based on https://kotlinlang.org/docs/coding-conventions.html | ||
|
||
## Commit | ||
|
||
At ReVanced, we adopt a naming convention for commit called [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) so for example when your adding new feature you must add `feat: ` before the description of your commit. | ||
|
||
## Building | ||
|
||
To build ReVanced Manager, simply hit build button on your IDE or run: | ||
|
||
```sh | ||
./gradlew assembleDebug | ||
``` | ||
|
||
## βοΈ What's next | ||
|
||
The next page will guide you through developing for ReVanced Manager. | ||
|
||
Continue: [π Submitting your Pull Request](2_submitting.md) |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# π Submitting your Pull Request | ||
|
||
> [!TIP] | ||
> We recommend that you discuss your changes with | ||
> the maintainers of ReVanced Manager before contributing. | ||
> This will help you determine whether your change is acceptable. | ||
1. Fork the repository and create your branch from `dev` | ||
2. Commit your changes in [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) style | ||
3. Submit a pull request to the `dev` branch of the repository and reference issues that your pull request closes in the description of your pull request | ||
4. Our team will review your pull request and provide feedback. Once your pull request is approved, it will be merged into the `dev` branch and will be included in | ||
the next release of ReVanced Manager |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# βοΈ Verifying ReVanced Manager | ||
|
||
> [!NOTE] | ||
> This information is more relevant to alternative store providers | ||
The certificate hash of the APK will always be `b6362c6ea7888efd15c0800f480786ad0f5b133b4f84e12d46afba5f9eac1223` | ||
|
||
ReVanced Manager include prebuilts binaries of [`libaapt2.so`](/app/src/main/jniLibs/) from https://github.com/ReVanced/aapt2 which fixes issue on ARM32 system, attestation is provided here: https://github.com/ReVanced/aapt2/attestations |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# π ReVanced Manager | ||
|
||
> [!WARNING] | ||
> This guide is for people who want to develop for ReVanced Manager, may feature technical words or jargons. | ||
> For regular user you may want to view this [documentation](/docs/README.md) instead. | ||
This documentation explains how to develop for [ReVanced Manager](https://github.com/ReVanced/revanced-manager). | ||
|
||
## π Table of contents | ||
|
||
## Developing | ||
|
||
0. [πΌ Prerequisites](0_prerequisites.md) | ||
1. [π§βπ» Developing for ReVanced Manager](1_developing.md) | ||
2. [π Submitting your Pull Request](2_submitting.md) | ||
|
||
## Store provider | ||
|
||
1. [βοΈ Verifying ReVanced Manager](3_verifying.md) | ||
|
||
## βοΈ Start here | ||
|
||
The next page will tell you about the prerequisites for developing for ReVanced Manager. | ||
|
||
Continue: [πΌ Prerequisites](0_prerequisites.md) |