Skip to content

Commit 50c46dc

Browse files
authored
docs(readme): Merge building to contributing section
1 parent 5125084 commit 50c46dc

File tree

9 files changed

+131
-23
lines changed

9 files changed

+131
-23
lines changed

β€ŽCONTRIBUTING.md

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,10 @@
6161
# πŸ‘‹ Contribution guidelines
6262

6363
Welcome to contribution guidelines, this document contains
64-
everything you'll need to contribute to ReVanced Manager.
64+
everything you'll need to contribute to ReVanced Manager (and might even possibly apply to our other project like ReVanced Patches!)
65+
66+
There are many ways to contribute like writing docs and code, opening issues,
67+
helping people out in our community, translating or sponsoring our project, etc.
6568

6669
## πŸ“– Resources to help you get started
6770

@@ -83,24 +86,26 @@ Features can be requested by opening an issue using the
8386
If you encounter a bug while using the ReVanced Manager app, open an issue using the
8487
[bug report issue template](https://github.com/ReVanced/revanced-manager/issues/new?assignees=&labels=bug&projects=&template=bug-issue.yml&title=bug%3A+%3Ctitle%3E).
8588

86-
## πŸ“ How to contribute
89+
## 🌐 Submitting translations
90+
91+
You can contribute translations at translate.revanced.app
8792

8893
> [!TIP]
89-
> We recommend that you discuss your changes with
90-
> the maintainers of ReVanced Manager before contributing.
91-
> This will help you determine whether your change is acceptable.
94+
> * Try to keep the translated text roughly the same length as the original.
95+
> * Consider opting for gender-neutral words for language with variations of words based on gender.
96+
97+
## πŸ§‘β€πŸ’» Developing for ReVanced Manager
98+
99+
See the guidelines for developing for ReVanced Manager [here](/docs/developer/README.md)
100+
101+
## πŸ”’ Submitting a vulnerability
92102

93-
1. Fork the repository and create your branch from `dev`
94-
2. Commit your changes
95-
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
96-
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
97-
the next release of ReVanced Manager
103+
See the guideline for reporting security vulnerability [here](/SECURITY.md)
98104

99-
## 🀚 I want to contribute but don't know how to code
105+
## 🀚 I don't want to do any of that but I want to contribute either way
100106

101-
Even if you don't know how to code, you can still contribute by
102-
translating ReVanced Manager on [Crowdin](https://translate.revanced.app/)
103-
or sponsor us at [GitHub Sponsor](https://github.com/sponsors/ReVanced) and [Open Collective](https://opencollective.com/ReVanced).
107+
You can still contribute by spreading positive word about us or if you'd like to sponsor us, checkout https://revanced.app/donate
108+
to learn more on how to you can sponsor via GitHub, Open Collective and cryptocurrencies.
104109

105110
❀️ Thank you for considering contributing to ReVanced Manager,
106111
ReVanced

β€ŽREADME.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,9 @@ Learn how to use ReVanced Manager by following the [documentation](/docs).
8989

9090
### πŸ“™ Contributing
9191

92-
You can find the contribution guidelines [here](CONTRIBUTING.md).
9392
Thank you for considering contributing to ReVanced Manager.
9493

95-
### πŸ› οΈ Building
96-
97-
To build a ReVanced Manager, you can follow the [documentation](/docs).
94+
The [contribution guidelines](CONTRIBUTING.md) provides information you'll need to open an issue, develop for ReVanced Manager and translations.
9895

9996
### πŸ“„ Documentation
10097

β€ŽSECURITY.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,11 @@ special contributor role.
7373

7474
### ⏳ Supported Versions
7575

76-
| Version | Branch | Supported |
77-
| --------------------------------------------------------------------------------------------------------------------------------------- | ----------- | ------------------ |
78-
| ![Latest stable release](https://img.shields.io/github/v/release/ReVanced/revanced-manager?style=for-the-badge "Latest stable release") | main | :white_check_mark: |
79-
| ![Latest version](https://img.shields.io/badge/version-latest-brightgreen?style=for-the-badge "Latest version") | dev | :white_check_mark: |
80-
| ![Latest version](https://img.shields.io/badge/version-latest-brightgreen?style=for-the-badge "Latest version") | compose-dev | :white_check_mark: |
76+
| Version | Branch | Supported |
77+
| ---------------------------------------- | ------------- | ------------------ |
78+
| ![Latest stable release][LatestRelBadge] | `main` | :white_check_mark: |
79+
| ![Latest version][LatestVerBadge] | `dev` | :white_check_mark: |
80+
| ![Latest version][LatestVerBadge] | `compose-dev` | :white_check_mark: |
81+
82+
[LatestRelBadge]: https://img.shields.io/github/v/release/ReVanced/revanced-manager?style=for-the-badge "Latest stable release"
83+
[LatestVerBadge]: https://img.shields.io/badge/version-latest-brightgreen?style=for-the-badge "Latest version"

β€Ždocs/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ This documentation explains how to use [ReVanced Manager](https://github.com/ReV
1313
4. [βš™οΈ Configuring ReVanced Manager](2_4_settings.md)
1414
3. [❔ Troubleshooting](3_troubleshooting.md)
1515

16+
## πŸ§‘β€πŸ’» Developing for ReVanced Manager
17+
18+
Checkout the documentation for developer [here](developer/README.md).
19+
1620
## ⏭️ Start here
1721

1822
The next page will tell you about the prerequisites for using ReVanced Manager.

β€Ždocs/developer/0_prerequisites.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# πŸ’Ό Prerequisites
2+
3+
Here's everything you'll need to develop on ReVanced Manager
4+
5+
## 🀝 Recommended enviroment
6+
7+
- 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
8+
- Any devices with preferably the latest Android version or at least higher than the [`minSdk`](/app/build.gradle.kts) for testing
9+
10+
### Additional Requirements
11+
12+
- Device with root capabilities with latest version of [KernelSU](https://github.com/tiann/KernelSU) or [Magisk](https://github.com/topjohnwu/Magisk)
13+
14+
## βš™οΈ Setting up
15+
16+
### Authenticating to GitHub Registry
17+
18+
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.
19+
20+
```properties
21+
gpr.user = username
22+
gpr.key = ghp_******************************
23+
```
24+
25+
## ⏭️ What's next
26+
27+
The next page will guide you through developing for ReVanced Manager.
28+
29+
Continue: [πŸ§‘β€πŸ’» Developing for ReVanced Manager](1_develop.md)

β€Ždocs/developer/1_develop.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# πŸ§‘β€πŸ’» Developing for ReVanced Manager
2+
3+
ReVanced Manager is developed on Kotlin using [Jetpack Compose](https://developer.android.com/compose), here are some tips to help you get started.
4+
5+
## Code style
6+
7+
The styling is based on https://kotlinlang.org/docs/coding-conventions.html
8+
9+
## Commit
10+
11+
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.
12+
13+
## Building
14+
15+
To build ReVanced Manager, simply hit build button on your IDE or run:
16+
17+
```sh
18+
./gradlew assembleDebug
19+
```
20+
21+
## ⏭️ What's next
22+
23+
The next page will guide you through developing for ReVanced Manager.
24+
25+
Continue: [πŸŽ‰ Submitting your Pull Request](2_submitting.md)

β€Ždocs/developer/2_submitting.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# πŸŽ‰ Submitting your Pull Request
2+
3+
> [!TIP]
4+
> We recommend that you discuss your changes with
5+
> the maintainers of ReVanced Manager before contributing.
6+
> This will help you determine whether your change is acceptable.
7+
8+
1. Fork the repository and create your branch from `dev`
9+
2. Commit your changes in [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) style
10+
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
11+
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
12+
the next release of ReVanced Manager

β€Ždocs/developer/3_verifying.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# βœ’οΈ Verifying ReVanced Manager
2+
3+
> [!NOTE]
4+
> This information is more relevant to alternative store providers
5+
6+
The certificate hash of the APK will always be `b6362c6ea7888efd15c0800f480786ad0f5b133b4f84e12d46afba5f9eac1223`
7+
8+
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

β€Ždocs/developer/README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# πŸ’Š ReVanced Manager
2+
3+
> [!WARNING]
4+
> This guide is for people who want to develop for ReVanced Manager, may feature technical words or jargons.
5+
> For regular user you may want to view this [documentation](/docs/README.md) instead.
6+
7+
This documentation explains how to develop for [ReVanced Manager](https://github.com/ReVanced/revanced-manager).
8+
9+
## πŸ“– Table of contents
10+
11+
## Developing
12+
13+
0. [πŸ’Ό Prerequisites](0_prerequisites.md)
14+
1. [πŸ§‘β€πŸ’» Developing for ReVanced Manager](1_developing.md)
15+
2. [πŸŽ‰ Submitting your Pull Request](2_submitting.md)
16+
17+
## Store provider
18+
19+
1. [βœ’οΈ Verifying ReVanced Manager](3_verifying.md)
20+
21+
## ⏭️ Start here
22+
23+
The next page will tell you about the prerequisites for developing for ReVanced Manager.
24+
25+
Continue: [πŸ’Ό Prerequisites](0_prerequisites.md)

0 commit comments

Comments
Β (0)