From 8a83406dcb8c8df45cb222c1e93863c0fdba9e35 Mon Sep 17 00:00:00 2001 From: Justin Koh Date: Fri, 24 Jan 2025 20:15:40 +0800 Subject: [PATCH 1/2] Enable auto manifest updates flathubbot will open a PR when a new tag is found. See https://docs.flathub.org/docs/for-app-authors/external-data-checker/ --- io.github.limo_app.limo.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/io.github.limo_app.limo.json b/io.github.limo_app.limo.json index 451ae03..31d1ebf 100644 --- a/io.github.limo_app.limo.json +++ b/io.github.limo_app.limo.json @@ -345,7 +345,11 @@ { "type": "git", "url": "https://github.com/limo-app/limo.git", - "tag": "v1.1" + "tag": "v1.1", + "x-checker-data": { + "type": "git", + "tag-pattern": "^v([\\d.]+)$" + } } ] } From ff9b528c818aed7dd29b9f6988137250ce5ca803 Mon Sep 17 00:00:00 2001 From: Justin Koh Date: Fri, 24 Jan 2025 21:01:54 +0800 Subject: [PATCH 2/2] Add editorconfig f-e-d-c formats the manifest when updating. Only a small subset of editorconfig options are supported. This preserves the current whitespace style but there may still be some noise from format changes in the first auto PR. https://github.com/flathub-infra/flatpak-external-data-checker?tab=readme-ov-file#formatting-manifests --- .editorconfig | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..fd65c48 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,6 @@ +root = true + +[*.json] +indent_style = space +indent_size = 2 +insert_final_newline = true