From 1a67cd81da5ed7f259b6dbaeb66a7eef4a113034 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Thu, 15 Dec 2022 22:00:08 +0100 Subject: [PATCH 1/4] fix: use correct prefix in log message --- src/main/kotlin/app/revanced/utils/patcher/Patcher.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/app/revanced/utils/patcher/Patcher.kt b/src/main/kotlin/app/revanced/utils/patcher/Patcher.kt index 2041aaf..fade932 100644 --- a/src/main/kotlin/app/revanced/utils/patcher/Patcher.kt +++ b/src/main/kotlin/app/revanced/utils/patcher/Patcher.kt @@ -31,7 +31,7 @@ fun Patcher.addPatchesFiltered(allPatches: List>>) { return@patchLoop } - if (compatiblePackages == null) logger.trace("$prefix: No constraint on packages. Continuing.") + if (compatiblePackages == null) logger.trace("$patchName: No constraint on packages.") else { if (!compatiblePackages.any { it.name == packageName }) { logger.trace("$prefix: Incompatible with $packageName. This patch is only compatible with ${ From ae91b0d597b107a152e1b630b8c16a795a7ca3b3 Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Thu, 15 Dec 2022 22:03:29 +0100 Subject: [PATCH 2/4] fix: start with uppercase in log message --- src/main/kotlin/app/revanced/utils/patcher/Patcher.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/app/revanced/utils/patcher/Patcher.kt b/src/main/kotlin/app/revanced/utils/patcher/Patcher.kt index fade932..1990703 100644 --- a/src/main/kotlin/app/revanced/utils/patcher/Patcher.kt +++ b/src/main/kotlin/app/revanced/utils/patcher/Patcher.kt @@ -24,10 +24,10 @@ fun Patcher.addPatchesFiltered(allPatches: List>>) { val args = MainCommand.args.patchArgs?.patchingArgs!! if (args.excludedPatches.contains(patchName)) { - logger.info("$prefix: manually excluded") + logger.info("$prefix: Manually excluded") return@patchLoop } else if ((!patch.include || args.defaultExclude) && !args.includedPatches.contains(patchName)) { - logger.info("$prefix: excluded by default") + logger.info("$prefix: Excluded by default") return@patchLoop } From 74d73ca3a7ba2f5da872fe9a241629e1c143cd4e Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Thu, 15 Dec 2022 22:03:37 +0100 Subject: [PATCH 3/4] feat: simplify log message --- src/main/kotlin/app/revanced/utils/patcher/Patcher.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/app/revanced/utils/patcher/Patcher.kt b/src/main/kotlin/app/revanced/utils/patcher/Patcher.kt index 1990703..f9912ab 100644 --- a/src/main/kotlin/app/revanced/utils/patcher/Patcher.kt +++ b/src/main/kotlin/app/revanced/utils/patcher/Patcher.kt @@ -19,7 +19,7 @@ fun Patcher.addPatchesFiltered(allPatches: List>>) { val compatiblePackages = patch.compatiblePackages val patchName = patch.patchName - val prefix = "Skipping $patchName, reason" + val prefix = "Skipping $patchName" val args = MainCommand.args.patchArgs?.patchingArgs!! From 18d132123ffc22c549102568dec91da858af93ec Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Thu, 15 Dec 2022 21:04:58 +0000 Subject: [PATCH 4/4] chore(release): 2.18.0-dev.1 [skip ci] # [2.18.0-dev.1](https://github.com/revanced/revanced-cli/compare/v2.17.1-dev.2...v2.18.0-dev.1) (2022-12-15) ### Bug Fixes * start with uppercase in log message ([ae91b0d](https://github.com/revanced/revanced-cli/commit/ae91b0d597b107a152e1b630b8c16a795a7ca3b3)) * use correct prefix in log message ([1a67cd8](https://github.com/revanced/revanced-cli/commit/1a67cd81da5ed7f259b6dbaeb66a7eef4a113034)) ### Features * simplify log message ([74d73ca](https://github.com/revanced/revanced-cli/commit/74d73ca3a7ba2f5da872fe9a241629e1c143cd4e)) --- CHANGELOG.md | 13 +++++++++++++ gradle.properties | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1031aaa..24407b5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +# [2.18.0-dev.1](https://github.com/revanced/revanced-cli/compare/v2.17.1-dev.2...v2.18.0-dev.1) (2022-12-15) + + +### Bug Fixes + +* start with uppercase in log message ([ae91b0d](https://github.com/revanced/revanced-cli/commit/ae91b0d597b107a152e1b630b8c16a795a7ca3b3)) +* use correct prefix in log message ([1a67cd8](https://github.com/revanced/revanced-cli/commit/1a67cd81da5ed7f259b6dbaeb66a7eef4a113034)) + + +### Features + +* simplify log message ([74d73ca](https://github.com/revanced/revanced-cli/commit/74d73ca3a7ba2f5da872fe9a241629e1c143cd4e)) + ## [2.17.1-dev.2](https://github.com/revanced/revanced-cli/compare/v2.17.1-dev.1...v2.17.1-dev.2) (2022-12-15) ## [2.17.1-dev.1](https://github.com/revanced/revanced-cli/compare/v2.17.0...v2.17.1-dev.1) (2022-12-15) diff --git a/gradle.properties b/gradle.properties index f551d48..676edc4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ kotlin.code.style = official -version = 2.17.1-dev.2 +version = 2.18.0-dev.1