Skip to content

Commit f83d88d

Browse files
authored
[chore] deprecate githubgen further (#37395)
Going a bit further than #37295: * Fix the link in README * Add a message when starting githubgen asking users to move over to the new tool.
1 parent a0a4712 commit f83d88d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

cmd/githubgen/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
:warn: This executable has moved to [opentelemetry-go-build-tools](Deprecated: use https://github.com/open-telemetry/opentelemetry-go-build-tools/tree/main/githubgen).
1+
⚠️ This executable has moved to [opentelemetry-go-build-tools](https://github.com/open-telemetry/opentelemetry-go-build-tools/tree/main/githubgen).
22

33
This code is deprecated and will be removed soon. See https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/37294.
44

cmd/githubgen/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ type generator interface {
3131
// .github/ISSUE_TEMPLATES/*.yaml (list of components)
3232
// reports/distributions/*
3333
func main() {
34+
fmt.Println("[DEPRECATED] this tool is now deprecated. Please make sure to install go.opentelemetry.io/build-tools/githubgen instead")
3435
folder := flag.String("folder", ".", "folder investigated for codeowners")
3536
allowlistFilePath := flag.String("allowlist", "cmd/githubgen/allowlist.txt", "path to a file containing an allowlist of members outside the OpenTelemetry organization")
3637
skipGithubCheck := flag.Bool("skipgithub", false, "skip checking GitHub membership check for CODEOWNERS generator")

0 commit comments

Comments
 (0)