Skip to content

Latest commit

 

History

History
91 lines (78 loc) · 4.6 KB

CONTRIBUTING.markdown

File metadata and controls

91 lines (78 loc) · 4.6 KB

How to contribute

Liferay is developed by its community, including Liferay users, enthusiasts, employees, customers, partners, and others. As a community member, we strongly encourage you to contribute Liferay's open source project by implementing new features, enhancing existing features, and fixing bugs. We also welcome your participatation in writing documentation and translations to existing documentation.

To maintain the top quality and innovation associated with Liferay, all code changes are reviewed by a core set of Liferay project maintainers. We encourage you to introduce yourself to the core maintainer(s) of the areas you are contributing to and engage them as you work.

As you have ideas for new features you want to implement, follow the contribution steps outlined in the sections, below. For more details on specific steps, check out Liferay's extensive Wiki, including articles on Understanding and Improving Liferay. Lastly, visit the links listed in Additional Resources section, below.

Getting Started

Making Changes

  • Create a branch from an existing branch (typically the master branch) from which you want to base your changes.

  • Commit logical units of work.

  • Follow the Liferay Development Style. If you are using Liferay IDE, use the built-in code formatter accessible via the JavaCode StyleFormatterActive Profile menu.

  • Include a reference to your ticket (e.g. LPS-XXXXX) in your commit messages. For example:

      LPS-83432 Make the example in CONTRIBUTING imperative and concrete
    
  • Test your changes thoroughly! Consider the wide variety of operating systems, databases, application servers, and other related technologies Liferay supports. Make sure the bugs your fix in one environment don't break something in a different environment. See Unit and Integration Tests for details on exectuing Liferay's automated tests.

Submitting Changes

  • Push your changes to your branch in your fork.
  • Submit a pull request to the component lead associated with the area to which your issue applies.
  • On the LPS ticket, provide a link to your pull request from github.com and respond to the Contributor License Agreement displayed by clicking the Contribute Solution button.
  • You're done! Well, not quite ... be sure to watch your pull request and respond to any follow-up comments.

Additional Resources