vilmibm
7bbd70d6b2
use default to preserve non-interactive behavior
2020-01-15 11:27:25 -06:00
vilmibm
3468a46521
support preview in browser for issue create
2020-01-15 11:27:12 -06:00
vilmibm
d8cbb6a6a7
support previewing PRs in the browser
2020-01-14 17:03:53 -06:00
vilmibm
062d4f2367
note
2020-01-14 15:22:50 -06:00
vilmibm
164064064b
e to edit body, enter to skip
2020-01-14 15:20:11 -06:00
vilmibm
e821d2781a
towards extending survey.Editor behavior
2020-01-14 15:20:11 -06:00
Nate Smith
a9db4e8d21
Merge pull request #221 from github/release-the-kraken
...
Add changelog link to `gh version` and `gh --version`
2020-01-13 18:08:50 -06:00
Nate Smith
42f58eac4b
Merge pull request #203 from github/preview-things
...
Preview issues and PRs on the terminal
2020-01-13 17:59:34 -06:00
vilmibm
5bc6d220c4
review feedback
2020-01-13 15:32:07 -06:00
Corey Johnson
ced6809e1e
add changelog to --version
2020-01-13 11:14:45 -08:00
Corey Johnson
1921a74eec
Add changelog func
2020-01-13 11:02:34 -08:00
Nate Smith
c5486ee3f2
Merge pull request #210 from github/noprinting
...
minor text edits
2020-01-13 12:19:01 -06:00
vilmibm
bbdf30c8f8
add tests for pr/issue previewing in terminal
2020-01-10 15:40:09 -06:00
vilmibm
f911a234c2
print to proper handle
2020-01-10 15:12:54 -06:00
Tiernan L
756610301e
Swap to show
2020-01-10 07:53:16 -10:00
vilmibm
4925c3cf01
preview PRs and issues in the terminal with -p
2020-01-10 11:41:26 -06:00
Tiernan L
025845e9ff
browser is sufficient
...
We used "browser" and "web browser" in multiple places. I made them all consistent.
2020-01-09 15:29:11 -10:00
Tiernan L
b2350be56a
change print to view
2020-01-09 09:54:34 -10:00
Corey Johnson
c9bcf807b1
Make it work with PRs
2020-01-08 12:31:23 -08:00
Corey Johnson
4fcf13dac4
Make it work with PRs
2020-01-08 11:44:27 -08:00
Corey Johnson
3eb820631d
Add "and x more" text"
2020-01-07 14:51:49 -08:00
Corey Johnson
2e0ea153d5
Merge remote-tracking branch 'origin/master' into appropriate-context-and-feedback
2020-01-06 09:52:26 -08:00
Mislav Marohnić
fb0472a868
Merge pull request #176 from github/issue-pr-templates
...
Add template support to `issue create`, `pr create`
2019-12-23 13:41:15 +01:00
Corey Johnson
f2afbbce74
Fix test output
2019-12-20 12:07:53 -08:00
Corey Johnson
58761a8dfc
Fix tests
2019-12-20 12:04:23 -08:00
Corey Johnson
8f74b658b2
Merge remote-tracking branch 'origin/master' into appropriate-context-and-feedback
2019-12-20 11:51:37 -08:00
Corey Johnson
bcf1f98702
Do a better job of reverting test changes
2019-12-20 11:32:27 -08:00
Corey Johnson
d025d2d4f3
Revert test changes
2019-12-20 11:24:03 -08:00
Corey Johnson
b66c34e0ec
Output to stderr
2019-12-20 11:16:27 -08:00
Corey Johnson
b98bd2cfb8
Use base branch
2019-12-20 10:58:25 -08:00
Mislav Marohnić
9c36c7bae9
Ensure that string flags are reset between test runs
2019-12-20 13:17:02 +01:00
Mislav Marohnić
00cede9e5f
Fix issue list re: issues that have an assignee
...
Given the GraphQL query:
issues(filterBy: {assignee: $assignee})
It turns out that passing a query variable `"assignee": null` is NOT
equivalent to omitting the variable altogether:
- `"assignee": null` seems to filter out issues that HAVE an assignee;
- omitting `assignee` correctly returns all issues.
2019-12-20 13:07:11 +01:00
Nate Smith
ade69a403c
Merge pull request #178 from github/issues-disabled
...
Warn about repo issues disabled on `issue status/list/create`
2019-12-19 15:39:07 -06:00
Nate Smith
58a6cbc46e
Merge pull request #179 from github/pr-checks-test
...
Add tests for `pr status` reviews, checks, and blank slate output
2019-12-19 15:33:06 -06:00
Nate Smith
c852db7708
Merge pull request #180 from github/pr-status-green
...
Print `pr status` numbers in green
2019-12-19 15:31:35 -06:00
Mislav Marohnić
f39d57862d
Clarify -R format
2019-12-19 18:55:31 +01:00
Mislav Marohnić
3346e7b8dc
Print pr status numbers in green
...
We use green to signify "open" state of issues & PRs in `list` commands
(as opposed to red for "closed" and purple for "merged" state), so let's
be consistent in `status` commands too, where all displayed items are
guaranteed to be open.
2019-12-19 17:50:44 +01:00
Mislav Marohnić
9ddd50ffa9
Add tests for pr status reviews and checks output
2019-12-19 17:37:57 +01:00
Mislav Marohnić
fd1da2f0f0
Add test for pr status blank slate
2019-12-19 16:54:24 +01:00
Mislav Marohnić
bd9b3b9bb5
Add tests for issue status/list/create on repos with issues disabled
2019-12-19 15:54:08 +01:00
Mislav Marohnić
aeb7f337d2
Ensure issue create fails fast if issues are disabled
...
Before, a person would be prompted for title & body before
unconditionally failing due to issues being disabled.
2019-12-19 15:44:20 +01:00
Mislav Marohnić
66534e504b
Warn about repo issues disabled on issue create
2019-12-19 15:44:20 +01:00
Mislav Marohnić
915dd8b0ef
Warn about repo issues disabled on issue status/list
2019-12-19 15:44:20 +01:00
Mislav Marohnić
d9ca764ac2
Look up the repository only once in issue status GraphQL
2019-12-19 15:44:20 +01:00
Mislav Marohnić
d5ba3de751
Add template support to issue create, pr create
...
If multiple templates are found, the user is prompted to select one.
The templates are searched for, in order of preference:
- issues:
1. `.github/ISSUE_TEMPLATE/*.md`
2. `.github/ISSUE_TEMPLATE.md`
3. `ISSUE_TEMPLATE/*.md`
4. `ISSUE_TEMPLATE.md`
5. `docs/ISSUE_TEMPLATE/*.md`
6. `docs/ISSUE_TEMPLATE.md`
- pull requests:
1. `.github/PULL_REQUEST_TEMPLATE/*.md`
2. `.github/PULL_REQUEST_TEMPLATE.md`
3. `PULL_REQUEST_TEMPLATE/*.md`
4. `PULL_REQUEST_TEMPLATE.md`
5. `docs/PULL_REQUEST_TEMPLATE/*.md`
6. `docs/PULL_REQUEST_TEMPLATE.md`
The filename matches are case-insensitive.
2019-12-18 22:15:20 +01:00
Amanda Pinsker
de814595f5
Clarify repo flag language
2019-12-17 11:22:41 -05:00
Mislav Marohnić
2c1fc56967
Update output expectations
2019-12-17 13:01:45 +01:00
Mislav Marohnić
7b7c985e79
Merge remote-tracking branch 'origin/master' into appropriate-context-and-feedback
2019-12-17 13:00:10 +01:00
Mislav Marohnić
4ad89829c5
Merge remote-tracking branch 'origin/master' into stderr-tests
2019-12-17 12:42:01 +01:00
Corey Johnson
91267a65fa
Fix tests
2019-12-16 13:18:16 -08:00