ReVanced/revanced-patches-template 是一个托管在 GitHub 上的开源项目,主要使用 Kotlin 编写,采用 GNU General Public License v3.0 许可证,目前获得 4.6k 个 Star、496 次 Fork。
仓库全名
ReVanced/revanced-patches-template
README 摘要
width="256px" src="assets/revanced-headline/revanced-headline-vertical-light.svg" Continuing the legacy of Vanced 👋🧩 ReVanced Patches template Template repository for ReVanced Patches. ❓ About This is a template to create a new ReVanced Patches repository. The repository can have multiple patches, and…
This is a template to create a new ReVanced Patches repository.
The repository can have multiple patches, and patches from other repositories can be used together.
You can also add the following things to the repository:
API documentation, if you want to publish your patches as a library
🧑💻 Usage
To develop and release ReVanced Patches using this template, some things need to be considered:
Development starts in feature branches. Once a feature branch is ready, it is squashed and merged into the dev branch
The dev branch is merged into the main branch once it is ready for release
Semantic versioning is used to version ReVanced Patches. ReVanced Patches have a public API for other patches to use
Semantic commit messages are used for commits
Commits on the dev branch and main branch are automatically released
via the release.yml workflow, which is also responsible for generating the changelog
and updating the version of ReVanced Patches. It is triggered by pushing to the dev or main branch.
The workflow uses the publish task to publish the release of ReVanced Patches
The buildAndroid task is used to build ReVanced Patches so that it can be used on Android.
The publish task depends on the buildAndroid task, so it will be run automatically when publishing a release.
📚 Everything else
📙 Contributing
Thank you for considering contributing to ReVanced Patches template.
You can find the contribution guidelines here.
ReVanced Patches template is licensed under the GPLv3 licence.
Please see the license file for more information.
tl;dr you may copy, distribute
and modify ReVanced Patches template as long as you track changes/dates in source files.
Any modifications to ReVanced Patches template must also be made available under the GPL,
along with build & install instructions.
评论