9361cba851
Remove local altsrc and references
...
in favor of separate repo at https://github.com/urfave/cli-altsrc
2022-11-08 16:27:46 -05:00
cbad251637
Update branch explanations and semver-ish automation
...
given move to main as v3
2022-11-08 13:13:58 -05:00
1c3ebfab32
Accept the MKDOCS_REMOTE_GITHUB_TOKEN
var as intended
2022-10-03 08:15:01 -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
d34a232baf
Merge remote-tracking branch 'origin/v3-dev-main' into v3-porting
2022-10-02 20:16:11 -04:00
Hayden
2b1a8cad54
rename filename to dirPath
2022-10-02 10:37:49 -04:00
Hayden
87f003f087
pass in correct root
2022-10-02 10:37:35 -04:00
Hayden
d217a5ac6c
wip: add --walk flag to gfrun to accept directory
2022-10-02 10:37:24 -04:00
2ca91434a8
Move genflags tool to cmd/ and pin to previous release
...
to alleviate problems caused by the circular dependency of using the
same code as a library that is potentially being generated to adhere to
a different API.
2022-10-02 08:50:29 -04:00
93a3190684
Bump declared module and internal usage to /v3/
2022-09-12 07:51:51 -04:00
Naveen Gogineni
268cb973f8
Remove all flag interfaces
2022-09-04 22:51:05 -04:00
Naveen Gogineni
ab68d8a69d
Cleanup: Collapse flag interfaces
2022-09-04 22:18:41 -04:00
Jesse Szwedko
ee0756044c
Upgrade gopkg.in/yaml to v3
...
Fixes vulnerability: https://github.com/advisories/GHSA-hp87-p4gw-j4gq
YAML v3 deserializes maps as map[string]interface{} so we handle this in
MapImportSource now.
Signed-off-by: Jesse Szwedko <jesse@szwedko.me>
2022-06-18 11:49:24 -07:00
8f47e6dc97
Set absolute bash
path
...
and slightly revert assertion in docs test to ensure flag ordering
2022-05-23 07:44:58 -04:00
5edc1b95e8
Run docs tests against current work tree
...
by creating a temporary go workspace to be used by gfmrun via `TMPDIR`.
2022-05-22 22:18:00 -04:00
a78717f4f9
Merge remote-tracking branch 'origin/main' into michaeljs1990-add-flag-category-support
2022-05-19 07:40:56 -04:00
e592640fdb
Unshallow the clone + toc cleanups
2022-05-18 23:17:57 -04:00
bc9ad9fede
Generate RequiredFlag and VisibleFlag implementations
2022-05-08 13:52:32 -04:00
21d435d4d1
Adapt flag generation for flag categories
2022-05-07 08:50:09 -04:00
8270a2ed98
Merge remote-tracking branch 'origin/generating-flags-again' into semver-approval-gate
2022-05-04 23:11:50 -04:00
2ac3904d12
Include *
in documented flag value type when applicable
2022-05-04 23:11:05 -04:00
3288bec5be
Introduce a v2.x semver approval gate
2022-05-04 10:32:29 -04:00
71cd131794
Add more tests to flag generation code
2022-05-01 23:36:59 -04:00
2630f2642a
Add missing go.sum entry
...
plus minor touchups to genflags app
2022-05-01 23:16:59 -04:00
ed0033984b
Generate flag types (again?)
...
Closes #1381
2022-05-01 23:02:05 -04:00
Kir Kolyshkin
b8cb475418
ci: test newly added tag
...
We run test with the tag set (to make sure nothing is broken),
and also the check-binary-size target (for informational purposes only).
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2022-04-25 10:58:31 -07:00
3b6436c36d
Pass non-empty string slice to example app Run
( #1364 )
...
so that it does not panic when run.
2022-04-22 06:35:07 -04:00
79ed8b5263
Drop desired min binary size accordingly
2022-04-21 20:35:22 -04:00
Daniel Mil
175bb8742c
Bump yaml.v2 version to 2.2.8 ( #1326 )
...
* Bump yamlv2 version
* Update max binary size to fix security vulnerability
2022-01-24 23:51:18 -05:00
Ajitem Sahasrabuddhe
06e570991c
Reduce desiredMinBinarySize
...
Updating the Go version has also optimized the binary size, so the desiredMinBinarySize is being updated to be 1.9
2020-10-31 00:14:08 +05:30
Lynn
a8a1ef04ee
move bounds
2020-02-29 14:04:21 -08:00
Lynn
bb4ec3bda2
docs
2020-02-29 14:03:02 -08:00
Lynn
1d4b01a6fc
move bounds
2020-02-29 14:02:03 -08:00
Lynn
3558c7f30c
add diffing
2020-02-29 14:00:26 -08:00
Lynn
a0932dafcb
move bounds
2020-02-29 13:41:43 -08:00
Lynn
741984cad4
move bounds
2020-02-29 13:37:06 -08:00
Lynn
a25f82805f
fix linker flags
2020-02-29 13:35:43 -08:00
lynn [they]
6ffee22f36
add linker flags
2020-02-29 13:26:25 -08:00
lynn [they]
d206020179
Update internal/build/build.go
...
Co-Authored-By: Sascha Grunert <sgrunert@suse.com>
2020-02-29 13:21:31 -08:00
Lynn
6594da85f6
max guidance
2020-02-29 00:47:10 -08:00
Lynn
b1977c242d
clarify MB
2020-02-29 00:39:47 -08:00
Lynn
0ec96bc064
decrease min
2020-02-29 00:35:46 -08:00
Lynn
055c9c076d
big guidance
2020-02-29 00:33:51 -08:00
Lynn
365dd2b4cb
test ci
2020-02-29 00:25:44 -08:00
Lynn
3a7e251d48
add min maxing
2020-02-29 00:25:00 -08:00
Lynn
2571506b8d
docs
2020-02-28 23:59:11 -08:00
Lynn
7bdc44fa18
docs
2020-02-28 23:58:29 -08:00
Lynn
e7e165ef1b
cleanup rounding
2020-02-28 23:56:57 -08:00
Lynn
75089f4a6c
show size in mb
2020-02-28 23:51:42 -08:00
Lynn
d6dfe3eb9b
smaller example
2020-02-28 23:30:17 -08:00