👍🎉 Thanks for taking the time to contribute! 🎉👍
You want to contribute to Flight Inventory? Welcome! Please read this document to understand what you can do:
When contributing to this repository, please first discuss the change you wish to make via a Github issue or a post on the OpenFlight Community site.
Please note we have a code of conduct, please follow it in all your interactions with the project.
This project and everyone participating in it is governed by the OpenFlight Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behaviour to [email protected].
You can help Flight Inventory by helping others who use it and need support.
Analysing issue reports can be a lot of effort. Any help is welcome! Go to the GitHub issue tracker and find an open issue which needs additional work or a bugfix (e.g. issues labeled with "help wanted" or "bug").
Additional work could include any further information, or a gist, or it might be a hint that helps understanding the issue. Maybe you can even find and contribute a bugfix?
If you find a bug - behaviour of Flight Inventory code or documentation contradicting your expectation - you are welcome to report it. We can only handle well-reported, actual bugs, so please follow the guidelines below.
Once you have familiarised with the guidelines, you can go to the GitHub issue tracker for Flight Inventory to report the issue.
Issue report checklist:
- Real, current bug
- No duplicate
- Reproducible
- Good summary
- Well-documented
- Minimal example
When an issue is reported, a committer will look at it and either confirm it as a real issue, close it if it is not an issue, or ask for more details.
An issue that is about a real bug is closed as soon as the fix is committed.
If you find a security issue, please act responsibly and report it not in the public issue tracker, but directly to us, so we can fix it before it can be exploited. Please send the related information to [email protected].
We want to improve the quality of Flight Inventory and good bug reports are welcome! However, our capacity is limited, thus we reserve the right to close or to not process bug reports with insufficient detail in favour of those which are very cleanly documented and easy to reproduce. Even though we would like to solve each well-documented issue, there is always the chance that it will not happen - remember: Flight Inventory is Open Source and comes without warranty.
Bug report analysis support is very welcome! (e.g. pre-analysis or proposing solutions)
You are welcome to contribute code, content or documentation to Flight Inventory in order to fix bugs or to implement new features.
There are three important things to know:
- You must be aware of the Eclipse Public License 2.0 (which describes contributions) and agree to the Contributors License Agreement. This is common practice in all major Open Source projects.
- Not all proposed contributions can be accepted. Some features may e.g. just fit a third-party add-on better. The change must fit the overall direction of Flight Inventory and really improve it. The more effort you invest, the better you should clarify in advance whether the contribution fits: the best way would be to just open an issue to discuss the feature you plan to implement (make it clear you intend to contribute).
When you contribute (code, documentation, or anything else), you have to be aware that your contribution is covered by the same Eclipse Public License 2.0 that is applied to Flight Inventory itself.
In particular you need to agree to the Contributor License Agreement, which can be found here. This applies to all contributors, including those contributing on behalf of a company. If you agree to its content, you simply have to click on the link posted by the CLA assistant available on the pull request. Click it to check the CLA, then accept it on the following screen if you agree to it. CLA assistant will save this decision for upcoming contributions and will notify you if there is any change to the CLA in the meantime.
- Make sure the change would be welcome (e.g. a bugfix or a useful feature); best do so by proposing it in a GitHub issue.
- Fork, then clone the repo.
- Make your changes (see below) and commit.
- In the commit message:
- Describe the problem you fix with this change.
- Describe the effect that this change has from a user's point of view. App crashes and lockups are pretty convincing for example, but not all bugs are that obvious and should be mentioned in the text.
- Describe the technical details of what you changed. It is important to describe the change in a most understandable way so the reviewer is able to verify that the code is behaving as you intend it to.
- If your change fixes an issue reported at GitHub, add the following
line to the commit message:
Fixes #(issueNumber)
- Do NOT add a colon after "Fixes" - this prevents automatic closing.
- Open a pull request!
- Follow the link posted by the CLA assistant to your pull request and accept it, as described in detail above.
- Wait for our code review and approval, possibly enhancing your
change on request.
- Note that the Flight Inventory developers also have their regular duties, so depending on the required effort for reviewing, testing and clarification this may take a while.
- Once the change has been approved we will inform you in a comment.
- We will close the pull request; feel free to delete the now obsolete branch.
- Create a topic branch from where you want to base your work.
- This is usually the
master
branch. - Only target release branches if you are certain your fix must be on that branch.
- To quickly create a topic branch based on master, run
git checkout -b fix/master/my_contribution master
. Please avoid working directly on themaster
branch.
- This is usually the
- Make commits of logical and atomic units.
- Check for unnecessary whitespace with
git diff --check
before committing.
These contribution guidelines are adapted from various previous contribution guideline documents from other projects hosted on Github. Our thanks to the respective authors for making contributing to Open Source projects a more streamlined and efficient process!