Commit Graph

2336 Commits

Author SHA1 Message Date
f8faf77e43
Post-porting fixes for v3 2022-10-03 10:06:01 -04:00
5db9db6d38
Remove nonexistent phony targets
so that running `make` or `make all` only runs targets that exist.
2022-10-03 09:46:48 -04:00
Naveen Gogineni
8ef92d2a24
Remove un-needed func 2022-10-03 09:46:31 -04:00
Naveen Gogineni
c2ecb4469f
Remove un-needed func 2022-10-03 09:46:31 -04:00
Naveen Gogineni
57ff098ca7
Fix:(issue_557) Make help output consistent between different invocations 2022-10-03 09:46:18 -04:00
Naveen Gogineni
4c637d8ac7
Fix:(issue_557) Change app help name 2022-10-03 09:35:00 -04:00
Wendell Sun
126297af13
Add more test cases 2022-10-03 09:34:46 -04:00
Wendell Sun
1e30f50959
make v2approve 2022-10-03 09:34:46 -04:00
Wendell Sun
d213683bee
Rebase main, update flag-spec.yaml to add Action field 2022-10-03 09:34:46 -04:00
Wendell Sun
f9ceca5dfa
Add more tests about flag-level action 2022-10-03 08:29:30 -04:00
Wendell Sun
e2e14ec6ef
feat: flag action 2022-10-03 08:28:44 -04:00
torwang
a2c3729797
fix: Context.Set no such flag 2022-10-03 08:15:41 -04:00
Naveen Gogineni
e9e87f624d
Add unit tests 2022-10-03 08:15:23 -04:00
Naveen Gogineni
d2acd0ed55
Fix:(issue_1197) Set destination field from altsrc for slice flags 2022-10-03 08:15:23 -04:00
1c3ebfab32
Accept the MKDOCS_REMOTE_GITHUB_TOKEN var as intended 2022-10-03 08:15:01 -04:00
9ed5a09fbb
Use correct env var for global flags 2022-10-03 08:14:38 -04:00
d6c9f6a898
Replace a few more custom make targets 2022-10-03 08:14:38 -04:00
0593812915
Only run make v2diff on go 1.19.x + ubuntu-latest 2022-10-03 08:14:38 -04:00
2bec081c3a
Use windows compatible path append 2022-10-03 08:14:38 -04:00
d9d960a58a
Run make target after the Makefile is available 2022-10-03 08:14:37 -04:00
8cc0a9c5da
Move more functionality into internal/build/build.go
and use make targets in CI, pass flag spec YAML through yq

includes result of running `make v2approve`
2022-10-03 08:14:37 -04:00
Naveen Gogineni
8e3fa067e0
Fix: Help name consistency among app/commands and subcommands 2022-10-03 07:59:02 -04:00
Naveen Gogineni
e13c16bb10
Fix: dont generate pointer for dest for Generic flag 2022-10-03 07:58:43 -04:00
0658d61a0e
Set codecov status thresholds to 5%
and rename file to be less dotty
2022-10-03 07:49:45 -04:00
Naveen Gogineni
9c5b385796
Add additional test to fix codecov 2022-10-03 07:48:57 -04:00
Naveen Gogineni
5b96605ae5
Add additional test to fix codecov 2022-10-03 07:48:57 -04:00
Naveen Gogineni
2a5960c1cb
Add coverage threshold 2022-10-03 07:48:57 -04:00
Naveen Gogineni
9bcffd07a4
Merge from main 2022-10-03 07:48:56 -04:00
Naveen Gogineni
7405a90b38
Fix formatting 2022-10-03 07:48:56 -04:00
Naveen Gogineni
7097d0eedd
Fix tests per latest main 2022-10-03 07:48:56 -04:00
Naveen Gogineni
0764ca2295
Rebase 2022-10-03 07:47:10 -04:00
Naveen Gogineni
fdcbf28476
Merge changes from main 2022-10-03 07:41:53 -04:00
Naveen Gogineni
d58b3c70de
Remove keystroke errors 2022-10-02 21:16:15 -04:00
Naveen Gogineni
a509290e75
Add countable interface 2022-10-02 21:16:15 -04:00
Naveen Gogineni
6b0a3e80b5
Add parametrize tests 2022-10-02 21:14:32 -04:00
Naveen Gogineni
c0a8506cea
Add context.Count 2022-10-02 21:14:32 -04:00
dearchap
fa3bbf91ed
Update docs/v2/examples/flags.md
Co-authored-by: Dan Buch <dan@meatballhat.com>
2022-10-02 21:14:31 -04:00
Naveen Gogineni
3adf8fa48d
Add args 2022-10-02 21:14:31 -04:00
Naveen Gogineni
cbd62ef958
Update godocs 2022-10-02 21:14:31 -04:00
Naveen Gogineni
b694a25730
Update docs 2022-10-02 21:14:31 -04:00
Naveen Gogineni
2f66431a43
Add to docs 2022-10-02 21:13:45 -04:00
Naveen Gogineni
2f082d69c9
Rebase main 2022-10-02 21:13:44 -04:00
Naveen Gogineni
c0a2866a4b
Merge main and run tidy 2022-10-02 21:12:45 -04:00
Naveen Gogineni
2b0db3b3ae
Update for build 2022-10-02 21:11:35 -04:00
Naveen Gogineni
c4251de503
Remove go changes 2022-10-02 21:09:46 -04:00
Naveen Gogineni
2941bc8e70
Merge changes onto latest main 2022-10-02 21:08:12 -04:00
Naveen Gogineni
03487fc7f0
Add count option for bool flags 2022-10-02 21:04:38 -04:00
eea567aa20
Add a few notes to release docs
about the relationship to proxy.golang.org and automatically generated
release notes.
2022-10-02 21:02:11 -04:00
31edfd60a2
Explicitly pass CODECOV_TOKEN 2022-10-02 21:02:00 -04:00
8609031738
Update version of codecov action
given errors seen in other PRs using v2
2022-10-02 21:02:00 -04:00