Organize files into directories
Any thoughts on organizing the files into directories?
- This makes things more organized, which may be useful as more stuff is added.
- Having some files in the main directory is a pain. For example, we can't have Travis run syntax checks on the files for us, because the example .travis.yml is in the main directory.
I'm thinking of something like this:
travis/
- .travis.yml
- before_script.sh
- after_script.sh
- script.sh
readme/
- class-wordpress-readme-parser.php
- generate-markdown
phpunit/
- plugin-bootstrap.php
- plugin.xml
etc.
The only issue is that this isn't backward compatible, which might be a deal-breaker. :frowning:
You're right. It does need directory organization.
Not concerned so much with backwards-compat. If plugin repos are using the submodule, then they'll not break since they'll reference a commit hash anyway, a point where the old directory structure was in place. It's just that updating the submodule after this change may require some symlink updates in the contained plugin/theme repo as well.
It's just that updating the submodule after this change may require some symlink updates in the contained plugin/theme repo as well.
Right. I just wanted to make sure that it wasn't overlooked.
So, basically, I think all files (except readme.md and contributing.md, etc.) should be moved to supdirectories.
Would you like me to submit a PR, or should I work on #82 first? I think things will get tangled if this happens in the middle of work on something else.
Let's hold off on the re-org until later, yeah.