From 3884d1ef4da163a45d05a67d19e7366366ee7159 Mon Sep 17 00:00:00 2001 From: lovetox Date: Sun, 8 May 2022 14:26:24 +0200 Subject: [PATCH] Rename manifest.json to plugin-manifest.json Flatpak uses already manifest.json --- .ci/deploy.py | 2 +- acronyms_expander/{manifest.json => plugin-manifest.json} | 0 anti_spam/{manifest.json => plugin-manifest.json} | 0 clients_icons/{manifest.json => plugin-manifest.json} | 0 length_notifier/{manifest.json => plugin-manifest.json} | 0 message_box_size/{manifest.json => plugin-manifest.json} | 0 now_listen/{manifest.json => plugin-manifest.json} | 0 omemo/{manifest.json => plugin-manifest.json} | 0 openpgp/{manifest.json => plugin-manifest.json} | 0 pgp/{manifest.json => plugin-manifest.json} | 0 plugins_translations/{manifest.json => plugin-manifest.json} | 0 quick_replies/{manifest.json => plugin-manifest.json} | 0 regex_filter/{manifest.json => plugin-manifest.json} | 0 scripts/build_repository.py | 2 +- triggers/{manifest.json => plugin-manifest.json} | 0 15 files changed, 2 insertions(+), 2 deletions(-) rename acronyms_expander/{manifest.json => plugin-manifest.json} (100%) rename anti_spam/{manifest.json => plugin-manifest.json} (100%) rename clients_icons/{manifest.json => plugin-manifest.json} (100%) rename length_notifier/{manifest.json => plugin-manifest.json} (100%) rename message_box_size/{manifest.json => plugin-manifest.json} (100%) rename now_listen/{manifest.json => plugin-manifest.json} (100%) rename omemo/{manifest.json => plugin-manifest.json} (100%) rename openpgp/{manifest.json => plugin-manifest.json} (100%) rename pgp/{manifest.json => plugin-manifest.json} (100%) rename plugins_translations/{manifest.json => plugin-manifest.json} (100%) rename quick_replies/{manifest.json => plugin-manifest.json} (100%) rename regex_filter/{manifest.json => plugin-manifest.json} (100%) rename triggers/{manifest.json => plugin-manifest.json} (100%) diff --git a/.ci/deploy.py b/.ci/deploy.py index a98c5f1..1ce78bb 100644 --- a/.ci/deploy.py +++ b/.ci/deploy.py @@ -70,7 +70,7 @@ def download_package_index() -> ManifestT: def iter_manifests() -> Iterator[PackageT]: - for path in REPO_ROOT.rglob('manifest.json'): + for path in REPO_ROOT.rglob('plugin-manifest.json'): with path.open() as f: manifest = json.load(f) yield manifest, path.parent diff --git a/acronyms_expander/manifest.json b/acronyms_expander/plugin-manifest.json similarity index 100% rename from acronyms_expander/manifest.json rename to acronyms_expander/plugin-manifest.json diff --git a/anti_spam/manifest.json b/anti_spam/plugin-manifest.json similarity index 100% rename from anti_spam/manifest.json rename to anti_spam/plugin-manifest.json diff --git a/clients_icons/manifest.json b/clients_icons/plugin-manifest.json similarity index 100% rename from clients_icons/manifest.json rename to clients_icons/plugin-manifest.json diff --git a/length_notifier/manifest.json b/length_notifier/plugin-manifest.json similarity index 100% rename from length_notifier/manifest.json rename to length_notifier/plugin-manifest.json diff --git a/message_box_size/manifest.json b/message_box_size/plugin-manifest.json similarity index 100% rename from message_box_size/manifest.json rename to message_box_size/plugin-manifest.json diff --git a/now_listen/manifest.json b/now_listen/plugin-manifest.json similarity index 100% rename from now_listen/manifest.json rename to now_listen/plugin-manifest.json diff --git a/omemo/manifest.json b/omemo/plugin-manifest.json similarity index 100% rename from omemo/manifest.json rename to omemo/plugin-manifest.json diff --git a/openpgp/manifest.json b/openpgp/plugin-manifest.json similarity index 100% rename from openpgp/manifest.json rename to openpgp/plugin-manifest.json diff --git a/pgp/manifest.json b/pgp/plugin-manifest.json similarity index 100% rename from pgp/manifest.json rename to pgp/plugin-manifest.json diff --git a/plugins_translations/manifest.json b/plugins_translations/plugin-manifest.json similarity index 100% rename from plugins_translations/manifest.json rename to plugins_translations/plugin-manifest.json diff --git a/quick_replies/manifest.json b/quick_replies/plugin-manifest.json similarity index 100% rename from quick_replies/manifest.json rename to quick_replies/plugin-manifest.json diff --git a/regex_filter/manifest.json b/regex_filter/plugin-manifest.json similarity index 100% rename from regex_filter/manifest.json rename to regex_filter/plugin-manifest.json diff --git a/scripts/build_repository.py b/scripts/build_repository.py index 7030b0a..c41b2f8 100644 --- a/scripts/build_repository.py +++ b/scripts/build_repository.py @@ -50,7 +50,7 @@ def iter_releases(release_folder: Path) -> Iterator[Dict[str, Any]]: for path in release_folder.rglob('*.zip'): with ZipFile(path) as release_zip: try: - with release_zip.open('manifest.json') as file: + with release_zip.open('plugin-manifest.json') as file: manifest = json.load(file) yield manifest except Exception: diff --git a/triggers/manifest.json b/triggers/plugin-manifest.json similarity index 100% rename from triggers/manifest.json rename to triggers/plugin-manifest.json