JQuery new github plugin system

I followed all the steps in plugins.jquery.com repo on github ( https://github.com/jquery/plugins.jquery.com/ ) to be ready to add my plugin to the new system I have a plugin called Tweetslider in the old repositories, but I'm confused.

I set up local jquery sites using / etc / hosts to redirect it to my ip and configure all the functions of node.js. I assumed that the publication of the plugin will be done through wp-admin of the local site, but it does not seem to be so.

The more I read, the more it seems that I just add the jquery.json manifest file to the root of my repository, add the post-receive-hook in github to the destination site receiving the url, and send a new tag with the version number, which will then be uploaded by jquery plugins and added. If so, why am I worried about a web base template, etc., as well as setting up local db plugins, etc.

My repository for tweetslider is here https://github.com/LiamBailey/TweetSlider

If I follow the steps above, will my plugin be added or added if the manifest is valid, or am I missing something?

For example, at the end of the readme on the jQuery repo, linked at the top of the post, it gives as the final command:

Website launch

node scripts / manager.js

But when I run this, it does absolutely nothing. I checked sysmonitor and there was a node applet, but I can’t see anything visually. I looked at the code, but I don’t understand this either. All Wordpress stuff is perfect, I have local jQuery and I can log in. I hope that someone else will look at all this and better understand it than me, because I think I’ll lose my mind soon.

+7
source share
2 answers
Yes, that also confused me. The main thing is that github cannot know about your / etc / hosts and cannot know about your local server.
  • WordPress web template and material is the ability to view the site.

  • The node server receives the post-receive-hook message, and then adds the information directly to wordpress.

  • Changing / etc / hosts sets the domain name so that you can view the local Wordpress site, but no one can see it, in particular github.

Some possible workarounds:

  • Configure a local git server on which there is a mail response on your local computer. Thus, all necessary host routing is handled by local / etc / hosts.

  • Use some kind of dynamic DNS or related system to have a public host name that is routed to your local server, and it has github in it.

  • The proxy server after you receive through your own public server to your local server.

You can also ask people in jquery forums if they have a better idea of ​​setting up the local environment.

+1
source

Update 2013-01-17

The jQuery plugins plugin has finally risen! http://plugins.jquery.com

Now the instructions are pretty complicated, http://plugins.jquery.com/docs/publish/

And manifest specifications are also clearly described at http://plugins.jquery.com/docs/package-manifest/


If I follow the steps above, will my plugin be added or added if the manifest is valid, or am I missing something?

According to README.md, it warns that it is not working yet. This system is under (slow) development.

Just add the post-receive hook to your repository using our url web hook, http://plugins.jquery.com/_update . Warning: it is not functional yet!

I also noticed that the last commit made a month ago consisted in updating the mentioned post-receive hook to http://plugins.jquery.com/postreceive-hook in its docs when posting to https://github.com/jquery/ plugins.jquery.com/blob/4f5f611d247db6b3df11a2a5bda0957d08f11d6f/site-content/page/docs/publish.html

Things like this type add to the confusion, but you can try and / or look at https://github.com/jquery/plugins.jquery.com/issues

+1
source

All Articles