You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First and foremost, thank you for your contributions to this awesome tool. When working properly, it's invaluable. In the course of using your plugin, we've encountered many challenges associated with the Git sparse-checkout feature. While we understand that the sparse-checkout can optimize performance for much larger repositories, our experience shows that many Grav sites/repositories are rather small and would function more seamlessly without the Git sparse-checkout feature.
In fact, a peculiar behavior we've noticed is that certain files (present in the remote repository, present local but not included in the sparse-checkout) are being deleted from the local workspace, most likely during a pull operation, which is an unwelcome side effect. This has been reported by multiple other users too, and seems to be a point of confusion and potential data loss. 4 people on this issue: #213 have reported it, I've had it happen on 10-12 sites, and I think it's an issue that people just deal with (we would just upload/restore the wiped files for years). It seems to just be the nature of sparse checkout.
Given this, we propose reconsidering the use of sparse-checkout as the default setting. Instead, it might be more user-friendly and safer to have standard Git operations as the default, while providing the option to enable sparse-checkout for users dealing with larger repositories. We believe this approach could make the plugin safer and more intuitive for a wider range of users.
If that's a route we should take, please let me know. I'm willing to work in conjunction with whomever to fix this issue, but we should address it sooner than later.
The text was updated successfully, but these errors were encountered:
First and foremost, thank you for your contributions to this awesome tool. When working properly, it's invaluable. In the course of using your plugin, we've encountered many challenges associated with the Git sparse-checkout feature. While we understand that the sparse-checkout can optimize performance for much larger repositories, our experience shows that many Grav sites/repositories are rather small and would function more seamlessly without the Git sparse-checkout feature.
In fact, a peculiar behavior we've noticed is that certain files (present in the remote repository, present local but not included in the sparse-checkout) are being deleted from the local workspace, most likely during a pull operation, which is an unwelcome side effect. This has been reported by multiple other users too, and seems to be a point of confusion and potential data loss. 4 people on this issue: #213 have reported it, I've had it happen on 10-12 sites, and I think it's an issue that people just deal with (we would just upload/restore the wiped files for years). It seems to just be the nature of sparse checkout.
Given this, we propose reconsidering the use of sparse-checkout as the default setting. Instead, it might be more user-friendly and safer to have standard Git operations as the default, while providing the option to enable sparse-checkout for users dealing with larger repositories. We believe this approach could make the plugin safer and more intuitive for a wider range of users.
If that's a route we should take, please let me know. I'm willing to work in conjunction with whomever to fix this issue, but we should address it sooner than later.
The text was updated successfully, but these errors were encountered: