-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[v1] Add urfave_cli_no_docs build tag #1383
Conversation
Ah, it seems I have broken CI with an earlier PR. |
Draft until I fix v1 CI (in progress). |
Draft until #1384 is merged. |
This is in preparation to make docs optional. Backported from commit aabfea8 Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This removes the resulting binary dependency on cpuguy83/md2man and russross/blackfriday, which saves more than 400 KB (more than 300 KB once stripped) from the resulting binary. Document this in README. (cherry picked from commit 49e43be) Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
We run test with the tag set (to make sure nothing is broken). Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
@meatballhat this one is ready to go! |
@kolyshkin did you want to take care of taking the PR out of Draft mode and editing out the |
Sorry, forgot to remove Can you please make a release once this is merged? |
Ref: ettps://github.com/urfave/cli/pull/1383 Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
From urfave/cli#1383 : > This removes the resulting binary dependency on cpuguy83/md2man and > russross/blackfriday (and a few more packages imported by those), > which saves more than 400 KB (more than 300 KB > once stripped) from the resulting binary. Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
From urfave/cli#1383 : > This removes the resulting binary dependency on cpuguy83/md2man and > russross/blackfriday (and a few more packages imported by those), > which saves more than 400 KB (more than 300 KB > once stripped) from the resulting binary. Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
From urfave/cli#1383 : > This removes the resulting binary dependency on cpuguy83/md2man and > russross/blackfriday (and a few more packages imported by those), > which saves more than 400 KB (more than 300 KB > once stripped) from the resulting binary. Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
From urfave/cli#1383 : > This removes the resulting binary dependency on cpuguy83/md2man and > russross/blackfriday (and a few more packages imported by those), > which saves more than 400 KB (more than 300 KB > once stripped) from the resulting binary. Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
From urfave/cli#1383 : > This removes the resulting binary dependency on cpuguy83/md2man and > russross/blackfriday (and a few more packages imported by those), > which saves more than 400 KB (more than 300 KB > once stripped) from the resulting binary. Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
From urfave/cli#1383 : > This removes the resulting binary dependency on cpuguy83/md2man and > russross/blackfriday (and a few more packages imported by those), > which saves more than 400 KB (more than 300 KB > once stripped) from the resulting binary. Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
From urfave/cli#1383 : > This removes the resulting binary dependency on cpuguy83/md2man and > russross/blackfriday (and a few more packages imported by those), > which saves more than 400 KB (more than 300 KB > once stripped) from the resulting binary. Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
From urfave/cli#1383 : > This removes the resulting binary dependency on cpuguy83/md2man and > russross/blackfriday (and a few more packages imported by those), > which saves more than 400 KB (more than 300 KB > once stripped) from the resulting binary. Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
What type of PR is this?
What this PR does / why we need it:
Add urfave_cli_no_docs build tag
This removes the resulting binary dependency on cpuguy83/md2man and
russross/blackfriday (and a few more packages imported by those),
which saves more than 400 KB (more than 300 KB
once stripped) from the resulting binary.
Which issue(s) this PR fixes:
none (although see some discussions in e.g. #1055)
Special notes for your reviewer:
This is a backport of #1375 to v1 branch.
Testing
Unit tests with this tag set are added to GHA CI (see last commit).
Release Notes