There are many ways to get involved with Boost, up to and including submitting your own library. In roughly ascending order of time and work commitment, here are the ways you can contribute to Boost:
The Boost mailing list is a platform for discussions and communications related to the Boost Libraries. The mailing list serves several key purposes:
Announcements : The mailing list is a channel for updates, announcements about new releases, bug fixes, events, or any other relevant news.
Collaboration : The mailing list also serves as a platform for collaboration, fostering connections between developers and encouraging team-based projects.
Discussion : Developers discuss ideas, techniques, issues, and potential improvements related to Boost libraries.
Support : Newcomers or users encountering difficulties can seek help from the community. Experienced members provide solutions, advice, and share their experiences.
If you do join, follow the guidelines and rules of the mailing list, as it helps in maintaining a respectful and productive environment.
To subscribe to the Developers Mailing List go Boost developers' mailing list .
To formally report an issue on an individual library, locate the repo for that library. Many of these repos exist in the
on GitHub. Search under the
folder. For example, to file an issue on the
. If you have difficulty locating the correct repo, then ask the question of the
Boost developers' mailing list
Before filing an issue, it is good practice to identify the admins (authors or maintainers) of a library. This information can be found in the
folder for the library. For example:
contains the authors for the
library. Also, library documentation and commit history may well specify who is actively involved. Make a connection first to ensure the library admins are open to updates.
To report an issue with the web site, including this documentation, click the New Issue button on this GitHub page: cppalliance/site-docs .
After clicking New Issue , you will see a list of issue templates, such as Submit a Correction or Bug report , or Suggest a Topic, Enhancement, or Information . Select the most appropriate template (which will give you some advice on how to fill out the form), or select Open a blank issue if none of the templates applies.
Whichever list you add your issue to, the issue will be addressed in due course. Providing full details, and examples and screenshots where appropriate, should give you the quicker response.
Rather than report an issue, or suggested improvement, and wait for another developer to address it, you can make the code changes yourself (after verifying with the library admins that they are open to updates). To be successful you will need to be familiar with GitHub, and obviously a competent C++ developer. After finding the issue, you will need to go to the GitHub repository for that library, and create a fork and clone the library.
With your fork of the library in your own GitHub account, you can make any changes and updates you wish. It is certainly recommended to thoroughly test the changes, and be aware of the test matrix for the library. It is also recommended you thoroughly comment your code changes, potentially every line of code you add should be commented as to its purpose.
When you are satisfied you have met the bar for testing, you can commit the changes, push them to GitHub, and create a Pull Request. Most libraries have Continuous Integration (CI) set up, and will check your changes on several operating systems and compilers. If CI is not set up, there will be more onus on you and your testers to verify the test matrix.
After this, you can take a step back, and the owners or maintainers of the library will review your code. They might ask for some modifications or improvements. Incorporate the feedback provided by the reviewers and push your modifications.
If all goes well, your changes will be merged by the library admins, and you will have made a welcome contribution.
All libraries are reviewed by the community before becoming part of Boost. There are several roles in the review process, from managing the steps of the review process, to testing and providing feedback. Read the Introduction to Boost Formal Reviews for details.
There may be an existing library that you have a deep interest in, that for some reason no longer has an active owner or maintainer. Or, perhaps, is being less well maintained than might be ideal. Find what you can out by asking questions of the existing maintainers (listed in the Library Metadata json file) and, if no reply, on the Boost developers' mailing list . If the replies suggest you could take a role, consider requesting, again via the mailing list, to become a library maintainer. For larger libraries there can certainly be more than one maintainer.
Maintaining an existing library is similar in steps to Contribute to an Existing Library , in that you will have to create a fork and clone the library. However, more is expected. You will have to spend time educating yourself on the full functionality of the library, and be prepared to make changes to the code anywhere changes are needed.
For a larger library this education can turn out to be a significant, and perhaps onerous task. It can be quite difficult to reverse engineer in your mind the processes and purpose of code written by another developer, with all the expected personal style and idiosyncrasies that make their way into source code. However, that being said, it can be a valuable contribution to take an existing, but not fully maintained, library you are interested in and give it a new lease of life.
|All libraries in Boost are tested when the super-project is tested, so even without a dedicated maintainer the libraries must pass a series of automated tests.|
This is the big dog of contributions. There are developers who have contributed several libraries to Boost. Start by reading the Library Requirements section, and make sure to engage the Boost community before getting too deep into a massive coding project.