Will Norris
ce91f38806
add griffin_stewie as contributor
10 years ago
griffin_stewie
6387a9448d
Add "SuspendedAt" field to User struct.
10 years ago
Alex Flint
77dd0df006
Merge pull request #31 from alexflint/parse_ip_mac_and_email
Parse IP addresses, MAC addresses, and email addresses
10 years ago
Alex Flint
a1c72f6aa9
Merge remote-tracking branch 'origin/master' into parse_ip_mac_and_email
10 years ago
Alex Flint
c0809e537f
Merge pull request #30 from alexflint/scalar_pointers
add support for pointers and TextUnmarshaler
10 years ago
Alex Flint
c9584269b9
added tests for MAC and email addresses
10 years ago
Alex Flint
9a30acda05
added tests for IP address parsing
10 years ago
Alex Flint
e389d7f782
add support for IP address, email address, and MAC address
10 years ago
Alex Flint
8fee8f7bbe
move installation instructions to top
10 years ago
Alex Flint
95761fa14a
update readme with new additions
10 years ago
Alex Flint
b5933a0ea8
Merge remote-tracking branch 'origin/master' into scalar_pointers
10 years ago
Alex Flint
93247e2f3b
Merge pull request #29 from alexflint/parse_duration
Add support for time.Duration fields
10 years ago
Alex Flint
865cc5a973
add support for pointers and TextUnmarshaler
10 years ago
Alex Flint
64a4bab550
add test for invalid durations
10 years ago
Alex Flint
ed2b19f2bb
add support for time.Duration fields
10 years ago
Alex Flint
e560d079ba
Merge pull request #9 from brettlangdon/dev/environment.variables.sqwished
Add support for environment variables
10 years ago
Brett Langdon
8dd29d34bf
Add support for environment variables
10 years ago
Alex Flint
b1ec8c9093
make it possible to override the name of the program
10 years ago
Alex Flint
c9155bb0c3
Merge pull request #26 from alexflint/brettlangdon-dev/positional.help.sqwished
Resolve some merge conflicts from #8
10 years ago
Alex Flint
4197d283e4
extract common colWidth constant
10 years ago
Alex Flint
77be03b907
resolve merge
10 years ago
Will Norris
b8b4ac7429
update to 2048 bit key for user integration test
As with the previous key added in 19c0916 , I deleted the associated
private key using /usr/bin/shred. But of course, I have no way to prove
that. Again, all the more reason to always use a test account when
running these integration tests.
10 years ago
Björn Häuser
cedb0a9ae0
update required go version to 1.4
see 92bbb1ce51
10 years ago
Björn Häuser
68d9199c29
Edit branch protection
This adds support and integration tests for editing branch protection.
10 years ago
Alex Flint
f8ea16beee
Merge pull request #25 from alexflint/return_parser_from_mustparse
MustParse returns *Parser
10 years ago
Alex Flint
9aad09fe14
fix example code
10 years ago
Alex Flint
f89698667c
add custom validation example to README
10 years ago
Alex Flint
0c0f9a53ac
MustParse returns *Parser
10 years ago
Will Norris
63fbbb283c
add Björn Häuser as contributor
10 years ago
Björn Häuser
a42758ca56
Add initial support for protected branches
For more information about the preview see here:
https://developer.github.com/changes/2015-11-11-protected-branches-api/
This adds only retrieving the information and not setting it. Setting
will come in a later commit (if that one here is okay).
I tried to follow the naming guidelines as much as possible and
hopefully I made it right the first time. :-)
10 years ago
Will Norris
92bbb1ce51
bump minimum tested version to go 1.4
Adding the new BasicAuthTransport raises the minimum required version of
go to 1.4.
10 years ago
Will Norris
8f3e741cad
add support for HTTP Basic Authentication
Add a new error type, TwoFactorAuthError, which identifies the need to
include a one-time password when using Basic Auth for a user with
two-factor auth enabled.
An example of using both the new transport and error type can be seen in
examples/basicauth/main.go.
fixes #258
10 years ago
Shawn Smith
0457a4f009
fix typo
10 years ago
Will Norris
ceda53e424
add sona-tar as contributor
10 years ago
sona-tar
c57bb02ff6
Add ListOptions to ListWatched
10 years ago
Will Norris
abea5d2a73
add Eric Paris (Red Hat, Inc.) as contributor
10 years ago
Eric Paris
3eb9d5d0e1
Fix default comment for Direction in issue lists
Both:
https://developer.github.com/v3/issues/#list-issues
https://developer.github.com/v3/issues/#list-issues-for-a-repository
State that the default is `desc` for direction. (As does my results). So
update the comment.
10 years ago
Maksim Zhylinski
c9c9f3beea
ignore EOF error when json decoding empty response
In particular, this handles the case of trying to decode No Content
(204) responses.
10 years ago
Will Norris
17b8f05fc8
add Brad Harris as contributor
10 years ago
Brad Harris
59f41ca3f7
adding URL property to Hook struct
10 years ago
Dmitri Shuralyov
e5099d7537
Fix data race surrounding Client.Rate.
Previously, concurrent calls to Client.Do would have data races writing
Client.Rate. Protect it with a mutex.
Resolves #253 .
10 years ago
Alex Flint
d97f8fd931
Merge pull request #24 from toothrot/master
Fix error when printing usage for multi-value arguments
10 years ago
Alex Rakoczy
e4e9e19427
Fix error when printing usage for multi-value arguments
We try to compare []strings, which are uncomparable types:
`panic: runtime error: comparing uncomparable type []string`
10 years ago
Alex Flint
ce5525d776
Merge pull request #19 from walle/add_default_value_to_usage
Add default values to usage
10 years ago
Dmitri Shuralyov
44b1ede22d
github: Document all possible values for IssueList{,ByRepo}Options.State.
The value "all" is also possible for State. See https://developer.github.com/v3/issues/#list-issues
and https://developer.github.com/v3/issues/#list-issues-for-a-repository .
10 years ago
Fredrik Wallgren
670c7b787d
Fix merge conflicts
10 years ago
Brett Langdon
d45bd4523c
Display help text for positional arguments
10 years ago
Fredrik Wallgren
b0d37d1fb2
Add default values to usage
Check if the value isn't it's zero value and if not add a default value
to the usage text.
10 years ago
Alex Flint
5db9c77fa3
Merge pull request #13 from walle/show_builtin
Add built ins to options in help output
10 years ago
Will Norris
47f2593dad
add Russ Cox as contributor
10 years ago