Hello,
I’m quite new to Grav, have 2 sites running on it. Because more people are working on the projects, we need to reproduce the site from our Git repository almost 1:1. The problem are plugins, because GPM installs the newest version of a plugin by default. So it’s not possible get the same version of Grav and it’s plugins every time I build the project.
So how to install a specific plugin version during project installation? I have only 3 ideas.
- Add
/user/plugins/*
to Git repository (don’t like it, there are vendor dirs etc.) - Use
gpm direct-install
(don’t like that since direct-install doesn’t install dependencies) - Add
/user/plugins/*/blueprint.yaml
to Git repository? (didn’t try that but dependencies are specified like{ name: form, version: '>=3.0.0' }
so again, GPM would probably try to install the newest versions of the depencencies which could result in incompatibility).
Are there any other options? Which one is the best?
Thank you.