-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[chore] add chloggen for changelog #6062
Conversation
Codecov ReportBase: 92.03% // Head: 92.22% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #6062 +/- ##
==========================================
+ Coverage 92.03% 92.22% +0.18%
==========================================
Files 218 219 +1
Lines 13203 13484 +281
==========================================
+ Hits 12151 12435 +284
+ Misses 832 819 -13
- Partials 220 230 +10
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
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.
Looks good, but perhaps there's something small missing?
$ make chlog-update VERSION=v0.60.0
cd ./internal/tools && go install go.opentelemetry.io/build-tools/chloggen
chloggen update -version v0.60.0
FAIL: update: expected one instance of <!-- next version -->
make: *** [Makefile:458: chlog-update] Error 1
341a2fa
to
94450b0
Compare
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.
@jpkrohling I was waiting for the release to be done before updating the changelog & updating the files in the unreleased
directory
I found very bad naming 'unreleased' in contrib. It sounds to me like an unreleased code. Can we have different name or under another directory in docs? |
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.
LGTM, but consider adding this section to CONTRIBUTING.md
.
I can see why it sounds like actual code would be contained there. The word came directly out of the previous version of the changelog (ie. Unreleased changes). I considered The placement at the root of the repo was with developer experience in mind. I thought this would make it easy to find and therefore easy to adapt to the new process. Less important on core where we have fewer contributors though. |
I'd vote for |
I think this is ready, pending a decision on the directory for unreleased change log entries. What do others think of |
👍🏻 im ok with a hidden .chloggen directory. It should be easy enough to update chloggen to make this directory configurable |
Currently `chloggen` defaults to looking for unreleased change log entries in `unreleased`. This causes some confusion as per open-telemetry/opentelemetry-collector#6062. With this change, the default directory for `chloggen` becomes `.chloggen`. The `chloggen-directory` flag has been added to give users additional flexibility.
@djaglowski @bogdandrutu PTAL at open-telemetry/opentelemetry-go-build-tools#145 to update the default directory to I plan on updating the contrib repo to match |
Currently `chloggen` defaults to looking for unreleased change log entries in `unreleased`. This causes some confusion as per open-telemetry/opentelemetry-collector#6062. With this change, the default directory for `chloggen` becomes `.chloggen`. The `chloggen-directory` flag has been added to give users additional flexibility. Co-authored-by: Daniel Jaglowski <[email protected]>
94450b0
to
a072a60
Compare
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.
LGTM
cc99f80
to
d348493
Compare
@bogdandrutu @jpkrohling PTAL |
d348493
to
462f55e
Compare
Keeping this PR updated is somewhat painful (as it conflicts every time the changelog is updated). I'd like to get approvals from others @open-telemetry/collector-approvers before updating it again. Otherwise we can always close it |
internal/tools/go.mod
Outdated
@@ -11,10 +11,11 @@ require ( | |||
github.com/pavius/impi v0.0.3 | |||
github.com/tcnksm/ghr v0.16.0 | |||
github.com/wadey/gocovmerge v0.0.0-20160331181800-b5bfa59ec0ad | |||
go.opentelemetry.io/build-tools/checkdoc v0.0.0-20220919170044-dd98e8af322a | |||
go.opentelemetry.io/build-tools/checkdoc v0.0.0-20220928154055-b00fb8eb9066 |
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.
These can be updated to v0.1.0
.
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.
I'm in favor of this change. It's not critical for core as it is for contrib, but it's nonetheless an improvement.
This change updates the changelog process in this repo to match the process in the contrib repo.
462f55e
to
9a7f60d
Compare
* upgrade otel go to latest version v1.11.0/v0.32.3/v0.36.3 (#6293) * [chore] move service pipeline id validation to main config Validate (#6281) Signed-off-by: Bogdan <[email protected]> Signed-off-by: Bogdan <[email protected]> * Instrument obsreport.receiver metrics with otel go (#6222) * Instrument obs_receiver with otel go * add changelog entry * remove views configuration * move otel-go metrics to obsreport * add UseOtelForMetrics to TelemetrySettings; extract otel sdk initialization changes to another pr; remove public InstrumentWithOtel from obsreport; * default UseOtelForMetrics to false * remove duplicate oc registry initialization * move `UseOtelForMetrics` to the internal package `obsreportconfig` * address comments * only register view if featuregate is disabled * prefix meter name with `receiver/` * change meter scope name * upgrade otel metric sdk * run make gotidy * update changelog * revert: otel go version upgrade * revert: x/sys upgrades * [chore] add chloggen for changelog (#6062) This change updates the changelog process in this repo to match the process in the contrib repo. * Fix support for new line in config URI location Signed-off-by: Bogdan <[email protected]> Signed-off-by: Bogdan <[email protected]> Co-authored-by: Gustavo Paiva <[email protected]> Co-authored-by: Alex Boten <[email protected]>
This change updates the changelog process in this repo to match the process in the contrib repo.
Fixes #5647