Getting new libraries into cpp-netlib.
This document outlines how we get new libraris accepted as
part of cpp-netlib
The maintainers and members of the community generally like seeing well-prepared proposals for libraries to be included. The reason for this is so that we waste as little time from everyone who's going to be involved in the process as possible. Therefore we ask that before you bring an idea to the table, please prepare the following information (even only when sending an email to the mailing list).
Once you have these things, fire off an email to the mailing list citing the above four preparation sections.
All discussions should occur in the mailing list for issues not related to the design documentation. If the design doc is a shared Google Document comments will be made on the document itself. For everything else, the discussions should be done on the mailing list.
The discussion will be considered concluded when all the maintainers of the library agree that the proposal makes sense and that it's something the community wants to have in the library. The process will be tracked by a formal survey on the mailing list run by one of the maintainers.
Once everybody's convinced that things should move forward, then maintainers and interested contributors hunker down to start collaborating on the development of the library.
The collaboration process is intended to be much simpler: all discussions on progress and questions to clarify happen on the mailing list. Matters affecting progress — developers missing in action, thorny implementation details, blockers, and style questions should be discussed all in the open. We encourage this so that everyone in the community is involved in the process where we exclude nobody's opinion and contributions.
As far as development is concerned, there are two main ways of getting the development done. Each one has its merits so we present both.
The fork process is straight-forward — whoever proposed the library and those who have pledged to contribute to the implementation shall fork the main repository and develop in parallel as the main repository. They can send progress reports to the main developer list and have the partially complete work merged into the master branch as it gets completed. All changes can be isolated to an external fork where changes are meant to be integrated before being submitted in bulk to the main repo as a single PR.
This process effectively promotes whomever is driving and owning the process as a maintainer of cpp-netlib. The downside to this is that it's a lot of responsibility and may be time consuming.
The submodule approach is much more decoupled and allows for having the implemented library be as stand-alone as possible. Some libraries in cpp-netlib are already submodules and are maintained separately by the corresponding maintainer.
The problem with this approach is that coordinating breaking changes on multiple interacting submodules will be much harder. It also makes the release/development process much more cumbersome than the fork model. It also makes it harder to enforce the style guide and development processes on the submodule.
The preferred mode of development is the fork model, where coordination is much closer and much more explicit. It also allows the maintainers to easily cut releases and maintain a single repository unto which all changes and history can be kept.
Only in rare circumstances will a submodule actually be
preferred — for instance, if the project has already been
in existence before being accepted into cpp-netlib
or if it's made sufficiently stand-alone for purposes of
inclusion into the standard library.
Inclusion entails three specific things which will
differentiate any other library from an accepted
cpp-netlib
library.
cpp-netlib
get maintainership over the library
that's accepted, and the proposer and main developers of the
library become maintainers of cpp-netlib
as well. We
usually defer library-specific issues to the main library
maintainer/developer but in case of whole-library and community
decisions all maintainers get the same responibilities.cpp-netlib
shall be distributed as part of the main
distribution.
On the note about maintainership — once someone is promoted to maintainer of cpp-netlib, that person gets administrative rights to the project repository. In the event that someone becomes inactive or relinquishes the role, only then will that person be considered an ex-maintainer.
This means, once someone is deemed a maintainer, he'll always be considered a maintainer unless he becomes inactive or relinquishes that role.