【问题标题】:Add a Phonegap plugin to the Phonegap plugins repository on Github将 Phonegap 插件添加到 Github 上的 Phonegap 插件存储库
【发布时间】:2016-03-10 00:02:32
【问题描述】:

我在my own GitHub repository 中有一个Phonegap / Cordova 插件,我想将此插件添加到GitHub 上的Phonegap 插件存储库https://github.com/phonegap/phonegap-plugins。我怎样才能做到这一点?

编辑

Phonegap 插件库说:

我们不想再用代码“弄乱”这个 repo。作者应该在自己的 repos 中维护代码,只需在此 repo 的 README.md 中放置一个指针。

但它们是什么意思?

只需在此 repo 的 README.md 中添加一个指针即可。

【问题讨论】:

    标签: cordova github phonegap-plugins


    【解决方案1】:

    如果您想按照 Nick Roth 的回答中描述的方式添加插件,请将 phonegap/phonegap-plugins 存储库分叉到您的 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 repo 发送拉取请求,我们将接受它。

    【讨论】:

      【解决方案2】:

      查看那个 repo 的 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.

      【讨论】:

      • 它们是什么意思:“只需在这个 repo 的 README.md 中放一个指针。”?
      • 我不经常使用 GitHub,所以我不知道他们到底是什么意思。
      • @RemcoBeugels 这意味着在 readme.md 中添加一个链接到您的存储库。
      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-01-28
      • 2013-10-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多