tools/vendor/abseil-cpp/CONTRIBUTING.md

How to Contribute to Abseil

We'd love to accept your patches and contributions to this project. There are just a few small guidelines you need to follow.

NOTE: If you are new to GitHub, please start by reading Pull Request howto

Contributor License Agreement

Contributions to this project must be accompanied by a Contributor License Agreement. You (or your employer) retain the copyright to your contribution, this simply gives us permission to use and redistribute your contributions as part of the project. Head over to https://cla.developers.google.com/ to see your current agreements on file or to sign a new one.

You generally only need to submit a CLA once, so if you've already submitted one (even if it was for a different project), you probably don't need to do it again.

Contribution Guidelines

Potential contributors sometimes ask us if the Abseil project is the appropriate home for their utility library code or for specific functions implementing missing portions of the standard. Often, the answer to this question is "no". We’d like to articulate our thinking on this issue so that our choices can be understood by everyone and so that contributors can have a better intuition about whether Abseil might be interested in adopting a new library.

Priorities

Although our mission is to augment the C++ standard library, our goal is not to provide a full forward-compatible implementation of the latest standard. For us to consider a library for inclusion in Abseil, it is not enough that a library is useful. We generally choose to release a library when it meets at least one of the following criteria:

API Freeze Consequences

Via the Abseil Compatibility Guidelines, we have promised a large degree of API stability. In particular, we will not make backward-incompatible changes to released APIs without also shipping a tool or process that can upgrade our users' code. We are not yet at the point of easily releasing such tools. Therefore, at this time, shipping a library establishes an API contract which is borderline unchangeable. (We can add new functionality, but we cannot easily change existing behavior.) This constraint forces us to very carefully review all APIs that we ship.

Coding Style

To keep the source consistent, readable, diffable and easy to merge, we use a fairly rigid coding style, as defined by the google-styleguide project. All patches will be expected to conform to the style outlined here.

Guidelines for Pull Requests

Running Tests

If you have Bazel installed, use bazel test --test_tag_filters="-benchmark" ... to run the unit tests.

If you are running the Linux operating system and have Docker installed, you can also run the linux_*.sh scripts under the ci/(https://github.com/abseil/abseil-cpp/tree/master/ci) directory to test Abseil under a variety of conditions.

Abseil Committers

The current members of the Abseil engineering team are the only committers at present.

Release Process

Abseil lives at head, where latest-and-greatest code can be found.



Try the s2 package in your browser

Any scripts or data that you put into this service are public.

s2 documentation built on June 1, 2026, 5:08 p.m.