Are you ready to contribute to the JHipster Registry? We'd love to have you on board, and we will help you as much as we can.
Our contributing guidelines are basically the same as the JHipster generator contributing guidelines.
Here are the guidelines we'd like you to follow so that we can be of more help:
- Questions and help
- Issues and Bugs
- Feature Requests
- Submission Guidelines
- Generator development setup
- Coding Rules
- Git Commit Guidelines
This is the JHipster bug tracker, and it is used for Issues and Bugs and for Feature Requests. It is not a help desk or a support forum.
If you have a question on using JHipster, or if you need help with your JHipster project, please read our help page and use the JHipster tag on StackOverflow or join our Gitter.im chat room.
If you find a bug in the source code or a mistake in the documentation, you can help us by submitting a ticket to our GitHub issues. Even better, you can submit a Pull Request to our JHipster Registry project or to our Documentation project.
Please see the Submission Guidelines below.
You can request a new feature by submitting a ticket to our GitHub issues. If you would like to implement a new feature then consider what kind of change it is:
- Major Changes that you wish to contribute to the project should be discussed first. Please open a ticket which clearly states that it is a feature request in the title and explain clearly what you want to achieve in the description, and the JHipster team will discuss with you what should be done in that ticket. You can then start working on a Pull Request.
- Small Changes can be proposed without any discussion. Open up a ticket which clearly states that it is a feature request in the title. Explain your change in the description, and you can propose a Pull Request straight away.
Before you submit your issue search the archive, maybe your question was already answered.
If your issue appears to be a bug, and has not been reported, open a new issue. Help us to maximize the effort we can spend fixing issues and adding new features, by not reporting duplicate issues. Providing the following information will increase the chances of your issue being dealt with quickly:
- Overview of the issue - if an error is being thrown a stack trace helps
- Motivation for or Use Case - explain why this is a bug for you
- Reproduce the error - an unambiguous set of steps to reproduce the error. If you have a JavaScript error, maybe you can provide a live example with JSFiddle?
- Related issues - has a similar issue been reported before?
- Suggest a Fix - if you can't fix the bug yourself, perhaps you can point to what might be causing the problem (line of code or commit)
- JHipster Registry Version(s) - is it a regression?
- Browsers and Operating System - is this a problem with all browsers or only IE8?
Click here to open a bug issue with a pre-filled template. For feature requests and enquiries you can use this template.
Issues opened without any of these info will be closed without any explanation.
Before you submit your pull request consider the following guideline:
- Search GitHub for an open or closed Pull Request that relates to your submission.
To ensure consistency throughout the source code, keep these rules in mind as you are working:
- All features or bug fixes must be tested by one or more tests.
- All files must follow the .editorconfig file located at the root of the JHipster Registry project. Please note that generated projects use the same
.editorconfig
file, so that both the generator and the generated projects share the same configuration. - Java files must be formatted using Intellij IDEA's code style. Please note that JHipster committers have a free Intellij IDEA Ultimate Edition for developing the project.
- Generators JavaScript files must follow the eslint configuration defined at the project root, which is based on Airbnb JavaScript Style Guide.
- Web apps JavaScript files must follow Google's JavaScript Style Guide.
- AngularJS files must follow John Papa's Angular 1 style guide.
- Angular 2+ Typescript files must follow Official Angular style guide.
Please ensure to run npm run lint
and npm test
on the project root before submitting a pull request. You can also run npm run lint-fix
to fix some of the lint issues automatically.
We have rules over how our git commit messages must be formatted. Please ensure to squash unnecessary commits so that your commit history is clean.
Each commit message consists of a header, a body and a footer.
<header>
<BLANK LINE>
<body>
<BLANK LINE>
<footer>
Any line of the commit message cannot be longer 100 characters! This allows the message to be easier to read on GitHub as well as in various git tools.
The Header contains a succinct description of the change:
- use the imperative, present tense: "change" not "changed" nor "changes"
- don't capitalize first letter
- no dot (.) at the end
If your change is simple, the Body is optional.
Just as in the Header, use the imperative, present tense: "change" not "changed" nor "changes". The Body should include the motivation for the change and contrast this with previous behavior.
The footer is the place to reference GitHub issues that this commit Closes.
You must use the GitHub keywords for automatically closing the issues referenced in your commit.
For example, here is a good commit message:
upgrade to Spring Boot 1.1.7
upgrade the Maven and Gradle builds to use the new Spring Boot 1.1.7,
see http://spring.io/blog/2014/09/26/spring-boot-1-1-7-released
Fix #1234