Mislav Marohnić
|
d7513ef3f6
|
Fix test assertion when running on Windows
|
2019-12-16 14:56:44 +01:00 |
|
Mislav Marohnić
|
5d644d2468
|
Silence stderr in git push during pr create but show it on failures
|
2019-12-04 16:16:10 +01:00 |
|
Mislav Marohnić
|
db8c2d4e01
|
Merge remote-tracking branch 'origin/master' into pr-current-branch
|
2019-12-02 18:56:11 +01:00 |
|
Mislav Marohnić
|
62bbcb266e
|
🔥 more unused git functions
|
2019-11-26 16:23:03 +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ć
|
1fc9c8f9d6
|
Test the scenario where the target branch already exists
|
2019-11-14 20:29:24 +01:00 |
|
Mislav Marohnić
|
2616da04c4
|
Only capture stderr of commands that don't have configured Stderr
|
2019-11-14 20:02:42 +01:00 |
|
Mislav Marohnić
|
6aa0c071d6
|
Simplify tests that use StubExecCommand
|
2019-11-11 17:04:26 +01:00 |
|
Mislav Marohnić
|
a275398dac
|
Merge remote-tracking branch 'origin/master' into pr-create
|
2019-11-11 12:24:09 +01:00 |
|
nate smith
|
18f104ad38
|
oops
|
2019-11-02 12:53:33 -05:00 |
|
nate smith
|
c12bdc2731
|
WIP resuming pr create test work
|
2019-11-01 17:19:01 -05:00 |
|
Mislav Marohnić
|
d881a2e52e
|
Ensure git operations preserve their stderr in error output
This also provides a SetPrepareCmd hook for tests to be able to define stubs for commands that are supposed to be run
|
2019-11-01 22:16:23 +01:00 |
|
nate smith
|
7555aa9be3
|
first pass at generalizing process stubbing
|
2019-10-31 11:29:39 -05:00 |
|
nate smith
|
ee0fe61b04
|
test nonzero exit code
|
2019-10-30 17:46:34 -05:00 |
|
nate smith
|
ab115efd89
|
add cases to test for
|
2019-10-30 17:06:49 -05:00 |
|
nate smith
|
fdbf85e9ab
|
sigh worthy mechanism for selecting arbitrary git outputs
|
2019-10-30 16:45:11 -05:00 |
|
nate smith
|
f6afe1b576
|
use testing hack to mock git call
|
2019-10-30 16:34:23 -05:00 |
|
nate smith
|
5087ec5c15
|
restore pr create with new context/client
|
2019-10-30 12:00:16 -05:00 |
|
Mislav Marohnić
|
641de86427
|
Eliminate package-level state in git remote parsing
|
2019-10-25 21:48:25 +02:00 |
|
Corey Johnson
|
a25fa5d66b
|
Merge remote-tracking branch 'origin/master' into pr-view-tests
|
2019-10-17 10:39:49 -07:00 |
|
Mislav Marohnić
|
344906bf03
|
Test SSH config parser
|
2019-10-17 15:50:17 +02:00 |
|
Corey Johnson
|
b69dff172c
|
Remove caching
I removed this because it was making tests fail!
|
2019-10-16 16:26:32 -07:00 |
|
Mislav Marohnić
|
9939e970fc
|
Cleanup of unnecessary functionality in 'git'
|
2019-10-07 16:02:19 +02:00 |
|
nate smith
|
8dd03144ff
|
initial commit
|
2019-10-03 22:20:31 -05:00 |
|