| Version 13 (modified by bartvde, 12 months ago) |
|---|
How to Create a Pull Request (a.k.a. patch)
If you have a patch that you wish to be included in the OpenLayers repository, this is what you need to do:
- File a Ticket: No patches will be made to master unless they are accompanied by an issue, however github automatically creates an issue for you when you create a pull request. For complete instructions: FilingTickets
- Read up on our coding standards: See CodingStandards for guidelines on OpenLayers coding style.
- Write tests: See WritingUnitTests for information on how to write tests for your patch.
- Write examples: See the section on writing examples for information on how to write examples demonstrating new functionality (only relevant if your patch introduces new features).
- Create the Pull Request:
- Fork OpenLayers under your own github user account
- Clone your repository
- Create a branch
- Make your changes, add them, and then commit them to your branch, followed by a push
- Run the tests until they all pass.
- Create a pull request using the github website, see also: pull requests help page
