简体   繁体   English

Grails:添加或修改grails插件

[英]Grails: Adding to or modifying grails plugins

There's a plugin that I would like to add features since it is not quite usable (in a practical way). 我想添加一个插件,因为它不太实用(以实用的方式)。 Do you create a new plugin or is it allowed to update the existing one? 您是创建一个新插件还是允许其更新现有插件?

You should be able to add to an existing one. 您应该可以添加到现有的。 Ideally the plugin's page on the plugin portal ( http://grails.org/plugins/ ) should have a link to the source which is usually in subversion or git. 理想情况下,插件门户网站( http://grails.org/plugins/ )上的插件页面应具有指向源的链接,该源通常位于subversion或git中。 If it's in Subversion or a private GIT repo you might have to email the grails developer list ( http://grails.org/Mailing+lists ) and ask for permission to the repo. 如果它位于Subversion或私有GIT存储库中,则可能必须通过电子邮件发送grails开发人员列表( http://grails.org/Mailing+lists ),并要求获得该存储库的许可。 If it's in a public GIT repo you should be able to fork it, make your changes, and submit a pull request. 如果它在公共GIT存储库中,则您应该能够对其进行存储,进行更改并提交请求请求。

For example the Grails Cloud Foundry plugin ( http://grails.org/plugin/cloud-foundry ) source code is located at ( https://github.com/grails-plugins/grails-cloud-foundry ) 例如,Grails Cloud Foundry插件( http://grails.org/plugin/cloud-foundry )源代码位于( https://github.com/grails-plugins/grails-cloud-foundry

If for some reason whoever owns the repo or plugin isn't working on it anymore it may make sense to create your own. 如果出于某种原因,拥有存储库或插件的人不再使用它,则创建自己的仓库可能是有意义的。 ( http://grails.org/Creating+Plugins ) http://grails.org/Creating+Plugins

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM