-
-
Notifications
You must be signed in to change notification settings - Fork 33
Experimental features policy #79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 2 commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| Experimental Feature Policy | ||
| =========================== | ||
|
|
||
| A feature in OpenSSL may be designated as an experimental feature. | ||
|
|
||
| No stability or compatibility guarantees are offered for experimental features. | ||
| An experimental feature, or any API, protocol or file format which is part of an | ||
| experimental feature, may be changed arbitrarily and in compatibility-breaking | ||
| ways, or removed entirely at any time, including between releases. | ||
|
|
||
| An experimental feature is not enabled by default and must be explicitly enabled | ||
| at build time in order to be used. The enable flag to enable an experimental | ||
| feature must have the form `enable-experimental-XXX`. The corresponding `ifdef` | ||
| shall have the form `OPENSSL_NO_EXPERIMENTAL_XXX`. | ||
|
|
||
| A prominent warning should be issued by the configure script if any experimental | ||
| feature is enabled, with a link to a webpage where people can learn more about | ||
| experimental features. | ||
|
|
||
| Experimental features may have associated documentation. This documentation is | ||
| not built by default unless the corresponding experimental feature is enabled. | ||
| Man pages for experimental features shall feature a prominent warning that the | ||
| man page relates to an experimental feature. | ||
|
|
||
| New internal header files for experimental features can be placed in `internal/` | ||
| as usual. New public header files for experimental features should be named | ||
| `<experimental/XXX.h>`. Such headers shall only be copied at install time if the | ||
| experimental feature in question is enabled, and should have their contents | ||
| guarded by `ifdef` wherever feasible. | ||
|
|
||
| Experimental features exist to support the release engineering process where the | ||
| use of a feature branch is not feasible or desirable. Feature branches should be | ||
| used instead of experimental features where it is reasonable to do so. | ||
|
|
||
| Experimental features are not required to be in a buildable or usable state at | ||
| the time of a release or at the time of the creation of a release branch. | ||
|
|
||
| Nothing relating to an experimental feature shall be considered a CVE or handled | ||
| under the security process. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The security policy should be updated in this case to make it clear that issues in experimental features are outside of the threat model |
||
|
|
||
| An experimental feature may have an associated feature scope definition | ||
| document, which is a Markdown file under `doc/experimental-features` which | ||
| provides any relevant context about the feature. In particular, it may clarify | ||
| what is and is not part of the experimental feature (and therefore subject to | ||
| change) where this is not automatically implied via the use of build-time flags, | ||
| `ifdefs`, etc. This document is authoritative for the purposes of what | ||
| constitutes an experimental feature, subject to this policy. | ||
|
|
||
| Merging a PR which creates a new experimental feature requires OTC discussion | ||
| and approval. Non-trivial changes to an existing feature scope definition | ||
| document may be subject to OTC review if needed via the standard OTC hold | ||
| process. | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.