Corey Johnson
30bfca0a2a
Use release URL from API
2019-11-22 10:50:38 -08:00
Corey Johnson
26056f48f4
Lastest isn't a word
2019-11-22 10:43:31 -08:00
Corey Johnson
3236290d0f
Use terminal.IsTerminal
2019-11-22 10:42:56 -08:00
Mislav Marohnić
3680ccb59d
Merge pull request #91 from github/issue-template
...
Issue templates for CLI
2019-11-22 17:31:34 +01:00
Mislav Marohnić
fdcf028cce
Align issue list output with that of pr list
2019-11-22 17:15:11 +01:00
Mislav Marohnić
a650cbe002
Simplify parsing API issues
2019-11-22 17:04:32 +01:00
vilmibm
f2064bb0f9
fix path issue and set git as dependency
2019-11-21 16:17:36 -06:00
vilmibm
7b9e29795a
add nfpms section to go-releaser config
2019-11-21 13:34:25 -06:00
Nate Smith
7f3bc25e3a
Create LICENSE
2019-11-21 13:22:23 -06:00
evelyn masso
b30054c55a
use the offish tag line from @ampinsk
2019-11-21 10:20:54 -08:00
Corey Johnson
a835fe6388
Change var names
2019-11-21 08:04:59 -08:00
Mislav Marohnić
eabcae84c7
Merge pull request #81 from github/pr-status-single-check
...
`pr status`: avoid printing a lonely "1" when there is only one Check
2019-11-21 15:27:53 +01:00
Mislav Marohnić
adfc014298
Merge pull request #82 from github/table-output
...
Extract generic row printer that adjusts itself for receiving terminal
2019-11-21 14:15:36 +01:00
Tiernan L
08687f70e0
spelling
2019-11-20 14:33:16 -10:00
Tiernan L
4f7fbe29b4
shortened template
2019-11-20 14:31:55 -10:00
Tiernan L
2a0771c171
minor updates
2019-11-20 14:27:53 -10:00
Corey Johnson
7a17f9506a
Remove bang
...
Co-Authored-By: Josh Abernathy <joshaber@gmail.com>
2019-11-20 15:59:45 -08:00
Corey Johnson
5a3a2cf95e
Go routine it
...
Co-Authored-By: Josh Abernathy <joshaber@gmail.com>
2019-11-20 15:58:23 -08:00
Corey Johnson
9d0a32fab9
i before g
...
Co-Authored-By: Josh Abernathy <joshaber@gmail.com>
2019-11-20 15:29:38 -08:00
evelyn masso
b64db1213f
formatting 😅
2019-11-20 15:11:25 -08:00
evelyn masso
11d569f340
expand root help summary
2019-11-20 15:10:14 -08:00
evelyn masso
98062b7c0e
slightly more specific command summaries
2019-11-20 11:38:27 -08:00
Corey Johnson
be280763d7
pull out the nwo
...
Co-Authored-By: Josh Abernathy <joshaber@gmail.com>
2019-11-20 11:24:46 -08:00
Corey Johnson
bc9b22d336
Alert if there is a new version
...
Co-Authored-By: Josh Abernathy <joshaber@gmail.com>
2019-11-20 11:18:45 -08:00
Corey Johnson
817b154705
Get latest version
...
Co-Authored-By: Josh Abernathy <joshaber@gmail.com>
2019-11-20 11:07:17 -08:00
vilmibm
3c892ff268
Merge remote-tracking branch 'origin/master' into issue-create-editor
2019-11-20 12:01:20 -06:00
vilmibm
84d393d543
fix issue create test
2019-11-20 11:57:17 -06:00
vilmibm
88446276e8
use survey when creating issues
2019-11-20 11:54:42 -06:00
vilmibm
633c8c070b
factor out title body prompting
2019-11-20 11:39:42 -06: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ć
508f6787f0
Have PullRequestForBranch accept "owner:branch" value for forks
...
When on a `patch-1` branch locally, `gh pr view` would happily open the
first open PR it finds with "patch-1" as its head, even those coming
from forks.
2019-11-20 15:20:36 +01:00
Mislav Marohnić
97a6dc494b
Redesign TablePrinter to avoid SetContentWidth / FitColumns steps
...
The API is now:
- AddField;
- EndRow;
- Render.
2019-11-20 13:29:27 +01:00
Mislav Marohnić
2022f8e74b
Avoid widening table columns that already fit
2019-11-20 12:30:24 +01:00
Mislav Marohnić
9fc80a1f8a
Fix crash with empty table
2019-11-20 12:18:50 +01:00
Mislav Marohnić
02b1f60a24
Merge remote-tracking branch 'origin/master' into table-output
2019-11-20 12:12:09 +01:00
Mislav Marohnić
26c1e4a170
Align checks wording with dotcom
2019-11-20 12:00:24 +01:00
Mislav Marohnić
c7a38b6331
Merge branch 'checks-crash'
2019-11-20 11:26:16 +01:00
Mislav Marohnić
8e89c0479e
Merge pull request #95 from github/rename-file
...
Rename PR query file
2019-11-20 10:17:00 +01:00
Amanda Pinsker
4340b643f6
Merge pull request #94 from github/help-copy-edits
...
Help copy edits
2019-11-19 15:16:18 -08:00
Corey Johnson
89db5cbee6
Move to queries_pr
2019-11-19 14:59:17 -08:00
Corey Johnson
1051ea420d
Merge pull request #90 from github/lables-on-issue-status
...
Add labels to `gh issue status`
2019-11-19 14:58:15 -08:00
Corey Johnson
c1ad55ba64
use const
2019-11-19 14:57:52 -08:00
Mislav Marohnić
39f535f0a1
Only show ratio of PR checks when some are failing
...
Now the possible outputs are:
- "checks: pending" (yellow)
- "checks: success" (green)
- "checks: failing" (red) - 1 out of 1 check failed
- "checks: 3/5 failing" (red) - 3 out of 5 checks failed
2019-11-19 12:01:46 +01:00
Mislav Marohnić
f58b7ecb3e
Merge remote-tracking branch 'origin/master' into pr-status-single-check
2019-11-19 11:09:15 +01:00
Mislav Marohnić
7c731bc512
Avoid crash when parsing in-progress CheckRuns
...
Fixes `panic: unsupported status: ""`
This occurs when a CheckRun has status "IN_PROGRESS" (or any other than
"COMPLETED") and when its `conclusion` would be null. I previously
didn't account for this.
This adds support for parsing state of an in-progress CheckRun.
2019-11-19 09:42:59 +01:00
Mislav Marohnić
4a5ed81577
Fix injecting version information into build from git
...
This was a typo. Note that Makefile is only used for building a
development version after cloning from git; the tagged release process
uses `.goreleaser.yml` and skips the Makefile.
2019-11-19 09:01:18 +01:00
Amanda Pinsker
5e7557e8fa
Copy edits
2019-11-18 23:26:18 -08:00
Tiernan L
30f36d6dd0
Create problem-to-rasie.md
2019-11-18 14:33:05 -10:00
Tiernan L
d372467f5d
Create bug_report.md
2019-11-18 14:31:00 -10:00
Corey Johnson
20b47871a0
Add labels to the issues status
2019-11-18 14:56:15 -08:00