Open pentatonicfunk opened 2 years ago
There are various GH action already available for that https://github.com/marketplace/actions/wordpress-plugin-svn-deploy
Probably aren't enough as it is missing the composer part but yes is something if there is interest I can add.
Some sort of documentation on how to take the plugin to production would be nice! How to generate a .zip-file with necessary files, which is ready to be uploaded to the plugin section of WordPress.
Some sort of documentation on how to take the plugin to production would be nice! How to generate a .zip-file with necessary files, which is ready to be uploaded to the plugin section of WordPress.
For this kind of documentation you need to check the official documentation https://developer.wordpress.org/plugins/wordpress-org/ it is outside the scope of the boilerplate.
I'm going to have to agree. We could really use an automatic method of generating a final version of the plugin ready for installing and more instructions on how to actually publish the plugin.
There are a lot of extra things in this system that I've never used before and don't understand fully even after reading for hours and spending days playing around with it all. I've been testing various systems and frameworks and things to make plugin development easier and this seems like it has a lot of really great things but is still missing some vital parts making it difficult to actually use.
You may say this is really just a boilerplate and not exactly a framework and maybe you deem it out of it's scope but this entire system seems very promising and I really appreciate the work that has gone into it. However due to it's complexity I feel like it could use some more detailed documentation or at least steps in a guide on producing the ultimate goal which is of course an installable and publishable plugin. I know time is limited and writing documentation can suck but if we, the users of your work, just had a little more info on where to go next then it would make it so much easier for us and I think more people would be able to use it.
I strongly believe that a simple command to build a publishable final zip file and folder would be a very good addition. I would like to suggest checking out how WP Emerge does it as that may be a good way to do it. They have an extra release command in the package.json which creates a new folder and copies all the necessary files to it and makes a zip out of it. The issue I have with that framework, while it is very awesome, is that it doesn't seem to work very well with the latest version of WP and the author said they are spread too thin and haven't been able to work on it much lately. Perhaps it could give you some ideas.
My opinion on publishing on the repo is that not so simple based on the needs. About that topic there are a lot of external resources like https://github.com/sudar/wp-plugin-in-github or the official documentation https://developer.wordpress.org/plugins/wordpress-org/ because you need to know how works the wordpress repository anyway.
On official wp repo it is used svn in a specific way and there are a lot of tools, ci, action and so on to deploy it (a search on internet it will show it) so I am not comfortable to suggest one and give support for that...
Describe the solution you'd like Probably using github workflow for release assets ? to build installable ZIP plugin
Additional context Basically after initiating the boilerplate, then develop, what im lost is how can i release it to Github, as Github release. Guide / recipe that can integrate with wp.org svn might be cool too