File tree Expand file tree Collapse file tree 4 files changed +10
-1
lines changed Expand file tree Collapse file tree 4 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,8 @@ type codeownersGenerator struct {
74
74
skipGithub bool
75
75
}
76
76
77
+ // Deprecated: generate is deprecated. Please use the new githubgen tool
78
+ // from https://github.com/open-telemetry/opentelemetry-go-build-tools/
77
79
func (cg codeownersGenerator ) generate (data * githubData ) error {
78
80
allowlistData , err := os .ReadFile (data .allowlistFilePath )
79
81
if err != nil {
Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ type distOutput struct {
21
21
Components map [string ][]string `yaml:"components"`
22
22
}
23
23
24
+ // Deprecated: generate is deprecated. Please use the new githubgen tool
25
+ // from https://github.com/open-telemetry/opentelemetry-go-build-tools/
24
26
func (cg distributionsGenerator ) generate (data * githubData ) error {
25
27
for _ , dist := range data .distributions {
26
28
components := map [string ][]string {}
Original file line number Diff line number Diff line change @@ -33,6 +33,8 @@ func folderToShortName(folder string) string {
33
33
34
34
type issueTemplatesGenerator struct {}
35
35
36
+ // Deprecated: generate is deprecated. Please use the new githubgen tool
37
+ // from https://github.com/open-telemetry/opentelemetry-go-build-tools/
36
38
func (itg issueTemplatesGenerator ) generate (data * githubData ) error {
37
39
keys := map [string ]struct {}{}
38
40
for _ , f := range data .folders {
Original file line number Diff line number Diff line change @@ -25,11 +25,14 @@ type generator interface {
25
25
generate (data * githubData ) error
26
26
}
27
27
28
- // Generates files specific to Github according to status metadata:
28
+ // main generates files specific to Github according to status metadata:
29
29
// .github/CODEOWNERS
30
30
// .github/ALLOWLIST
31
31
// .github/ISSUE_TEMPLATES/*.yaml (list of components)
32
32
// reports/distributions/*
33
+ //
34
+ // Deprecated: generate is deprecated. Please use the new githubgen tool
35
+ // from https://github.com/open-telemetry/opentelemetry-go-build-tools/
33
36
func main () {
34
37
fmt .Println ("[DEPRECATED] this tool is now deprecated. Please make sure to install go.opentelemetry.io/build-tools/githubgen instead" )
35
38
folder := flag .String ("folder" , "." , "folder investigated for codeowners" )
You can’t perform that action at this time.
0 commit comments