Skip to content

Commit

Permalink
[cmd/configschema] Remove cmd/configschema (open-telemetry#33384)
Browse files Browse the repository at this point in the history
Removes the deprecated `cmd/configschema`.

The command is not used in our repository and is a source of dependency pain

Closes open-telemetry#30187

(cherry picked from commit d5ca873)
  • Loading branch information
TylerHelmuth authored and sky333999 committed Jul 9, 2024
1 parent d03a221 commit 335dca0
Show file tree
Hide file tree
Showing 41 changed files with 27 additions and 6,783 deletions.
27 changes: 27 additions & 0 deletions .chloggen/remove-configschema.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Use this changelog template to create an entry for release notes.

# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
change_type: breaking

# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver)
component: cmd/configschema

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: Removes the deprecated `configschema` command. This command will no longer be released or supported.

# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
issues: [33384]

# (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:

# If your change doesn't affect end users or the exported elements of any package,
# you should instead start your pull request title with [chore] or use the "Skip Changelog" label.
# 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: []
1 change: 0 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

* @open-telemetry/collector-contrib-approvers

cmd/configschema/ @open-telemetry/collector-contrib-approvers @mx-psi @dmitryax
cmd/githubgen/ @open-telemetry/collector-contrib-approvers @atoulme
cmd/opampsupervisor/ @open-telemetry/collector-contrib-approvers @evan-bradley @atoulme @tigrannajaryan
cmd/otelcontribcol/ @open-telemetry/collector-contrib-approvers
Expand Down
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ body:
# NOTE: The list below is autogenerated using `make generate-gh-issue-templates`
# Do not manually edit it.
# Start Collector components list
- cmd/configschema
- cmd/githubgen
- cmd/opampsupervisor
- cmd/otelcontribcol
Expand Down
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/feature_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ body:
# NOTE: The list below is autogenerated using `make generate-gh-issue-templates`
# Do not manually edit it.
# Start Collector components list
- cmd/configschema
- cmd/githubgen
- cmd/opampsupervisor
- cmd/otelcontribcol
Expand Down
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/other.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ body:
# NOTE: The list below is autogenerated using `make generate-gh-issue-templates`
# Do not manually edit it.
# Start Collector components list
- cmd/configschema
- cmd/githubgen
- cmd/opampsupervisor
- cmd/otelcontribcol
Expand Down
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/unmaintained.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ body:
# NOTE: The list below is autogenerated using `make generate-gh-issue-templates`
# Do not manually edit it.
# Start Collector components list
- cmd/configschema
- cmd/githubgen
- cmd/opampsupervisor
- cmd/otelcontribcol
Expand Down
3 changes: 0 additions & 3 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,3 @@ issues:
- text: "G402:"
linters:
- gosec
- text: "SA1019: \"github.com/open-telemetry/opentelemetry-collector-contrib/cmd/configschema"
linters:
- staticcheck
4 changes: 0 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -502,10 +502,6 @@ clean:
find . -type f -name 'integration-coverage.txt' -delete
find . -type f -name 'integration-coverage.html' -delete

.PHONY: genconfigdocs
genconfigdocs:
cd cmd/configschema && $(GOCMD) run ./docsgen all

.PHONY: generate-gh-issue-templates
generate-gh-issue-templates:
cd cmd/githubgen && $(GOCMD) install .
Expand Down
1 change: 0 additions & 1 deletion cmd/configschema/Makefile

This file was deleted.

8 changes: 0 additions & 8 deletions cmd/configschema/README.md

This file was deleted.

82 changes: 0 additions & 82 deletions cmd/configschema/cfgmetadatagen/cfgmetadatagen/README.md

This file was deleted.

49 changes: 0 additions & 49 deletions cmd/configschema/cfgmetadatagen/cfgmetadatagen/cli.go

This file was deleted.

48 changes: 0 additions & 48 deletions cmd/configschema/cfgmetadatagen/cfgmetadatagen/metadata_writer.go

This file was deleted.

This file was deleted.

14 changes: 0 additions & 14 deletions cmd/configschema/cfgmetadatagen/cfgmetadatagen/package_test.go

This file was deleted.

37 changes: 0 additions & 37 deletions cmd/configschema/cfgmetadatagen/main.go

This file was deleted.

Loading

0 comments on commit 335dca0

Please sign in to comment.