trilbymedia / grav-plugin-git-sync

Collaboratively Synchronize your Grav `user` folder hosted on GitHub, BitBucket or GitLab
Apache License 2.0
239 stars 57 forks source link

`folders` list in yaml config not respected? #211

Closed kees-closed closed 2 years ago

kees-closed commented 2 years ago

I removed the data folder from git-sync because it contains emails and the mail queue. Data that I don't want to sync with GitLab because of GDPR reasons. But for some reason git-sync doesn't respect this configuration. It syncs all folders in user/. I removed all configs in /user/config/plugins/git-sync.yaml and in $website/config/plugins/git-sync.yaml, uninstalled the plugin and started from scratch with the wizard. Did not select data, but in the clean GitLab repo user/data does show up.

Since I run the latest version of Grav and the git-sync plugin, removed all old configs and ran the wizard from scratch a few times and could reproduce it every time, I think it's a bug.

kees-closed commented 2 years ago

A full reinstall of Grav seems to have fixed it.