From 5c091029a20449b68f151726a78b8bd7072eac63 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 16 Oct 2023 17:02:05 +0000 Subject: [PATCH 01/16] =?UTF-8?q?=E2=9C=A8Update=20versions=20of=20tools?= =?UTF-8?q?=20in=20pre-commit=20configs=20to=20latest=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/hadialqattan/pycln: v2.2.2 → v2.3.0](https://github.com/hadialqattan/pycln/compare/v2.2.2...v2.3.0) - [github.com/pre-commit/mirrors-mypy: v1.5.1 → v1.6.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.5.1...v1.6.0) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fb57a4614c..203633c320 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -45,7 +45,7 @@ repos: - "--settings-path=pyproject.toml" - repo: https://github.com/hadialqattan/pycln - rev: v2.2.2 + rev: v2.3.0 hooks: - id: pycln args: @@ -61,7 +61,7 @@ repos: - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.5.1 + rev: v1.6.0 hooks: - id: mypy args: From b38260a8d131c1a29bd9d77e334b35e463b44fce Mon Sep 17 00:00:00 2001 From: Nikhil Badyal Date: Tue, 17 Oct 2023 21:40:25 +0530 Subject: [PATCH 02/16] =?UTF-8?q?=E2=9C=A8=20Updated=20ruff=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 203633c320..d5e7dae318 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,7 +23,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 'v0.0.292' + rev: 'v0.1.0' hooks: - id: ruff args: From 45b24bc4d6626b0be603a87cb4bba5be6c82e5e5 Mon Sep 17 00:00:00 2001 From: Nikhil Badyal Date: Thu, 19 Oct 2023 22:34:06 +0530 Subject: [PATCH 03/16] =?UTF-8?q?=F0=9F=90=9B=20Check=20if=20compatiblePac?= =?UTF-8?q?kages=20exists?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/status_check.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/status_check.py b/scripts/status_check.py index 5bdd57eaa0..07123e2adc 100644 --- a/scripts/status_check.py +++ b/scripts/status_check.py @@ -195,8 +195,9 @@ def main() -> None: possible_apps = set() for patch in patches: - for compatible_package in patch["compatiblePackages"]: - possible_apps.add(compatible_package["name"]) + if patch.get("compatiblePackages", None): + for compatible_package in patch["compatiblePackages"]: + possible_apps.add(compatible_package["name"]) supported_app = set(Patches.support_app().keys()) missing_support = sorted(possible_apps.difference(supported_app)) From 9154ab830fb43c6dbd040441af92b4d58826ee75 Mon Sep 17 00:00:00 2001 From: Nikhil Badyal Date: Thu, 19 Oct 2023 22:42:22 +0530 Subject: [PATCH 04/16] =?UTF-8?q?=F0=9F=8E=A8=20Added=20tumblr?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + src/downloader/sources.py | 1 + src/patches.py | 1 + 3 files changed, 3 insertions(+) diff --git a/README.md b/README.md index 8a88fcffae..f769d789de 100644 --- a/README.md +++ b/README.md @@ -206,6 +206,7 @@ You can use any of the following methods to build. - [scbeasy](https://www.apkmonk.com/app/com.scb.phone/) - [reddit-news](https://m.apkpure.com/relay-for-reddit/reddit.news) - [finanz-online](https://apksos.com/app/at.gv.bmf.bmf2go) + - [tumblr](https://www.apkmirror.com/apk/tumblr-inc/tumblr/)
`**` - You can also patch any other app which is **not** supported officially.To do so, you need to provide few more inputs to the tool which are mentioned below. These config will override the sources config from the tool. diff --git a/src/downloader/sources.py b/src/downloader/sources.py index 770dc068a3..d5d4f37362 100644 --- a/src/downloader/sources.py +++ b/src/downloader/sources.py @@ -65,6 +65,7 @@ "yuka": f"{APK_MIRROR_BASE_APK_URL}/yuka-apps/yuka-food-cosmetic-scan/", "strava": f"{APK_MIRROR_BASE_APK_URL}/strava-inc/strava-running-and-cycling-gps/", "vanced": f"{APK_MIRROR_BASE_APK_URL}/team-vanced/youtube-vanced/", + "tumblr": f"{APK_MIRROR_BASE_APK_URL}/tumblr-inc/tumblr/", "my-expenses": UPTODOWN_BASE_URL.format("my-expenses"), "spotify": UPTODOWN_BASE_URL.format("spotify"), "androidtwelvewidgets": APK_PURE_URL, diff --git a/src/patches.py b/src/patches.py index ab3a189d7d..7b32e361ea 100644 --- a/src/patches.py +++ b/src/patches.py @@ -69,6 +69,7 @@ class Patches(object): "com.scb.phone": "scbeasy", "reddit.news": "reddit-news", "at.gv.bmf.bmf2go": "finanz-online", + "com.tumblr": "tumblr", } @staticmethod From c0993a1ebe0e042b9f2bc12994378ed43bee2931 Mon Sep 17 00:00:00 2001 From: Nikhil Badyal Date: Sat, 21 Oct 2023 19:00:02 +0530 Subject: [PATCH 05/16] =?UTF-8?q?=F0=9F=94=A5=20Removed=20send=5Fsticker?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-apk.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/build-apk.yml b/.github/workflows/build-apk.yml index 30d8270a2a..798534a5d9 100644 --- a/.github/workflows/build-apk.yml +++ b/.github/workflows/build-apk.yml @@ -114,7 +114,6 @@ jobs: TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} TELEGRAM_STICKER_ID: ${{ secrets.TELEGRAM_STICKER_ID }} MESSAGE: ${{ secrets.MESSAGE_NON_ROOT }} - SEND_STICKER: ${{ secrets.SEND_STICKER }} upload-to-telegram-root: needs: [ upload-to-telegram ] From b9a308c361dd23698629fde3bad57822268a9bcb Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 23 Oct 2023 17:08:03 +0000 Subject: [PATCH 06/16] =?UTF-8?q?=E2=9C=A8Update=20versions=20of=20tools?= =?UTF-8?q?=20in=20pre-commit=20configs=20to=20latest=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.1.0 → v0.1.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.0...v0.1.1) - [github.com/psf/black: 23.9.1 → 23.10.0](https://github.com/psf/black/compare/23.9.1...23.10.0) - [github.com/pre-commit/mirrors-mypy: v1.6.0 → v1.6.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.6.0...v1.6.1) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d5e7dae318..18b0a34d14 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,7 +23,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 'v0.1.0' + rev: 'v0.1.1' hooks: - id: ruff args: @@ -31,7 +31,7 @@ repos: - "--fix" - repo: https://github.com/psf/black - rev: 23.9.1 + rev: 23.10.0 hooks: - id: black args: @@ -61,7 +61,7 @@ repos: - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.6.0 + rev: v1.6.1 hooks: - id: mypy args: From 233220e6c48cda77beaf26a04a58095a10040b31 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 30 Oct 2023 17:06:29 +0000 Subject: [PATCH 07/16] =?UTF-8?q?=E2=9C=A8Update=20versions=20of=20tools?= =?UTF-8?q?=20in=20pre-commit=20configs=20to=20latest=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.1.1 → v0.1.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.1...v0.1.3) - [github.com/psf/black: 23.10.0 → 23.10.1](https://github.com/psf/black/compare/23.10.0...23.10.1) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 18b0a34d14..6bd5c042a3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,7 +23,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 'v0.1.1' + rev: 'v0.1.3' hooks: - id: ruff args: @@ -31,7 +31,7 @@ repos: - "--fix" - repo: https://github.com/psf/black - rev: 23.10.0 + rev: 23.10.1 hooks: - id: black args: From 76a894aa84fd8f0c51d63f79d8fe8cc4d14118c9 Mon Sep 17 00:00:00 2001 From: Sawan Kumar Bundelkhandi Date: Mon, 30 Oct 2023 01:22:56 +0530 Subject: [PATCH 08/16] Update README.md for microg path --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f769d789de..3822e7d7a4 100644 --- a/README.md +++ b/README.md @@ -191,7 +191,7 @@ You can use any of the following methods to build. - [infinity](https://www.apkmirror.com/apk/red-apps-ltd/sync-for-reddit/) - [slide](https://www.apkmirror.com/apk/haptic-apps/slide-for-reddit/) - [bacon](https://www.apkmirror.com/apk/onelouder-apps/baconreader-for-reddit/) - - [microg](https://github.com/inotia-/mMicroG/releases) + - [microg](https://github.com/inotia00/mMicroG/releases/) - [pixiv](https://www.apkmirror.com/apk/pixiv-inc/pixiv/) - [strava](https://www.apkmirror.com/apk/strava-inc/strava-running-and-cycling-gps/) - [solidexplorer](https://www.apkmirror.com/apk/neatbytes/solid-explorer-beta/) From 3d0b28a2be21fe7df355b332a4be44c98816d076 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Nov 2023 17:02:34 +0000 Subject: [PATCH 09/16] =?UTF-8?q?=E2=9C=A8Update=20versions=20of=20tools?= =?UTF-8?q?=20in=20pre-commit=20configs=20to=20latest=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.1.3 → v0.1.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.3...v0.1.4) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6bd5c042a3..0a59db7dd0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,7 +23,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 'v0.1.3' + rev: 'v0.1.4' hooks: - id: ruff args: From fd605ddabe17e5b991836a8731ec091c509b6053 Mon Sep 17 00:00:00 2001 From: Nikhil Badyal Date: Fri, 10 Nov 2023 23:36:49 +0530 Subject: [PATCH 10/16] =?UTF-8?q?=F0=9F=99=88=20Use=20wild-card=20for=20ca?= =?UTF-8?q?che?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index b3a88a69d2..38e802f890 100644 --- a/.gitignore +++ b/.gitignore @@ -2,10 +2,8 @@ *.jar *.keystore *venv -*/__pycache__* *.pyc -/revanced-cache/ -/revanced-resource-cache/ +**cache** changelog.md .idea *.json From 39e803979a7b6b634f4aa055ab0d7a0ded91c9f4 Mon Sep 17 00:00:00 2001 From: Nikhil Badyal Date: Fri, 10 Nov 2023 23:39:00 +0530 Subject: [PATCH 11/16] =?UTF-8?q?=F0=9F=90=9B=20Added=20missing=20call=20t?= =?UTF-8?q?o=20extra=20downloads?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.py b/main.py index d8cc377128..2dec4e52ad 100644 --- a/main.py +++ b/main.py @@ -6,6 +6,7 @@ from src.app import APP from src.config import RevancedConfig +from src.downloader.download import Downloader from src.exceptions import AppNotFoundError, BuilderError, PatchesJsonLoadError, PatchingFailedError from src.parser import Parser from src.patches import Patches @@ -24,6 +25,7 @@ def main() -> None: env = Env() env.read_env() config = RevancedConfig(env) + Downloader.extra_downloads(config) if not config.dry_run: check_java() From aae31515c53c7370591d709c4221de244ab0f12d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 13 Nov 2023 17:08:22 +0000 Subject: [PATCH 12/16] =?UTF-8?q?=E2=9C=A8Update=20versions=20of=20tools?= =?UTF-8?q?=20in=20pre-commit=20configs=20to=20latest=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.1.4 → v0.1.5](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.4...v0.1.5) - [github.com/psf/black: 23.10.1 → 23.11.0](https://github.com/psf/black/compare/23.10.1...23.11.0) - [github.com/pre-commit/mirrors-mypy: v1.6.1 → v1.7.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.6.1...v1.7.0) --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0a59db7dd0..5a54e4b028 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,7 +23,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 'v0.1.4' + rev: 'v0.1.5' hooks: - id: ruff args: @@ -31,7 +31,7 @@ repos: - "--fix" - repo: https://github.com/psf/black - rev: 23.10.1 + rev: 23.11.0 hooks: - id: black args: @@ -61,7 +61,7 @@ repos: - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.6.1 + rev: v1.7.0 hooks: - id: mypy args: From cbb5d35e0a245b9126380ab1872deb51a0f0a23e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 20 Nov 2023 17:02:18 +0000 Subject: [PATCH 13/16] =?UTF-8?q?=E2=9C=A8Update=20versions=20of=20tools?= =?UTF-8?q?=20in=20pre-commit=20configs=20to=20latest=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.1.5 → v0.1.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.5...v0.1.6) - [github.com/hadialqattan/pycln: v2.3.0 → v2.4.0](https://github.com/hadialqattan/pycln/compare/v2.3.0...v2.4.0) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 5a54e4b028..f728fa7c1b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,7 +23,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: 'v0.1.5' + rev: 'v0.1.6' hooks: - id: ruff args: @@ -45,7 +45,7 @@ repos: - "--settings-path=pyproject.toml" - repo: https://github.com/hadialqattan/pycln - rev: v2.3.0 + rev: v2.4.0 hooks: - id: pycln args: From 7dea8fff48caf8153ebae4328bc2cc85e76cb436 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 27 Nov 2023 17:02:42 +0000 Subject: [PATCH 14/16] =?UTF-8?q?=E2=9C=A8Update=20versions=20of=20tools?= =?UTF-8?q?=20in=20pre-commit=20configs=20to=20latest=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/mirrors-mypy: v1.7.0 → v1.7.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.7.0...v1.7.1) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f728fa7c1b..827a6d738f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -61,7 +61,7 @@ repos: - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.7.0 + rev: v1.7.1 hooks: - id: mypy args: From d830131ec877aaf1df14943269e265ac96588d54 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 4 Dec 2023 04:24:17 +0000 Subject: [PATCH 15/16] Bump lastversion from 3.3.2 to 3.4.0 Bumps [lastversion](https://github.com/dvershinin/lastversion) from 3.3.2 to 3.4.0. - [Release notes](https://github.com/dvershinin/lastversion/releases) - [Changelog](https://github.com/dvershinin/lastversion/blob/master/CHANGELOG.md) - [Commits](https://github.com/dvershinin/lastversion/compare/v3.3.2...v3.4.0) --- updated-dependencies: - dependency-name: lastversion dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 52c6ffd5ec..69f45cceda 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ beautifulsoup4==4.12.2 environs==9.5.0 gdown @ git+https://github.com/nikhilbadyal/gdown google-play-scraper==1.2.4 -lastversion==3.3.2 +lastversion==3.4.0 loguru==0.7.2 pre-commit==3.5.0 requests==2.31.0 From 984494658f213cb23a9e6d8c6c4333b8caa78701 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 8 Dec 2023 05:03:05 +0000 Subject: [PATCH 16/16] Bump lastversion from 3.4.0 to 3.4.1 Bumps [lastversion](https://github.com/dvershinin/lastversion) from 3.4.0 to 3.4.1. - [Release notes](https://github.com/dvershinin/lastversion/releases) - [Changelog](https://github.com/dvershinin/lastversion/blob/master/CHANGELOG.md) - [Commits](https://github.com/dvershinin/lastversion/compare/v3.4.0...v3.4.1) --- updated-dependencies: - dependency-name: lastversion dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 69f45cceda..befae29772 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ beautifulsoup4==4.12.2 environs==9.5.0 gdown @ git+https://github.com/nikhilbadyal/gdown google-play-scraper==1.2.4 -lastversion==3.4.0 +lastversion==3.4.1 loguru==0.7.2 pre-commit==3.5.0 requests==2.31.0