Contributing¶
libcamera is developed as a free software project and welcomes contributors. Whether you would like to help with coding, documentation, testing, proposing new features, or just discussing the project with the community, you can join our official public communication channels, or simply check out the code.
The project adheres to a code of conduct that maintainers, contributors and community members are expected to follow in all online and offline communication.
Mailing List¶
We use a public mailing list as our main means of communication. You can find subscription information and the messages archive on the libcamera-devel list information page.
IRC Channel¶
For informal and real time discussions, our IRC channel on irc.oftc.net is open to the public. Point your IRC client to #libcamera to say hello, or use the WebChat.
The IRC channel is also bridged and accessible via Matrix in the #libcamera room:
Source Code¶
libcamera is in active development, including investigations into what a ‘good’ API is for the implementation. We can’t guarantee we have all features implemented, or designed correctly yet, and we have plans to make considerable changes to the API and ABI in our roadmap.
Even so, we provide periodic ‘releases’ to support distributions and packaging teams. To support this we are currently making releases of the 0.y.z version scheme, loosely following semver.
In the foreseeable future, the following applies:
- 0.y.zActive development, but with ABI breakage detection. The 0.y
version will bump on an ABI/API breakage. Ongoing development will increment the .z version component. Therefore, pre 1.0 ‘y’ is a close equivalent to a major release.
- 1.y.zStable API and ABI guarantees on the Major version number.
Following semantic versioning as documented at https://semver.org/
The source code is available from the project’s git tree.
$ git clone https://git.libcamera.org/libcamera/libcamera.git
A development mirror is also hosted on Freedesktop.
Freedesktop also provides our CI and testing pipeline.
Issue Tracker¶
Our issue tracker also hosted at Freedesktop tracks all bugs, issues and feature requests.
Documentation¶
Project documentation is created using Sphinx. Source level documentation uses Doxygen. Please make sure to document all code during development.
Submitting Patches¶
The libcamera project has high standards of stability, efficiency and reliability. To achieve those, the project goes to great length to produce code that is as easy to read, understand and maintain as possible. This is made possible by a set of Coding Style Guidelines that all submissions are expected to follow.
We also care about the quality of commit messages. A good commit message not only describes what a commit does, but why it does so. By conveying clear information about the purpose of the commit, it helps speeding up reviews. Regardless of whether you’re new to git or have years of experience, https://cbea.ms/git-commit/ is always a good guide to read to improve your commit message writing skills.
The patch submission process for libcamera is similar to the Linux kernel, and
goes through the libcamera-devel mailing list. If you have no previous
experience with git-send-email, or just experience trouble configuring it
for your e-mail provider, the sourcehut developers have put together a detailed
guide available at https://git-send-email.io/.
Patches submitted to the libcamera project must be certified as suitable for integration into an open source project. As such libcamera follows the same model as utilised by the Linux kernel, and requires the use of ‘Signed-off-by:’ tags in all patches.
By signing your contributions you are certifying your work in accordance with the following:
Developer’s Certificate of Origin¶
Version 1.1
Copyright (C) 2004, 2006 The Linux Foundation and its contributors. 1 Letterman Drive Suite D4700 San Francisco, CA, 94129
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
Developer’s Certificate of Origin 1.1
By making a contribution to this project, I certify that:
The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or
The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or
The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it.
I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved.