registry icon indicating copy to clipboard operation
registry copied to clipboard

The Registry API allows teams to track and manage machine-readable descriptions of APIs.

Results 141 registry issues
Sort by recently updated
recently updated
newest added

From @seaneganx: It's possible the registry tool could have race conditions that can't be solved on the server side. For example, if a command has multiple tasks reading and writing...

question

Should we do this? (If the consensus is "yes", let's relabel this as an enhancement) My VSCode configuration shows warnings from staticcheck but we don't get them from our existing...

question
code quality

cmd/registry/cmd/rpc/generated/create-api-deployment.go:77:3: this value of in is never used (SA4006) cmd/registry/cmd/rpc/generated/create-api-spec.go:73:3: this value of in is never used (SA4006) cmd/registry/cmd/rpc/generated/create-api-version.go:69:3: this value of in is never used (SA4006) cmd/registry/cmd/rpc/generated/create-api.go:73:3: this value...

dependency
code quality

https://staticcheck.io/docs/checks#ST1005 Error strings should not be capitalized (unless beginning with proper nouns or acronyms) or end with punctuation, since they are usually printed following other context. That is, use `fmt.Errorf("something...

dependency
code quality

cmd/registry/cmd/rpc/generated/create-project.go:44:3: empty branch (SA9003) cmd/registry/cmd/rpc/generated/list-projects.go:44:3: empty branch (SA9003) cmd/registry/cmd/rpc/generated/migrate-database.go:50:3: empty branch (SA9003) cmd/registry/cmd/rpc/generated/replace-artifact.go:42:3: empty branch (SA9003) cmd/registry/cmd/rpc/generated/update-api-deployment.go:70:3: empty branch (SA9003) cmd/registry/cmd/rpc/generated/update-api-spec.go:66:3: empty branch (SA9003) cmd/registry/cmd/rpc/generated/update-api-version.go:62:3: empty branch (SA9003) cmd/registry/cmd/rpc/generated/update-api.go:66:3: empty...

dependency
code quality

cmd/registry/cmd/rpc/generated/apg.go:11:2: "github.com/golang/protobuf/jsonpb" is deprecated: Use the "google.golang.org/protobuf/encoding/protojson" package instead. (SA1019) cmd/registry/cmd/rpc/generated/apg.go:12:2: "github.com/golang/protobuf/proto" is deprecated: Use the "google.golang.org/protobuf/proto" package instead. (SA1019) cmd/registry/cmd/rpc/generated/create-api-deployment.go:10:2: "github.com/golang/protobuf/jsonpb" is deprecated: Use the "google.golang.org/protobuf/encoding/protojson" package instead. (SA1019)...

dependency
code quality

cmd/registry/cmd/rpc/generated/create-instance.go:156:4: should use fmt.Printf instead of fmt.Println(fmt.Sprintf(...)) (but don't forget the newline) (S1038) cmd/registry/cmd/rpc/generated/create-instance.go:158:4: should use fmt.Printf instead of fmt.Println(fmt.Sprintf(...)) (but don't forget the newline) (S1038) cmd/registry/cmd/rpc/generated/delete-instance.go:118:4: should use fmt.Printf...

dependency
code quality

cmd/registry/cmd/compute/score.go:78:4: redundant return statement (S1023) cmd/registry/cmd/compute/scorecard.go:77:4: redundant return statement (S1023)

code quality

cmd/registry/cmd/rpc/generated/apg.go:37:6: func main is unused (U1000)

code quality

(details to follow... review `kubectl get` and `kubectl describe` and consider providing similar functions in the `registry` tool)

enhancement