Benjamin Chadwick
e5bd9666ff
Fix white space
2021-06-05 20:20:57 -07:00
bchadwic
6fc36cf01f
Fixed long message
2021-06-05 17:48:52 -07:00
bchadwic
e28000b5d2
Worked on help section
2021-06-05 17:46:07 -07:00
Benjamin Chadwick
95ceb85ee5
Delete helpful-resources.txt
2021-06-02 12:42:09 -07:00
Benjamin Chadwick
5aeca61fd0
Delete browse_test.go
2021-06-02 12:42:03 -07:00
ravocean
6391bf5801
Starter code for testing
2021-05-31 16:39:10 -07:00
bchadwic
798e03cf15
working on testing browse.go
2021-05-31 15:21:15 -07:00
ttran112
52e7b7cc86
added the message to help the user navigate github
2021-05-31 14:08:15 -07:00
Jessica Sestak
0bfeb8926a
Fixed error messages, added repo override
2021-05-31 13:02:05 -07:00
ravocean
a8a01badf1
Finished refactoring (addCombined)
2021-05-31 11:42:48 -07:00
Husrav Homidov
2444e4aadc
Merge branch 'bchadwic:trunk' into trunk
2021-05-31 10:59:35 -07:00
bchadwic
c162a28099
started to refactor the code base
2021-05-31 10:57:16 -07:00
Husrav Homidov
ab037b0e74
Merge branch 'cli:trunk' into trunk
2021-05-31 10:11:40 -07:00
ttran112
5077d4794c
fixed the 404 edge case error
2021-05-30 20:25:11 -07:00
Gowtham Munukutla
e160dd3eae
fix listing of PRs when merged ones are searched ( #3730 )
...
Co-authored-by: Mislav Marohnić <mislav@github.com>
2021-05-28 10:11:12 +00:00
Husrav Homidov
53dff30ab0
Merge branch 'cli:trunk' into trunk
2021-05-26 19:32:29 -07:00
ttran112
cb3792051a
fix minor error and add branchName for addArgs, addCombine
2021-05-26 19:27:07 -07:00
ttran112
3a48c35bc6
fix addArgs and combine by addding branchName parameter
2021-05-26 17:45:42 -07:00
Jessica Sestak
88ce5320f6
made branch and line flags, fixed path
2021-05-25 23:04:42 -07:00
Jessica Sestak
a65266bf36
added combination of args, partial fix to args
2021-05-25 22:47:08 -07:00
ravocean
1e61f41cd9
Tidied up the logic of openInBrowser
2021-05-25 21:42:42 -07:00
Ben
50af6c1658
broke the flag checking into a separate function, and created a http response checker function
2021-05-25 17:54:23 -07:00
Mislav Marohnić
053d43f705
Fix pr checkout setting up git push configuration
2021-05-25 15:43:18 +02:00
bchadwic
24abf29acb
created a test file
2021-05-24 21:16:37 -07:00
bchadwic
70e72afdcc
cleaned up, added suggestion to 404 handling
2021-05-24 13:06:33 -07:00
bchadwic
fdca340b28
simplified the if block for flags, now allows for checking destination before opening browser
2021-05-24 12:53:17 -07:00
bchadwic
88e2a9f748
cleaned logic and added in a print function that takes in an exitCode
2021-05-24 12:48:32 -07:00
Mislav Marohnić
b9a4a425bf
Fix pr checkout for PRs coming from deleted forks
2021-05-24 16:52:53 +02:00
Jessica Sestak
edebfa104b
Added errors and started defining the the path for flags and args to open in the browser.
2021-05-23 19:04:38 -07:00
ravocean
b22519309f
Fixed the name of projects flag
2021-05-23 16:01:18 -07:00
ravocean
e4b2ec202d
We added a few flags based on priority
2021-05-23 15:57:29 -07:00
ravocean
6e7cd6fd05
Added parseArgs() function, beginning to work on parseFlags() functions
2021-05-23 15:31:01 -07:00
Benjamin Chadwick
f66a086a5d
Merge branch 'trunk' into trunk
2021-05-23 12:35:53 -07:00
jlsestak
e4e8b77c7d
Update browse.go
2021-05-23 12:30:27 -07:00
jlsestak
bab7b498ec
Update browse.go
2021-05-23 12:23:33 -07:00
Nate Smith
c49c7f4de2
Merge pull request #3575 from g14a/feature/action-headers
...
add column headers and age column in listing runs
2021-05-21 15:41:16 -05:00
Mislav Marohnić
0208620a6f
Remove unnecessary commits stubs from fixtures
2021-05-21 17:37:21 +02:00
Mislav Marohnić
6bec7a956a
Fix pr merge on GHE < 3.0
...
This avoids loading authorship information for git commits, since it
relies on a GraphQL API that wasn't available before GHE v3.0. The
authorship information wasn't necessary for the merge operation anyway;
just loading the last commit OID was.
2021-05-21 17:35:41 +02:00
Gowtham Munukutla
9c614247a6
lint fix
2021-05-21 09:36:23 +05:30
Gowtham Munukutla
605f785c70
use fuzzy abbr to display age
2021-05-21 09:33:55 +05:30
Gowtham Munukutla
bc4be19319
lint repair
2021-05-20 12:28:26 +05:30
Gowtham Munukutla
31854f0b25
add extra age column and repair tests
2021-05-20 12:24:47 +05:30
Ben
b8de5c87e1
removed help message for non error operation
2021-05-19 22:45:03 -07:00
Gowtham Munukutla
6b0a07f22e
Merge branch 'trunk' of https://github.com/cli/cli into feature/action-headers
2021-05-20 10:59:14 +05:30
Ben
d8c20faa65
added in a help dialogue and error message
2021-05-19 22:14:58 -07:00
Ben
daf27af34a
only accepts 1 arg at most
2021-05-19 19:17:14 -07:00
Ben
14a40fb0db
added a return statement to avoid a segmentation fault on a null baseRepo, error handling will be improved more later
2021-05-19 13:13:23 -07:00
Ben
697ff425a8
disregard
2021-05-19 13:09:30 -07:00
Ben
097dd25884
redefined how gh browse opens the repo. We now use the BaseRepo to extract the correct paths. This should make it easier to navigate to other directories within the repo using the repoUrl variable created
2021-05-19 12:57:56 -07:00
Mislav Marohnić
79896ed513
Fix pr checkout for cross-repository pull requests
2021-05-19 13:18:04 +02:00