I downloaded Visual SVN Server for windows for the purpose of submitting a plugin to wordpress. I installed it successfully and ran it.
I tried to follow the below instructions to upload my plugin but it doesnt work. Of course i replaced “my-local-dir” and “my-plugin” with the relavant names.
# Create a local directory on your machine to house # a copy of the repository. $ mkdir my-local-dir # Check out the repository $ svn co http://svn.wp-plugins.org/your-plugin-name my-local-dir > A my-local-dir/trunk > A my-local-dir/branches > A my-local-dir/tags > Checked out revision 11325. # As you can see, subversion has added ( "A" for "add" ) # all of the directories from the central repository to # your local copy. # Copy the plugin files to the local copy. # Put everything in the trunk/ directory for now. $ cd my-local-dir/ my-local-dir/$ cp ~/my-plugin.php trunk/my-plugin.php my-local-dir/$ cp ~/readme.txt trunk/readme.txt # Let subversion know you want to add those new files # back into the central repository. my-local-dir/$ svn add trunk/* > A trunk/my-plugin.php > A trunk/readme.txt # Now check in the changes back to the central repository. # Give a message to the check in. my-local-dir/$ svn ci -m 'Adding first version of my plugin' > Adding trunk/my-plugin.php > Adding trunk/readme.txt > Transmitting file data . > Committed revision 11326. # All done!
Firstly i where it says copy the files to your local copy….
Which files is it talking about? This is the first time im submitting the plugin, the only files i have are on my machine.
Assuming it did mean the files that are on my machine i tried the copy command with the correct path and everything but it tells me cp is not a command…. then i tried copy it tells me it cannot find that path on the system…
Finnally i just copied the files using copy paste in windows.
K, now the files are there.
I then used and add command to add the files it seemd to work. but then when i tried to checkin the files using the above mentioned command line it again gives me a fail error:
“first’ is not under version control”
Please can someone give me clear and simple instructions on how to do this?
You don’t understand how frustrating it is to try and get some clear and simple instructions on how to do some of these things.
- The topic ‘unable to submit plugin using subversion’ is closed to new replies.