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
Mislav Marohnić
c667a0bc49
Fix fetching draft releases from GitHub Actions
...
When using GITHUB_TOKEN in Actions, the permissions on a repository are
null and therefore we can't check whether the viewer has push access or
not. The solution is to unconditionally check for draft releases instead
of trying to be smart about it. Draft releases are going to be on top,
so we don't have to paginate through all releases in a repository.
2021-05-18 19:44:29 +02:00
Mislav Marohnić
4425365004
Add release view --json support
2021-05-18 19:40:28 +02:00
Mislav Marohnić
42155c7d2d
Export more IDs in issue/pr JSON payload
2021-05-18 18:19:28 +02:00
Mislav Marohnić
e758f30073
Fix preloading of pr reviews, checks, and issue/pr comments
2021-05-18 17:13:27 +02:00
Mislav Marohnić
51f7cbdfde
💅 cleanup and tests for PR finder
2021-05-18 09:59:05 +02:00
Mislav Marohnić
bc3bb97c43
Merge remote-tracking branch 'origin' into pr-lookup-refactor
2021-05-17 17:41:38 +02:00
Mislav Marohnić
42d2da812c
Preserve list fomatting in web docs for gh actions
2021-05-17 17:01:33 +02:00
Mislav Marohnić
eb35a3457c
Make sure docs URLs are linked in web docs
2021-05-17 17:00:25 +02:00
Mislav Marohnić
4b0b422eb5
Add --json export functionality to repo commands ( #3627 )
2021-05-17 16:53:20 +02:00
Mislav Marohnić
3f3d4e38d4
Avoid crash when --json doesn't request nameWithOwner
2021-05-17 16:43:39 +02:00
Mislav Marohnić
a2307e357d
Add repo list --json support
2021-05-17 16:32:01 +02:00
Mislav Marohnić
301a35eedc
Merge pull request #3621 from cli/export-data
...
Push data serialization concern into Exporter
2021-05-17 13:43:00 +02:00