Commit Graph

810 Commits

Author SHA1 Message Date
Dan Buch
334e66cb8f
Remove unused (so far) func 2016-05-22 10:59:42 -04:00
Dan Buch
81fcf706ea
Replace all "stringly typed" fields with slice equivalents
and alter the Flag interface accordingly

Closes #415
2016-05-21 21:29:45 -04:00
Dan Buch
fac67ac91a
Show BoolFlag default value in help usage
now that BoolTFlag is gone
2016-05-21 20:02:08 -04:00
Jesse Szwedko
65357985c2 Merge remote-tracking branch 'origin/master' into v2 2016-05-21 12:43:58 -07:00
Jesse Szwedko
f8fcce1c96 Merge pull request #414 from codegangsta/remove-boolt
Replace BoolTFlag type with BoolFlag.Value
2016-05-21 12:40:18 -07:00
Jesse Szwedko
bebbcf6d41 Merge pull request #417 from codegangsta/trim-go1.1-support
Trim go1.1 support
2016-05-21 11:46:57 -07:00
Dan Buch
71b858d796
Skipping gfmxr on go1.1, too 2016-05-21 08:53:15 -04:00
Dan Buch
9132ebec9e
Customize install step for go1.1.2 2016-05-21 08:53:09 -04:00
Dan Buch
00bd2a95b2
Do not test ./altsrc on go1.1
as the YAML library requires go1.2+
2016-05-21 08:53:01 -04:00
Dan Buch
9c132d990a
Add more tests for BoolFlag{Value: true} 2016-05-18 08:30:28 -04:00
Dan Buch
f2d5ed9933
Replace BoolTFlag type with BoolFlag.Value
Closes #412
2016-05-18 08:20:15 -04:00
Jesse Szwedko
9eaa109385 Merge pull request #410 from codegangsta/remove-global-lookups
Remove all Context.Global* methods
2016-05-17 21:17:25 -07:00
Dan Buch
a02aab6b4b
Add note about removal of Context.Parent 2016-05-17 20:27:42 -04:00
Dan Buch
1925bb4e3b
Merge remote-tracking branch 'origin/v2' into remove-global-lookups 2016-05-17 20:26:30 -04:00
Jesse Szwedko
12814f7c57 Merge pull request #413 from codegangsta/remove-deprecated
Remove deprecated things and supporting code
2016-05-17 17:01:40 -07:00
Dan Buch
c19dbaf230
Remove deprecated things and supporting code 2016-05-17 15:11:44 -04:00
Dan Buch
7318e27528
Tidy up the flag name visitor func in Context 2016-05-17 03:46:16 -04:00
Dan Buch
7828300b97
Merge remote-tracking branch 'origin/v2' into remove-global-lookups 2016-05-17 03:35:08 -04:00
Dan Buch
6b0c4de4aa
Merge remote-tracking branch 'origin/master' into v2 2016-05-17 03:34:53 -04:00
0eb4e0be6c TRIVIAL removal of extra "current" 2016-05-17 03:33:51 -04:00
Dan Buch
37e2f51a16
Merge remote-tracking branch 'origin/v2' into remove-global-lookups 2016-05-17 03:17:03 -04:00
Dan Buch
c720f37e15
Context tests and tweaks around lineage traversal
per feedback on #410
2016-05-17 03:16:26 -04:00
Dan Buch
cfc21d1af6
Merge remote-tracking branch 'origin/master' into v2 2016-05-16 11:04:15 -04:00
3a52a3b812 Merge pull request #411 from codegangsta/v2-docs
Version pinning docs
2016-05-16 11:01:49 -04:00
Dan Buch
61e5e9362f
Clarify state of v1 branch 2016-05-16 10:48:21 -04:00
Dan Buch
8af550936f
Add another bit about pinning to v1 2016-05-16 10:46:43 -04:00
Dan Buch
1beb5f66cd
Add some docs about the v2 branch 2016-05-16 10:43:05 -04:00
Dan Buch
bef835d455
Remove all Context.Global* methods
and change the behavior of the non-Global variants to always search up the
context lineage.

Closes #385
2016-05-16 10:18:15 -04:00
Dan Buch
cab5c58774
Merge remote-tracking branch 'origin/master' into v2 2016-05-15 20:43:31 -04:00
Jesse Szwedko
7f0ca9a349 Merge pull request #404 from codegangsta/runtests-argparse
Use argparse in runtests
2016-05-10 21:09:50 -07:00
Jesse Szwedko
92897b9bf6 Updating coverage badges 2016-05-10 20:42:38 -07:00
Jesse Szwedko
152e6ca11a Merge pull request #407 from codegangsta/coverage-breakout
Separate badges for package coverage
2016-05-10 20:39:12 -07:00
Dan Buch
50b384d904
Separate badges for package coverage 2016-05-10 14:51:27 -04:00
Jesse Szwedko
f7b459e346 Merge pull request #406 from codegangsta/command-alias-help
Fix command alias printing in help text
2016-05-10 10:56:23 -07:00
Dan Buch
6f3bb94eae
Correct assertion text 2016-05-10 13:51:54 -04:00
Dan Buch
b9d96954ca
Fix command alias printing in help text
Closes #405
2016-05-10 13:41:43 -04:00
de28b8426b Merge pull request #403 from codegangsta/changelog-tweak
Move the `./runtests` changelog entry to up `Unreleased`
2016-05-10 08:17:27 -04:00
Dan Buch
1398157654
Use argparse in runtests
like Zeus intended
2016-05-10 08:16:33 -04:00
Dan Buch
33f5de5f18
Move the ./runtests changelog entry to up Unreleased 2016-05-10 08:09:27 -04:00
Jesse Szwedko
9f09b40642 Merge pull request #400 from codegangsta/coverage
Add a vet/test runner script with coverage on by default
2016-05-09 22:16:32 -07:00
Dan Buch
2b4b13096f
Merge remote-tracking branch 'origin/master' into coverage 2016-05-09 18:53:45 -04:00
Dan Buch
32ebecfbb5
Merge remote-tracking branch 'origin/master' into v2 2016-05-09 11:18:21 -04:00
01857ac337 Merge pull request #402 from codegangsta/v1.17.0-prep
Preparing for v1.17.0 release
2016-05-09 11:13:33 -04:00
Dan Buch
2fcbd9d729
Preparing for v1.17.0 release 2016-05-09 10:52:31 -04:00
1d47addf28 Merge pull request #401 from mattfarina/cleanup
Code cleanup from Go Report Card
2016-05-09 10:45:19 -04:00
Matt Farina
07ce8bf79c Cleaned up else per golint
When an if ends in a return the else is not required. golint
detects these conditions and found these.
2016-05-09 10:15:05 -04:00
Matt Farina
2f110bd745 Cleaned up exported func comments per golint 2016-05-09 10:12:59 -04:00
Matt Farina
2f4ec31264 Fixed spelling and gofmt issues 2016-05-09 09:40:09 -04:00
Dan Buch
5fa09b8e23
Strip trailing slash for cleanliness 2016-05-09 09:00:22 -04:00
Dan Buch
d94fdb3e84
Break runtests back into steps for more granular CI feedback 2016-05-09 08:58:20 -04:00