我在my own GitHub repository中有一个Phonegap / Cordova插件,我想将此插件添加到位于https://github.com/phonegap/phonegap-plugins的GitHub上的Phonegap插件存储库中。我怎样才能做到这一点?
修改
Phonegap Plugins存储库说:
我们不想再用代码“混乱”这个回购。作者应该将代码保存在他们自己的repos中,并将指针放在此repo中的README.md中。
但他们的意思是什么?
只需将指针放在此repo中的README.md中。
答案 0 :(得分:1)
查看该回购的README,看起来他们不接受更多的插件。
We don’t want to “clutter” this repo with code anymore. Authors should maintain the code in their own repos and just put a pointer in a README.md in this repo.
答案 1 :(得分:1)
如果您想以Nick Roth的答案中描述的方式添加插件,请将phonegap/phonegap-plugins repo分叉到您的GitHub帐户。在包含README.md的适当平台(iOS,Android等)的fork中为插件添加一个文件夹
在README.md中包含您的插件的简短描述以及任何其他可能有助于他们知道它是否是适合他们的插件以及GitHub帐户中插件链接的信息。
示例:
https://github.com/phonegap/phonegap-plugins/tree/master/iOS/ActionSheet https://github.com/phonegap/phonegap-plugins/tree/master/Android/VideoPlayer https://github.com/phonegap/phonegap-plugins/tree/master/iOS/VolumeSlider
然后提交并向phonegap/phonegap-plugins
回购发送拉取请求,我们将接受它。