From 50e72ec07c6083c01c3d04bc7bcc2690d07c8279 Mon Sep 17 00:00:00 2001 From: Vishal Date: Sun, 12 May 2024 02:57:23 +0530 Subject: [PATCH 01/12] Update plugin_manager.py --- plugin_manager.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/plugin_manager.py b/plugin_manager.py index 3e5a322..a51c839 100644 --- a/plugin_manager.py +++ b/plugin_manager.py @@ -38,6 +38,10 @@ REPOSITORY_URL = "https://github.com/bombsquad-community/plugin-manager" CURRENT_TAG = "main" +if TARGET_BALLISTICA_BUILD < 21852: + babase.app.env.engine_build_number = babase.app.env.build_number + babase.app.env.engine_version = babase.app.env.version + if TARGET_BALLISTICA_BUILD < 21282: # These attributes have been deprecated as of 1.7.27. For more info see: # https://github.com/efroemling/ballistica/blob/master/CHANGELOG.md#1727-build-21282-api-8-2023-08-30 @@ -47,10 +51,10 @@ if TARGET_BALLISTICA_BUILD < 21282: babase.app.env = Dummy() - babase.app.env.build_number = babase.app.build_number + babase.app.env.engine_build_number = babase.app.build_number babase.app.env.device_name = babase.app.device_name babase.app.env.config_file_path = babase.app.config_file_path - babase.app.env.version = babase.app.version + babase.app.env.engine_version = babase.app.version babase.app.env.debug = babase.app.debug_build babase.app.env.test = babase.app.test_build babase.app.env.data_directory = babase.app.data_directory From 5c5509b7cc96b2a3717b494e1f377b8307b2c722 Mon Sep 17 00:00:00 2001 From: Vishal Date: Sun, 12 May 2024 04:03:23 +0530 Subject: [PATCH 02/12] Update plugin_manager.py --- plugin_manager.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/plugin_manager.py b/plugin_manager.py index a51c839..97ea0c1 100644 --- a/plugin_manager.py +++ b/plugin_manager.py @@ -39,8 +39,11 @@ CURRENT_TAG = "main" if TARGET_BALLISTICA_BUILD < 21852: - babase.app.env.engine_build_number = babase.app.env.build_number - babase.app.env.engine_version = babase.app.env.version + class Dummy(babase.app.env): + engine_build_number = babase.app.env.build_number + engine_version = babase.app.env.version + + babase.app.env = Dummy if TARGET_BALLISTICA_BUILD < 21282: # These attributes have been deprecated as of 1.7.27. For more info see: From 017546d44a1d006e752610c19f225044a113e880 Mon Sep 17 00:00:00 2001 From: Vishal Date: Sun, 12 May 2024 04:05:51 +0530 Subject: [PATCH 03/12] Update plugin_manager.py --- plugin_manager.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/plugin_manager.py b/plugin_manager.py index 97ea0c1..42e581c 100644 --- a/plugin_manager.py +++ b/plugin_manager.py @@ -37,13 +37,6 @@ REPOSITORY_URL = "https://github.com/bombsquad-community/plugin-manager" # plugin manager repo for testing purpose. CURRENT_TAG = "main" - -if TARGET_BALLISTICA_BUILD < 21852: - class Dummy(babase.app.env): - engine_build_number = babase.app.env.build_number - engine_version = babase.app.env.version - - babase.app.env = Dummy if TARGET_BALLISTICA_BUILD < 21282: # These attributes have been deprecated as of 1.7.27. For more info see: @@ -73,6 +66,12 @@ if TARGET_BALLISTICA_BUILD < 21282: _bascenev1.protocol_version = lambda: babase.app.protocol_version _bauiv1.toolbar_test = lambda: babase.app.toolbar_test +if TARGET_BALLISTICA_BUILD < 21852: + class Dummy(babase.app.env): + engine_build_number = babase.app.env.build_number + engine_version = babase.app.env.version + + babase.app.env = Dummy _env = _babase.env() _uiscale = bui.app.ui_v1.uiscale From d4218337a8e23b7fc6c3e01d24cfaad803c18c8b Mon Sep 17 00:00:00 2001 From: Vishal Date: Sun, 12 May 2024 04:12:44 +0530 Subject: [PATCH 04/12] Last 3 commits: fixing up code to be compatible with 1.7.35+ --- plugin_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin_manager.py b/plugin_manager.py index 42e581c..0306d2f 100644 --- a/plugin_manager.py +++ b/plugin_manager.py @@ -37,7 +37,7 @@ REPOSITORY_URL = "https://github.com/bombsquad-community/plugin-manager" # plugin manager repo for testing purpose. CURRENT_TAG = "main" - + if TARGET_BALLISTICA_BUILD < 21282: # These attributes have been deprecated as of 1.7.27. For more info see: # https://github.com/efroemling/ballistica/blob/master/CHANGELOG.md#1727-build-21282-api-8-2023-08-30 From eab0665e88b1af390b9470ec358c61381ac3d73d Mon Sep 17 00:00:00 2001 From: Loup-Garou911XD Date: Mon, 13 May 2024 01:31:58 +0530 Subject: [PATCH 05/12] ci and changelog --- CHANGELOG.md | 5 +++++ index.json | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9563ec7..9a1c4f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ ## Plugin Manager (dd-mm-yyyy) +### 1.0.20 (13-05-2024) + +- Update for bs version 1.7.35 +- Updated build_number and version attributes + ### 1.0.19 (05-05-2024) - Fixed an issue where changelogs were not displayed. diff --git a/index.json b/index.json index ac917b6..4826061 100644 --- a/index.json +++ b/index.json @@ -1,6 +1,7 @@ { "plugin_manager_url": "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugin_manager.py", "versions": { + "1.0.20": null, "1.0.19": { "api_version": 8, "commit_sha": "b439c4b", @@ -224,4 +225,4 @@ "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugins/maps.json" ], "external_source_url": "https://github.com/{repository}/{content_type}/{tag}/category.json" -} \ No newline at end of file +} From 04d601abaa45da72b882cee2a653de77d7f57283 Mon Sep 17 00:00:00 2001 From: Loup-Garou911XD Date: Sun, 12 May 2024 20:02:24 +0000 Subject: [PATCH 06/12] [ci] apply-version-metadata --- index.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/index.json b/index.json index 4826061..abfaa6c 100644 --- a/index.json +++ b/index.json @@ -1,7 +1,12 @@ { "plugin_manager_url": "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugin_manager.py", "versions": { - "1.0.20": null, + "1.0.20": { + "api_version": 8, + "commit_sha": "eab0665", + "released_on": "12-05-2024", + "md5sum": "fdabe6606c901b85b027f840a785ff16" + }, "1.0.19": { "api_version": 8, "commit_sha": "b439c4b", @@ -225,4 +230,4 @@ "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugins/maps.json" ], "external_source_url": "https://github.com/{repository}/{content_type}/{tag}/category.json" -} +} \ No newline at end of file From 4e326fab02cff9c812c525b6f620195de03a9c7c Mon Sep 17 00:00:00 2001 From: Vishal Date: Mon, 13 May 2024 16:01:09 +0530 Subject: [PATCH 07/12] Update CHANGELOG.md --- CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a1c4f4..0f7c337 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,8 @@ ### 1.0.20 (13-05-2024) -- Update for bs version 1.7.35 -- Updated build_number and version attributes +- Now compatible with BS version 1.7.35+. +- Updated build_number and version attributes to latest. ### 1.0.19 (05-05-2024) From f229b33961519008205d7b42ee2e2b1bc22686b8 Mon Sep 17 00:00:00 2001 From: Vishal Date: Mon, 13 May 2024 16:06:43 +0530 Subject: [PATCH 08/12] 1.0.20 --- index.json | 7 +------ plugin_manager.py | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/index.json b/index.json index abfaa6c..8424e86 100644 --- a/index.json +++ b/index.json @@ -1,12 +1,7 @@ { "plugin_manager_url": "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugin_manager.py", "versions": { - "1.0.20": { - "api_version": 8, - "commit_sha": "eab0665", - "released_on": "12-05-2024", - "md5sum": "fdabe6606c901b85b027f840a785ff16" - }, + "1.0.20": null, "1.0.19": { "api_version": 8, "commit_sha": "b439c4b", diff --git a/plugin_manager.py b/plugin_manager.py index 0306d2f..12a1223 100644 --- a/plugin_manager.py +++ b/plugin_manager.py @@ -31,7 +31,7 @@ from datetime import datetime from threading import Thread import logging -PLUGIN_MANAGER_VERSION = "1.0.19" +PLUGIN_MANAGER_VERSION = "1.0.20" REPOSITORY_URL = "https://github.com/bombsquad-community/plugin-manager" # Current tag can be changed to "staging" or any other branch in # plugin manager repo for testing purpose. From 3ac80fad8bd131c51bab1080bc194e3ddf9e62b6 Mon Sep 17 00:00:00 2001 From: vishal332008 Date: Mon, 13 May 2024 10:37:06 +0000 Subject: [PATCH 09/12] [ci] apply-version-metadata --- index.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/index.json b/index.json index 8424e86..98f5145 100644 --- a/index.json +++ b/index.json @@ -1,7 +1,12 @@ { "plugin_manager_url": "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugin_manager.py", "versions": { - "1.0.20": null, + "1.0.20": { + "api_version": 8, + "commit_sha": "f229b33", + "released_on": "13-05-2024", + "md5sum": "b66c2400458cebcbce6d282a3efef816" + }, "1.0.19": { "api_version": 8, "commit_sha": "b439c4b", From 5ce10ce305efa199bb08e7c2e87fb4e5abad6597 Mon Sep 17 00:00:00 2001 From: Loup-Garou911XD Date: Mon, 13 May 2024 16:39:41 +0530 Subject: [PATCH 10/12] Fixing a bug in changelog when refreshing --- index.json | 7 +------ plugin_manager.py | 1 + 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/index.json b/index.json index 98f5145..8424e86 100644 --- a/index.json +++ b/index.json @@ -1,12 +1,7 @@ { "plugin_manager_url": "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugin_manager.py", "versions": { - "1.0.20": { - "api_version": 8, - "commit_sha": "f229b33", - "released_on": "13-05-2024", - "md5sum": "b66c2400458cebcbce6d282a3efef816" - }, + "1.0.20": null, "1.0.19": { "api_version": 8, "commit_sha": "b439c4b", diff --git a/plugin_manager.py b/plugin_manager.py index 12a1223..154b96c 100644 --- a/plugin_manager.py +++ b/plugin_manager.py @@ -1466,6 +1466,7 @@ class PluginManager: category.cleanup() self.categories.clear() self._index.clear() + self._changelog = None self.unset_index_global_cache() async def refresh(self): From 65e800d867846c250fe452a7a21a86765c4c62d7 Mon Sep 17 00:00:00 2001 From: Loup-Garou911XD Date: Mon, 13 May 2024 11:10:59 +0000 Subject: [PATCH 11/12] [ci] apply-version-metadata --- index.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/index.json b/index.json index 8424e86..155fd08 100644 --- a/index.json +++ b/index.json @@ -1,7 +1,12 @@ { "plugin_manager_url": "https://github.com/bombsquad-community/plugin-manager/{content_type}/{tag}/plugin_manager.py", "versions": { - "1.0.20": null, + "1.0.20": { + "api_version": 8, + "commit_sha": "5ce10ce", + "released_on": "13-05-2024", + "md5sum": "eb49f952e59effaf4529017f4bed4f72" + }, "1.0.19": { "api_version": 8, "commit_sha": "b439c4b", From ab4452781d2c440ac2ecfd1160ccfcecb47b764f Mon Sep 17 00:00:00 2001 From: Loup <90267658+Loup-Garou911XD@users.noreply.github.com> Date: Mon, 13 May 2024 16:43:24 +0530 Subject: [PATCH 12/12] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f7c337..9cc832d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - Now compatible with BS version 1.7.35+. - Updated build_number and version attributes to latest. +- FIX: Changelog for all version was shown after refreshing ### 1.0.19 (05-05-2024)