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
I'm working on adding support for VersionPress to Shifter (https://www.getshifter.io). To do that I need to modify where the .git file is stored.
For example, I would like for it to be stored in wp-content/uploads/.
The cache with supporting this on Shifter is that the wp-config.php file is managed. If I make any edits the wp-config file will be overwritten. So, I'm thinking this should be added as a plugin.
Here is the plugin I'm working on but I can't get it to move the .git folder. Can you take a look? The gist if that anything related to VersionPress cannot be stored in the root directory.
I'd be happy to post this up on on the Shifter blog once we can offer support for VersionPress as a customers have asked for it.
Hi @emaildano, VersionPress controls the whole WordPress installation, I'm not sure if what you're trying to achieve is possible. Can you describe in more detail how you think it would work?
The .git directory needs to be in the site root so that commands like git status work. Also note that VersionPress needs to have write access to all the files of the site – that's how it works. I'm not that familiar with Shifter but a bit it sounds that you try to bend VersionPress in ways that it cannot be bent 😄.
Hey!
I'm working on adding support for VersionPress to Shifter (https://www.getshifter.io). To do that I need to modify where the .git file is stored.
For example, I would like for it to be stored in
wp-content/uploads/
.The cache with supporting this on Shifter is that the wp-config.php file is managed. If I make any edits the wp-config file will be overwritten. So, I'm thinking this should be added as a plugin.
Here is the plugin I'm working on but I can't get it to move the
.git
folder. Can you take a look? The gist if that anything related to VersionPress cannot be stored in the root directory.I'd be happy to post this up on on the Shifter blog once we can offer support for VersionPress as a customers have asked for it.
Thanks!
The text was updated successfully, but these errors were encountered: