Jingwen Owen Ou
6e23989f09
Bump go-octokit
2014-04-08 07:23:02 -07:00
Jingwen Owen Ou
8aa2bebf06
Use Ruby 2.1.1 on travis
2014-04-08 07:23:02 -07:00
Jingwen Owen Ou
47a9aa9ec6
Check repository permission for clone URL
2014-04-08 07:23:02 -07:00
Jingwen Owen Ou
30f047300c
Use HUB_PROTOCOL and hub.protocol
2014-04-08 07:23:02 -07:00
Jingwen Owen Ou
82dedbf6a0
Slurp `--noop` during parsing of args
2014-04-08 07:23:01 -07:00
Jingwen Owen Ou
94349d4739
Merge branch 'compare_compat' into gh
2014-04-07 23:05:44 -07:00
Jingwen Owen Ou
aa9cd23838
Compare compatible
2014-04-07 22:59:56 -07:00
Jingwen Owen Ou
49ca2c35b1
Merge pull request #535 from github/fork_compat
...
gh: Fork compatibility fix
2014-04-06 07:56:15 -07:00
Jingwen Owen Ou
56c141c281
Update go-octokit ref
2014-04-06 07:53:16 -07:00
Jingwen Owen Ou
8eec6837d0
Don't need to halt with 404
2014-04-05 22:18:24 -07:00
Jingwen Owen Ou
3c75808003
Put back filtering by host name
2014-04-05 22:16:10 -07:00
Jingwen Owen Ou
6ab839f2a8
Set host name it's in test with HUB_TEST_HOST
2014-04-05 22:13:39 -07:00
Jingwen Owen Ou
052ce47edd
Extract out into newOctokitClient
2014-04-05 20:22:18 -07:00
Jingwen Owen Ou
a4bcb98923
Bump go-octokit with changes of adding global headers
2014-04-05 20:00:40 -07:00
Jingwen Owen Ou
a7badc8c84
Validate git dir when getting local repo
2014-04-01 13:40:02 -07:00
Jingwen Owen Ou
3d7f4c0136
Remove host_name since Go doesn't allow to set HOST in http request
2014-04-01 13:00:54 -07:00
Jingwen Owen Ou
141cfb237d
Fix error message when checking main project in fork
2014-04-01 12:59:56 -07:00
Jingwen Owen Ou
0b207f8406
Standardize error message according to cukes
2014-04-01 12:52:45 -07:00
Jingwen Owen Ou
829e99cd55
Add charset to cuke request header expectation
2014-04-01 12:52:11 -07:00
Jingwen Owen Ou
50fce1d4e8
Rename GH_API_HOST to HUB_TEST_HOST
2014-04-01 10:21:37 -07:00
Jingwen Owen Ou
78389b5250
Fix cuke for forking private repo
2014-04-01 09:54:37 -07:00
Jingwen Owen Ou
0dc6b9f6ba
Fix asyn issue when forking repo
2014-04-01 09:07:20 -07:00
Jingwen Owen Ou
6fd00d4ab0
Move default case to the first line of FormatError
2014-04-01 08:55:15 -07:00
Jingwen Owen Ou
cdf9b757e2
Merge pull request #534 from github/checkout_compat
...
gh: Fix `merge.feature` and `checkout.feature`
2014-04-01 08:19:53 -07:00
Jingwen Owen Ou
6a87b98798
Fix merge.feature as well
2014-03-31 17:09:13 -07:00
Jingwen Owen Ou
42a7ad5141
The head of the repo in a pull request can be nil
2014-03-31 17:00:42 -07:00
Jingwen Owen Ou
0118cfa3dc
Make sure charset is there when validating HTTP_ACCEPT
2014-03-31 17:00:12 -07:00
Jingwen Owen Ou
335e962350
Bump dependencies.
...
Updated go-sawyer, go-octokit and pflag
2014-03-31 16:57:58 -07:00
Jingwen Owen Ou
8648a58d1e
Use explicit binary dir for hub
2014-03-31 16:51:51 -07:00
Jingwen Owen Ou
526e741edf
Don't import log
2014-03-31 15:44:42 -07:00
Jingwen Owen Ou
53a7829747
Minor refactor of checkout
2014-03-31 13:01:05 -07:00
Mislav Marohnić
8150ddb828
Merge pull request #527 from stevenharman/use-preferred-homebrew-commit-message-for-updates
...
Use Homebrew's preferred commit message
2014-03-30 22:48:46 +02:00
Jingwen Owen Ou
3e406b72df
Merge pull request #529 from github/error_msg_format
...
gh: Propagate authenticate error to the caller
2014-03-28 07:49:26 -07:00
Jingwen Owen Ou
d6430af49c
Extract out logic of building api host
2014-03-27 17:14:13 -07:00
Jingwen Owen Ou
e84a6d6f7a
Rename ClientError to AuthError
2014-03-27 16:51:31 -07:00
Jingwen Owen Ou
f054bdf54e
Return error when prompting for host.
...
This'll make sure we propagate error to the caller where we can reformat
the error message within the context.
This fixes `features/authentication.feature:85`
2014-03-27 16:42:14 -07:00
Steven Harman
9b84927574
Use Homebrew's preferred commit message
...
For simple updates of version, Homebrew's preferred commit message and
PR title is "hub 1.2.3".
2014-03-26 12:54:44 -04:00
Jingwen Owen Ou
45200dc741
Merge branch 'alias' into gh
2014-03-25 17:34:10 -07:00
Jingwen Owen Ou
b5b7114307
Get alias.feature all passing
2014-03-25 17:34:06 -07:00
Jingwen Owen Ou
5bd4c63289
Merge branch 'config_with_toml' into gh
2014-03-25 17:33:07 -07:00
Jingwen Owen Ou
4c7a2816bb
Rename more credential* to host
2014-03-25 17:18:30 -07:00
Jingwen Owen Ou
c47af496bd
Rename Host to GitHubHost to be explicit
2014-03-25 17:11:21 -07:00
Jingwen Owen Ou
b70cb9d7de
Rename Credential to Host
...
See comment https://github.com/github/hub/pull/515#discussion_r10915319
2014-03-25 17:01:00 -07:00
Jingwen Owen Ou
6416ced1f6
Clarify comments on sleeping in `type`
2014-03-25 16:49:29 -07:00
Jingwen Owen Ou
18a21cea71
Bump Godeps
2014-03-24 17:04:57 -07:00
Jingwen Owen Ou
b2f2a1291a
Fix errors due to the toml gem doesn't dump array of table correctly
...
See https://github.com/jm/toml/issues/31
2014-03-24 16:39:43 -07:00
Jingwen Owen Ou
b8a64ac93a
Make X-GitHub-OTP exactly as what the API server returns
2014-03-24 15:47:03 -07:00
Jingwen Owen Ou
45409be4b1
Slow down the typing in cukes
2014-03-24 14:37:19 -07:00
Jingwen Owen Ou
28e51eb9b7
Extract method to Config#scanLine()
2014-03-24 14:13:12 -07:00
Jingwen Owen Ou
f2042bc937
Extract OAuth app name into a constant
2014-03-21 16:16:28 -07:00