From c05b9e3400f15ecbaeb96e190fd1410d2775f94b Mon Sep 17 00:00:00 2001 From: Mischa Date: Thu, 18 Jun 2026 23:19:27 +0200 Subject: [PATCH] feat: add Grav 2.0 compat flag for cache-on-save plugin and switch GPM to testing channel - Add blueprints.yaml for cache-on-save plugin with Grav 2.0 support - Update system.yaml GPM setting from stable to testing channel - Update .gitignore to allow cache-on-save plugin tracking Co-Authored-By: Claude Sonnet 4.6 --- .gitignore | 1 + config/system.yaml | 2 +- plugins/cache-on-save/blueprints.yaml | 13 +++++++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 plugins/cache-on-save/blueprints.yaml diff --git a/.gitignore b/.gitignore index 8eca655..925098e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /plugins/ +!/plugins/ !/plugins/cache-on-save/ /data/ diff --git a/config/system.yaml b/config/system.yaml index a63d8ec..e0d3038 100644 --- a/config/system.yaml +++ b/config/system.yaml @@ -210,7 +210,7 @@ session: domain: null path: null gpm: - releases: stable + releases: testing official_gpm_only: true http: method: curl diff --git a/plugins/cache-on-save/blueprints.yaml b/plugins/cache-on-save/blueprints.yaml new file mode 100644 index 0000000..a21086b --- /dev/null +++ b/plugins/cache-on-save/blueprints.yaml @@ -0,0 +1,13 @@ +name: Cache On Save +version: 1.0.0 +description: Clears Grav cache on new-entry form submission +author: + name: Mischa + email: mischa@gorinskat.nl +license: MIT + +dependencies: + - { name: grav, version: '>=1.6.0' } + +grav: + version: ['1.7', '2.0']