|
2 | 2 |
|
3 | 3 | We'd love your help!
|
4 | 4 |
|
| 5 | +- [Report a bug or requesting feature](#report-a-bug-or-requesting-feature) |
| 6 | +- [How to contribute](#how-to-contribute) |
| 7 | + - [Before you start](#before-you-start) |
| 8 | + - [Conventional commit](#conventional-commit) |
| 9 | + - [Fork](#fork) |
| 10 | + - [Running the tests](#running-the-tests) |
| 11 | + - [Generating API documentation](#generating-api-documentation) |
| 12 | + - [Generating CHANGELOG documentation](#generating-changelog-documentation) |
| 13 | + - [Benchmarks](#benchmarks) |
| 14 | +- [Component Ownership](#component-ownership) |
| 15 | +- [Component Lifecycle](#component-lifecycle) |
| 16 | + - [Unreleased](#unreleased) |
| 17 | + - [Experimental](#experimental) |
| 18 | + - [Beta](#beta) |
| 19 | + - [Stable](#stable) |
| 20 | + - [Unmaintained](#unmaintained) |
| 21 | + - [Deprecated](#deprecated) |
| 22 | +- [Contributing Vendor Components](#contributing-vendor-components) |
| 23 | + - [Adding a New Vendor Component](#adding-a-new-vendor-component) |
| 24 | + - [Removing Vendor Components](#removing-vendor-components) |
| 25 | + |
5 | 26 | ## Report a bug or requesting feature
|
6 | 27 |
|
7 | 28 | Reporting bugs is an important contribution. Please make sure to include:
|
@@ -80,6 +101,67 @@ When two or more approaches must be compared, please write a benchmark in the be
|
80 | 101 |
|
81 | 102 | - `npm run bench` to run your benchmark.
|
82 | 103 |
|
| 104 | +## Component Ownership |
| 105 | + |
| 106 | +This repository contains many components which are maintained by more than the typical set of JS maintainers and approvers. |
| 107 | +Each component in this repository SHOULD have a component owner who is responsible for maintaining it. |
| 108 | +The README.md for each component SHOULD contain its owner, but the source of truth for component ownership is in [.github/component_owners.yml](.github/component_owners.yml). |
| 109 | +Component owners are generally given authority to make decisions relating to implementation and feature requests for their components, provided they follow the best practices set out by the maintainers. |
| 110 | +Component owners MUST do their best to maintain a high level of quality, security, performance, and specification compliance within their components. |
| 111 | +Maintainers may override the decisions of component owners, but should only do so when they feel one or more of these traits is compromised. |
| 112 | + |
| 113 | +## Component Lifecycle |
| 114 | + |
| 115 | +This repository contains many components in various stages of the component lifecycle. |
| 116 | +A component may be **unreleased**, **experimental**, **beta**, **stable**, **unmaintained**, or **deprecated**; see the below definitions for each stability level. |
| 117 | +With the exception of the stable status, it is up to each individual [component owner](#component-ownership) to determine the status of a component. |
| 118 | +A component may only be marked stable with the approval of a member of @open-telemetry/javascript-maintainers; see the definition of stable below for more details. |
| 119 | + |
| 120 | +### Unreleased |
| 121 | + |
| 122 | +Unreleased components are in active development and have not yet been released to NPM. |
| 123 | +Unreleased packages should have the property `private` in their `package.json` set to `true`. |
| 124 | + |
| 125 | +### Experimental |
| 126 | + |
| 127 | +Experimental packages are in active development. |
| 128 | +They should be considered unstable and potentially unsuitable for production use. |
| 129 | +They are released to NPM for developers and early adopters. |
| 130 | +Experimental components MUST have their major version set to `0`. |
| 131 | +If a component does not have an explicit status in its README.md file, it should be considered to be experimental. |
| 132 | + |
| 133 | +### Beta |
| 134 | + |
| 135 | +Beta packages are not yet considered stable, but an effort should be made to preserve stability across versions if possible. |
| 136 | +They may be ready for production use, but users should understand that their APIs or the telemetry they output MAY change if required. |
| 137 | +Beta components MUST have their major version set to `0`. |
| 138 | + |
| 139 | +### Stable |
| 140 | + |
| 141 | +This is the highest level of quality and maintainership guarantee provided in this repository. |
| 142 | +Stable packages should be considered stable and ready for production use. |
| 143 | +In order for a package to be marked stable, it must meet the following requirements: |
| 144 | + |
| 145 | +- It MUST have a component owner that the JS maintainers feel confident will be responsive to issues and pull requests and will fulfill their responsibility competently. |
| 146 | + If a component owner is not responsive to issues and PRs, the maintainers may assign a new owner or change the status of the component to unmaintained. |
| 147 | +- All relevant specification relating to the component MUST be stable. For example, telemetry emitted by an instrumentation library should rely on a stable semantic convention. |
| 148 | +- It MUST be reviewed and approved by a member of @open-telemetry/javascript-maintainers. |
| 149 | + |
| 150 | +Stable components MUST have their major version set to `1` or greater. |
| 151 | + |
| 152 | +### Unmaintained |
| 153 | + |
| 154 | +A component which does not have an assigned component owner, or has a component owner who has been unresponsive to issues and pull requests may be marked as unmaintained. |
| 155 | +Unmaintained components may continue to work and receive updates and fixes from contributors, but may not receive immediate attention if there is a problem or feature request. |
| 156 | +A component which is unmaintained may be deprecated if there is a problem that is not fixed in a timely manner. |
| 157 | + |
| 158 | +### Deprecated |
| 159 | + |
| 160 | +Deprecated components are no longer maintained and there are not currently plans to maintain them. |
| 161 | +They may not work and there are no guarantees for fixes or new features. |
| 162 | +Their source files may be deleted from the repository. |
| 163 | +Any packages released from their source will be marked as deprecated in NPM. |
| 164 | + |
83 | 165 | ## Contributing Vendor Components
|
84 | 166 |
|
85 | 167 | This repo is generally meant for hosting components that work with popular open-source frameworks and tools. However, it is also possible to contribute components specific to a 3rd party vendor in this repo.
|
|
0 commit comments