-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Standardize changelog component list #13924
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
Changes from all commits
ea7ee25
0c01bc3
45e0dbe
c2c6414
5160ac0
5fb4139
9c09054
c219dcc
057a499
f5930bf
167bf30
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| ### Changelog folder | ||
|
|
||
| This repo uses `chloggen` to manage its changelog files. You can find the source code for the tool [here](https://github.com/open-telemetry/opentelemetry-go-build-tools/tree/main/chloggen). | ||
|
|
||
| Here is a quick explanation of the `config.yaml` file for chloggen: | ||
|
|
||
| ```yaml | ||
| # The directory that stores individual changelog entries. | ||
| # Each entry is stored in a dedicated yaml file. | ||
| # - 'chloggen new' will copy the 'template_yaml' to this directory as a new entry file. | ||
| # - 'chloggen validate' will validate that all entry files are valid. | ||
| # - 'chloggen update' will read and delete all entry files in this directory, and update 'changelog_md'. | ||
| # Specify as relative path from root of repo. | ||
| # (Optional) Default: .chloggen | ||
| entries_dir: .chloggen | ||
|
|
||
| # This file is used as the input for individual changelog entries. | ||
| # Specify as relative path from root of repo. | ||
| # (Optional) Default: .chloggen/TEMPLATE.yaml | ||
| template_yaml: .chloggen/TEMPLATE.yaml | ||
|
|
||
| summary_template: .chloggen/summary.tmpl | ||
|
|
||
| # The CHANGELOG file or files to which 'chloggen update' will write new entries | ||
| # (Optional) Default filename: CHANGELOG.md | ||
| change_logs: | ||
| user: CHANGELOG.md | ||
| api: CHANGELOG-API.md | ||
|
|
||
| # The default change_log or change_logs to which an entry should be added. | ||
| # If 'change_logs' is specified in this file, and no value is specified for 'default_change_logs', | ||
| # then 'change_logs' MUST be specified in every entry file. | ||
| default_change_logs: [user] | ||
| ``` |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,26 +1,53 @@ | ||
| # The directory that stores individual changelog entries. | ||
| # Each entry is stored in a dedicated yaml file. | ||
| # - 'chloggen new' will copy the 'template_yaml' to this directory as a new entry file. | ||
| # - 'chloggen validate' will validate that all entry files are valid. | ||
| # - 'chloggen update' will read and delete all entry files in this directory, and update 'changelog_md'. | ||
| # Specify as relative path from root of repo. | ||
| # (Optional) Default: .chloggen | ||
| change_logs: | ||
| api: CHANGELOG-API.md | ||
| user: CHANGELOG.md | ||
| default_change_logs: | ||
| - user | ||
| entries_dir: .chloggen | ||
|
|
||
| # This file is used as the input for individual changelog entries. | ||
| # Specify as relative path from root of repo. | ||
| # (Optional) Default: .chloggen/TEMPLATE.yaml | ||
| template_yaml: .chloggen/TEMPLATE.yaml | ||
|
|
||
| summary_template: .chloggen/summary.tmpl | ||
|
|
||
| # The CHANGELOG file or files to which 'chloggen update' will write new entries | ||
| # (Optional) Default filename: CHANGELOG.md | ||
| change_logs: | ||
| user: CHANGELOG.md | ||
| api: CHANGELOG-API.md | ||
|
|
||
| # The default change_log or change_logs to which an entry should be added. | ||
| # If 'change_logs' is specified in this file, and no value is specified for 'default_change_logs', | ||
| # then 'change_logs' MUST be specified in every entry file. | ||
| default_change_logs: [user] | ||
| components: | ||
| - all | ||
| - cmd/builder | ||
| - cmd/mdatagen | ||
| - connector/forward | ||
| - connector/sample | ||
| - consumer/xconsumer | ||
| - docs/rfcs | ||
| - exporter/debug | ||
| - exporter/nop | ||
| - exporter/otlp | ||
| - exporter/otlphttp | ||
| - extension/memory_limiter | ||
| - extension/xextension | ||
| - extension/xextension | ||
| - extension/zpages | ||
| - pdata/pprofile | ||
| - pkg/confmap | ||
| - pkg/exporterhelper | ||
| - pkg/pdata | ||
| - pkg/processorhelper | ||
| - pkg/queuebatch | ||
| - pkg/receiverhelper | ||
| - pkg/scraper | ||
| - pkg/scraperhelper | ||
| - pkg/service | ||
| - pkg/xconnector | ||
| - pkg/xexporter | ||
| - pkg/xexporterhelper | ||
| - pkg/xprocessor | ||
| - pkg/xreceiver | ||
| - processor/batch | ||
| - processor/memory_limiter | ||
| - processor/sample | ||
| - provider/env | ||
| - provider/file | ||
| - provider/http | ||
| - provider/https | ||
| - provider/yaml | ||
| - receiver/nop | ||
| - receiver/otlp | ||
| - receiver/sample | ||
| - receiver/sample | ||
| - scraper/sample | ||
| - service/graph |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| # Use this changelog template to create an entry for release notes. | ||
|
|
||
| # One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' | ||
| change_type: enhancement | ||
|
|
||
| # The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver) | ||
| component: all | ||
|
|
||
| # A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). | ||
| note: Changelog entries will now have their component field checked against a list of valid components. | ||
|
|
||
| # One or more tracking issues or pull requests related to the change | ||
| issues: [13924] | ||
|
|
||
| # (Optional) One or more lines of additional information to render under the primary note. | ||
| # These lines will be padded with 2 spaces and then inserted directly into the document. | ||
| # Use pipe (|) for multiline entries. | ||
| subtext: This will ensure a more standardized changelog format which makes it easier to parse. | ||
|
|
||
| # Optional: The change log or logs in which this entry should be included. | ||
| # e.g. '[user]' or '[user, api]' | ||
| # Include 'user' if the change is relevant to end users. | ||
| # Include 'api' if there is a change to a library API. | ||
| # Default: '[user]' | ||
| change_logs: [user] |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,7 +4,7 @@ | |
| change_type: enhancement | ||
|
|
||
| # The name of the component, or a single word describing the area of concern, (e.g. otlpreceiver) | ||
| component: configoptional | ||
| component: all | ||
|
Contributor
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. Should all changes to
Member
Author
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. Yes, i'd say so. |
||
|
|
||
| # A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). | ||
| note: Mark configoptional as stable | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comments were removed by generating the file with githubgen. I added a readme file to add back the config file documentation