Skip to content

Commit

Permalink
fix(golang/tools/gorename): gorename was deleted (#27491)
Browse files Browse the repository at this point in the history
* fix(golang/tools/gorename): gorename was deleted

* fix(golang/tools/gorename): fix version_filter
  • Loading branch information
suzuki-shunsuke authored Oct 5, 2024
1 parent 5ae53b8 commit 475eda2
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
2 changes: 2 additions & 0 deletions aqua-registry-updater.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ ignore_packages:
- wasmerio/wapm-cli
- momaek/authy
- GoogleContainerTools/container-diff
# deleted
- golang/tools/gorename # https://github.com/golang/go/issues/69360
# not maintained
- kurehajime/dajarep # https://github.com/aquaproj/aqua-registry/pull/21053
- kurehajime/pong-command # https://github.com/aquaproj/aqua-registry/pull/21054
Expand Down
12 changes: 8 additions & 4 deletions pkgs/golang/tools/gorename/registry.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
packages:
- type: go_install
name: golang/tools/gorename
path: golang.org/x/tools/cmd/gorename
repo_owner: golang
repo_name: tools
description: The gorename command performs precise type-safe renaming of identifiers in Go source code
link: https://pkg.go.dev/golang.org/x/tools/cmd/gorename
version_source: github_tag
version_filter: not (Version startsWith "gopls/")
files:
- name: gorename
version_filter: not (Version startsWith "gopls/") and semver("<= 0.25.0")
version_constraint: "false"
version_overrides:
- version_constraint: semver("<= 0.25.0")
path: golang.org/x/tools/cmd/gorename
- version_constraint: "true"
error_message: |
gorename was deleted at v0.26.0. https://github.com/golang/go/issues/69360
12 changes: 8 additions & 4 deletions registry.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 475eda2

Please sign in to comment.