Vvv: develop_git no longer works

Created on 6 Feb 2017  路  5Comments  路  Source: Varying-Vagrant-Vagrants/VVV


Expected Behavior

vagrant ssh
# then, on the remote machine
~/bin/develop_git

Running the develop_git script should convert the wordpress-develop directory to a git clone of WordPress rather than the svn repo.

Current Behavior

The script exits saying, "Repo has already been converted to Git", when it actually has not.

Possible Solution

The script needs an update. Changing instances of /srv/www/wordpress-develop to /srv/www/wordpress-develop/public_html seems to fix it.

bug feedback site-develop

Most helpful comment

Good catch, @sirbrillig, thanks for opening an issue. It may be the case too that we should move the definition for this function to the vvv-wordpress-develop repository because it is so specific.

All 5 comments

Good catch, @sirbrillig, thanks for opening an issue. It may be the case too that we should move the definition for this function to the vvv-wordpress-develop repository because it is so specific.

Just ran into this myself.

A consequence of this is that WordPress Develop's .gitignore doesn't apply to the Subversion repository, and IDE's (like Netbeans/PHPStorm, specifically) have issues displaying changes of Git repositories inside of Subversion repositories (in my case, plugin & theme development.)

I'd be fine with this just checking the correct path for now (to fix the bug) and doing what @jeremyfelt suggests later.

1119 && Varying-Vagrant-Vagrants/vvv-wordpress-develop#2 move the develop_git script to the WordPress develop site repository and symlink it into place, allowing the site to be moved in vvv-config.yml without breakage.

Just ran into this as well and the two changes from @LoreleiAurora above are working for me. It may be nice to move the .svn-backup folder up a level, outside the public_html dir or alternately add it to the .gitignore file.

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tomjn picture tomjn  路  4Comments

timichango picture timichango  路  3Comments

ghost picture ghost  路  5Comments

tomjn picture tomjn  路  3Comments

JDGrimes picture JDGrimes  路  4Comments