DevinVinson / WordPress-Plugin-Boilerplate

[WordPress] A foundation for WordPress Plugin Development that aims to provide a clear and consistent guide for building your plugins.
http://wppb.io
7.67k stars 2.25k forks source link

Issue with admin folder and WordPress.org Subversion #229

Closed jonathan-dejong closed 9 years ago

jonathan-dejong commented 9 years ago

Hi!

This topic may not be most suited for your issue-listing but I couldn't get an answer from the community at wordpress.org and you guys have been so helpful before so I'll give it a shot!

When trying to do the initial submit of /trunk I get these errors:

svn: E195023: Commit failed (details follow): svn: E195023: Changing directory '/Users/jontedejong/Subversion/beautiful-taxonomy-filters/trunk/admin' is forbidden by the server svn: E175013: Access to '/!svn/somestuffherepplmaybeshouldnotsee/beautiful-taxonomy-filters/trunk/admin' forbidden

Which leads me to believe that there's some sort of safety against specific folder/file names? However I'm pretty sure there's plugins out there with a folder named admin! I mean, the plugin boilerplate duh :)

So any ideas on whats going on here? I should note that I'm a rookie at Subversion (sticking to git).

tommcfarlin commented 9 years ago

I'm not sure what the problem is here; however, the Boilerplate's structure is meant to mimic the trunk and assets directory of Subversion for WordPress.org.

This means that anything contained in the Boilerplate's trunk directory should reside in the repository's trunk directory. That is, don't copy assets and trunk into the repository's trunk directory.

Instead, copy what's in the Boilerplate's trunk directory and place it in the trunk directory as provided by WordPress' Subversion.

Hope this helps - if not, re-open the ticket!

jonathan-dejong commented 9 years ago

Hi Tom.

Thanks for your input. Unfortunately thats exactly what I'm doing. I have a few other plugins in the WP Subversion repo so I know what goes where (atleast) :)

Since this is the first push all plugin files is in trunk, the screenshots are in assets and the tags and branches are both empty, as should be. It really seems like an naming issue. I'm considering changing the admin folder to something similar ("backend" perhaps) but I'd rather not since this is a good standardized structure.

EDIT: I don't know how/ am able to reopen the issue

jonathan-dejong commented 9 years ago

Thanks Tom for reopening the issue!

So I tried renaming the admin folder to "backend" and changed all occurrences of "admin" in file paths so the plugin would work. I then tried to push the whole trunk again.

Same error! Exactly the same error except replace admin with backend.. What the h*ll. Conclusion I reach is that the issue is not in the naming, its in that I cant upload folders (or depths of the structure).

Will now google and see if I can find anything on that!

scamartist26 commented 9 years ago

Could this be a permissions issue with that directory?

jonathan-dejong commented 9 years ago

Indeed it was.. For some reason I wasn't logged in as the user that had access to the repo (very strange) so I had to add --username and --password to the mix and then it worked :) It's odd that it didnt request me for the login details instead of just shutting down (imo) but atleast it works now!

I'll post a link when its up :)

jonathan-dejong commented 9 years ago

Here we go :) Finally got it up there..

Thank you for all the help! https://wordpress.org/plugins/beautiful-taxonomy-filters/