Last updated by
2 years ago
Page: Contribute, Version:27
How to Contribute
We're always on the lookout for people who can contribute to Grails. There are four main areas of activity: raising issues, improving the documentation, contributing to the Grails codebase, and developing plugins.Raising issues
All Grails issues are stored in a JIRA instance at Codehaus. You have to create an account before you can start raising issues, but once that's done you're good to go.Here are a few tips that will help us process your issues:- Do a quick search beforehand to check whether someone else has already raised the issue. You can use the quick search box in the top righthand corner, but if you do, start your query with "grails" so that it only searches the Grails project.
- Try to include as much pertinent information as you can in the summary. "Pages are displayed wrong" is not helpful. "Stylesheet in GSP layout is not being applied" is much better.
- If you can't categorise your issue with one of the available components, don't worry - just leave it empty.
- Provide a reproducible example (typically a zipped Grails project) with instructions on how to reproduce the problem.
- Even better, provide some test cases in the project if you can. Integration or functional tests are usually the most appropriate. This will make it much easier for us to diagnose and fix the issue.
Documentation
Grails documentation currently falls into two categories: the user guide and the wiki (what you're looking at right now). To update the wiki or add new pages, you just need to register and then log in - here's a description of the wiki syntax that we use.Providing patches for the user guide is more involved. You first need to get hold of the source from GitHub. How you do that depends on how significant a contribution you plan to make.You will probably want to start by getting a read-only clone of the repository from which you can create patches to attach to JIRA issues.If you know you're likely to contribute frequently, then create your own fork of the grails-doc repository and send pull requests to the development team.Whichever approach you take, it's a good idea to check the Developer Guidelines for information on how to use git.
Coding
If you want to get involved in the development of Grails then these documents should help you get started: The source code for the Grails Core project is hosted on GitHub, as are the other main Grails projects, such as the documentation, sample applications, and functional test suite. If you'd like to fix bugs or implement features in Core, you have two options:- Provide a patch and attach it to a JIRA issue.
- Fork the repository and send pull requests for your changes.