Mislav Marohnić
|
db8c2d4e01
|
Merge remote-tracking branch 'origin/master' into pr-current-branch
|
2019-12-02 18:56:11 +01:00 |
|
Mislav Marohnić
|
d99698f048
|
Fix minor code issues discovered by staticcheck
`honnef.co/go/tools/cmd/staticcheck`
|
2019-11-26 16:18:20 +01:00 |
|
Mislav Marohnić
|
eff8847513
|
Improve detecting PR for the current branch
Now reads git branch configuration and handles these cases:
branch ["foo"]
remote origin
merge refs/heads/bar
branch ["foo"]
remote other-remote
merge refs/heads/foo
branch ["foo"]
remote https://github.com/OWNER/REPO.git
merge refs/heads/bar
branch ["foo"]
remote origin
merge refs/pull/123/head
|
2019-11-20 15:20:36 +01:00 |
|
Mislav Marohnić
|
4fab43a667
|
Cover more pr checkout test scenarios
|
2019-11-14 20:53:34 +01:00 |
|
Mislav Marohnić
|
dc0de147c9
|
Add pr checkout command
|
2019-11-14 19:59:42 +01:00 |
|
Mislav Marohnić
|
65054fdc6e
|
Complete pr create test
|
2019-11-11 15:01:41 +01:00 |
|
Mislav Marohnić
|
e7bebaeebc
|
Inject production OAuth client ID+secret into release
|
2019-11-08 18:57:22 +01:00 |
|
Mislav Marohnić
|
39a6feba9c
|
Now able to use api in oauth flow
|
2019-10-29 21:16:35 +01:00 |
|
Mislav Marohnić
|
f786802e9e
|
Customizable API client
|
2019-10-29 21:07:03 +01:00 |
|
Mislav Marohnić
|
8370602f49
|
WIP eliminate package-level state in commands, context
|
2019-10-25 21:49:08 +02:00 |
|
Mislav Marohnić
|
641de86427
|
Eliminate package-level state in git remote parsing
|
2019-10-25 21:48:25 +02:00 |
|
Mislav Marohnić
|
5aca575964
|
Wire up OAuth authentication flow to initialize config file
The config file is now `~/.config/gh`.
|
2019-10-18 19:08:11 +02:00 |
|
Mislav Marohnić
|
2aa77fb8ea
|
Add Context.SetAuthToken
|
2019-10-18 18:47:42 +02:00 |
|
Mislav Marohnić
|
d334d56f09
|
Test FindByName
|
2019-10-17 16:10:45 +02:00 |
|
Mislav Marohnić
|
51c70dd918
|
Add test for invalid remote URLs
|
2019-10-17 16:05:25 +02:00 |
|
Mislav Marohnić
|
183db99535
|
Ensure remote URL parsing tests don't read user SSH config files
|
2019-10-17 15:58:26 +02:00 |
|
Mislav Marohnić
|
79e8766d8f
|
Use eq in more tests
|
2019-10-17 14:44:53 +02:00 |
|
Mislav Marohnić
|
74c637fec8
|
Improve config file parsing
|
2019-10-17 14:34:55 +02:00 |
|
Mislav Marohnić
|
c09eb742c3
|
Keep original order of remotes
|
2019-10-17 13:46:35 +02:00 |
|
Mislav Marohnić
|
a8aa5feb02
|
Test remote parsing
|
2019-10-17 02:25:59 +02:00 |
|
Mislav Marohnić
|
8016d80884
|
Create overridable Context interface
|
2019-10-17 02:25:59 +02:00 |
|
nate smith
|
0600c8c68c
|
switch to context struct
|
2019-10-15 13:36:38 -05:00 |
|
nate smith
|
cccb6832c3
|
Revert "towards moving config into context"
This reverts commit 7427716ea8.
|
2019-10-14 11:02:04 -05:00 |
|
nate smith
|
6ef29819c7
|
towards moving config into context
|
2019-10-11 10:53:29 -05:00 |
|
nate smith
|
d7ee9a0ade
|
move remote to context package
|
2019-10-10 17:42:52 -05:00 |
|
nate smith
|
09d58b923d
|
add GitHubRepository
|
2019-10-10 16:02:23 -05:00 |
|
nate smith
|
6e6b18c50a
|
move more stuff into context.go
|
2019-10-10 15:43:25 -05:00 |
|
nate smith
|
df074046ac
|
add context.go and move over getToken
|
2019-10-10 15:39:39 -05:00 |
|