-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[CI:DOCS] go-md2man: use vendored-in version, not system #19351
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: edsantiago The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Well, I guess now we know why we require system go-md2man. Giving up for today. |
Makefile
Outdated
@@ -145,7 +145,7 @@ override undefine GOBIN | |||
# This must never include the 'hack' directory | |||
export PATH := $(shell $(GO) env GOPATH)/bin:$(PATH) | |||
|
|||
GOMD2MAN ?= $(shell command -v go-md2man || echo './test/tools/build/go-md2man') | |||
GOMD2MAN ?= './test/tools/build/go-md2man' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am pretty sure you have to remove the single quotes as they are part of the variable
1dee5b9
to
8406df0
Compare
It does not seem to be the quotes. OSX Cross:
and Windows Cross:
|
The windows one sets Note sure on OSX, that error makes no sense to me. |
The |
8406df0
to
3ad8db2
Compare
go-md2man is fragile, especially around tables (containers#18678, containers#19278). Podman man pages are finely tuned to look OK using v2.02, which is what we vendor in test/tools, so we should really use it instead of whatever is installed on the system. This fixes 'make docs' on RHEL8, broken as of containers#19278. Signed-off-by: Ed Santiago <[email protected]>
3ad8db2
to
dfec510
Compare
LGTM |
since we're building from vendored sources, using vendored go-md2man is cool. Packit tasks are happy except the expected rawhide and el9 failures, which are unrelated issues. |
/lgtm |
go-md2man is fragile, especially around tables (#18678, #19278).
Podman man pages are finely tuned to look OK using v2.02, which
is what we vendor in test/tools, so we should really use it
instead of whatever is installed on the system.
This fixes 'make docs' on RHEL8, broken as of #19278.
Signed-off-by: Ed Santiago [email protected]