Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make help does not provide any help text #1458

Open
sudo-bmitch opened this issue May 1, 2023 · 0 comments
Open

make help does not provide any help text #1458

sudo-bmitch opened this issue May 1, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@sudo-bmitch
Copy link

Description

Running make help installs swagger, performs several swagger generate commands, and then fails.

Version

Current main branch.

Current Output

$ make help
cd hack/tools; go build -trimpath -tags=tools -o /home/bmitch/data/git/github.com/sigstore/rekor/hack/tools/bin/swagger github.com/go-swagger/go-swagger/cmd/swagger
go: downloading github.com/go-swagger/go-swagger v0.30.4
go: downloading github.com/jessevdk/go-flags v1.5.0
go: downloading github.com/go-openapi/runtime v0.25.0
go: downloading github.com/go-openapi/spec v0.20.8
go: downloading github.com/spf13/viper v1.14.0
go: downloading github.com/Masterminds/sprig/v3 v3.2.3
go: downloading github.com/go-openapi/inflect v0.19.0
go: downloading github.com/kr/pretty v0.3.1
go: downloading github.com/felixge/httpsnoop v1.0.3
go: downloading go.mongodb.org/mongo-driver v1.11.1
go: downloading github.com/rogpeppe/go-internal v1.9.0
go: downloading github.com/huandu/xstrings v1.3.3
go: downloading github.com/shopspring/decimal v1.3.1
/home/bmitch/data/git/github.com/sigstore/rekor/hack/tools/bin/swagger validate openapi.yaml
2023/05/01 16:45:09 
The swagger spec at "openapi.yaml" is valid against swagger specification 2.0
2023/05/01 16:45:09 
The swagger spec at "openapi.yaml" showed up some valid but possibly unwanted constructs.
2023/05/01 16:45:09 See warnings below:
2023/05/01 16:45:09 - WARNING: definition "#/definitions/alpine" is not used anywhere
2023/05/01 16:45:09 - WARNING: definition "#/definitions/jar" is not used anywhere
2023/05/01 16:45:09 - WARNING: definition "#/definitions/helm" is not used anywhere
2023/05/01 16:45:09 - WARNING: definition "#/definitions/cose" is not used anywhere
2023/05/01 16:45:09 - WARNING: definition "#/definitions/rfc3161" is not used anywhere
2023/05/01 16:45:09 - WARNING: definition "#/definitions/tuf" is not used anywhere
2023/05/01 16:45:09 - WARNING: definition "#/definitions/rekord" is not used anywhere
2023/05/01 16:45:09 - WARNING: definition "#/definitions/rpm" is not used anywhere
2023/05/01 16:45:09 - WARNING: definition "#/definitions/hashedrekord" is not used anywhere
2023/05/01 16:45:09 - WARNING: definition "#/definitions/intoto" is not used anywhere
/home/bmitch/data/git/github.com/sigstore/rekor/hack/tools/bin/swagger generate client -f openapi.yaml -q -r COPYRIGHT.txt -t pkg/generated --additional-initialism=TUF
/home/bmitch/data/git/github.com/sigstore/rekor/hack/tools/bin/swagger generate server -f openapi.yaml -q -r COPYRIGHT.txt -t pkg/generated --exclude-main -A rekor_server --flag-strategy=pflag --default-produces application/json --additional-initialism=TUF
awk: line 2: syntax error at or near printf

Expected Output

$ make help
clean              Cleans up from a previous install
lint                  Runs golang-ci-lint
test                 Runs go tests
...
@sudo-bmitch sudo-bmitch added the bug Something isn't working label May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant