vilmibm
fa68a3a858
linter appeasement
2020-10-05 15:19:49 -05:00
troido
974c6d8958
restore tty settings after gh repo garden
...
the command 'gh repo garden' used to leave the terminal in noecho mode when exiting
This restores the tty settings to their state before running 'gh repo garden'
2020-10-03 11:01:38 +02:00
Harsh Shandilya
0107b00043
Don't override user provided title and body when --fill is used ( #1994 )
...
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
2020-09-30 16:15:30 +02:00
Sam Coe
74d6eb96be
Address PR comments
2020-09-30 12:55:05 +02:00
Sam Coe
bda27a46ae
Extract version command
2020-09-30 12:49:17 +02:00
Sam Coe
1a1a6303cd
Move disable auth check to bottom
2020-09-30 12:49:17 +02:00
Sam Coe
53a97c3414
Extract rootFlagErrrorFunc into root help
2020-09-30 12:49:17 +02:00
Sam Coe
f00a0f2854
Move completion command out of root package
2020-09-30 12:49:17 +02:00
Sam Coe
c52fc72291
Extract bareHTTPClient function
2020-09-30 12:49:14 +02:00
Nate Smith
e24035681d
Merge pull request #2003 from cristiand391/refactor-gist-create
...
Refactor gist create to reuse existing structs
2020-09-29 15:27:31 -05:00
Nate Smith
127d0b8717
Merge pull request #2020 from tgyurci/gh-pager-env
...
Add support for GH_PAGER
2020-09-29 14:52:58 -05:00
Nate Smith
aa72881baa
Merge pull request #1962 from ricardoseriani/change-default-answer-after-delete-branch
...
Set default answer to "no" for "deleting branch after merge" question
2020-09-29 11:29:41 -05:00
Teubel György
b71261219c
Add support for GH_PAGER
2020-09-29 17:42:25 +02:00
Nate Smith
3c6e355a1c
Merge pull request #1967 from aldahick/fix/repo-garden-few-commits
...
Fix some bugs in `repo garden` in repositories with few commits
2020-09-29 10:27:10 -05:00
Pranjal Mittal
3a9b9de940
Modification of help text for usage of gh pr checks ( #1915 )
2020-09-29 11:25:02 +02:00
Mislav Marohnić
c11ff0005a
Merge pull request #1926 from cli/pr-create-branch-pushed-fix
...
Fix `pr create` when branch was already pushed to a non-base remote
2020-09-28 19:12:38 +02:00
Cristian Dominguez
b71e6494ab
Update gist create tests
2020-09-28 02:37:41 -03:00
Cristian Dominguez
ef8f61c61d
Refactor gist create
2020-09-28 02:36:01 -03:00
Alex Hicks
57cdfee835
Fix some bugs in repo garden in repositories with few commits
2020-09-25 17:51:59 -04:00
Ricardo Seriani
6bb2a11d1b
Set default answer to "no" for "deleting branch after merge" question
...
Signed-off-by: Ricardo Seriani <ricardo.seriani@gmail.com>
2020-09-25 13:39:37 -03:00
Sam Coe
f0d4fbf84f
Address PR comments around style and naming
2020-09-24 19:27:29 +02:00
Sam Coe
ed4075517c
Check for terminal background color before starting pager
2020-09-24 13:06:28 +02:00
Mislav Marohnić
80b60fc6a9
Fix pr create for branches published under a different name
2020-09-24 11:35:02 +02:00
Mislav Marohnić
e2efc0b8a3
Fix pr create when branch was already pushed to a non-base remote
2020-09-23 19:53:27 +02:00
Nate Smith
060ccd1eda
Merge pull request #1781 from cristiand391/fix-gist-id-extraction
...
Fix gist ID extraction from url
2020-09-22 12:04:04 -05:00
Mislav Marohnić
1e7a7972fb
Merge pull request #1889 from mmontes11/pr-checkout-on-detached-head
...
Fixed gh pr checkout on detached HEAD
2020-09-22 18:42:38 +02:00
Martín Montes
cacf0157b3
Using ghinstance.OverridableDefault() instead of a harcoded hostname
2020-09-22 18:22:29 +02:00
Martín Montes
793e866850
Using assert.Regexp for testing stderr's content
2020-09-22 17:50:57 +02:00
Martín Montes
81caade918
Access token tip message using hostname
2020-09-22 12:32:37 +02:00
Cristian Dominguez
a7a90b3a4b
Move gist URL tests to its own file
2020-09-21 21:35:07 -03:00
Cristian Dominguez
55a8f3d8ca
Make gh gist view and edit commands reuse logic for id extraction
2020-09-21 21:28:04 -03:00
Martín Montes
bb1005be51
Fixed gh pr checkout on detached HEAD
2020-09-22 00:25:49 +02:00
Nate Smith
2a9b5de8c0
Merge pull request #1828 from y-yagi/do-not-send-requests-when-unnecessary
...
Don't send a request when the contents haven't changed
2020-09-21 16:40:41 -05:00
Nate Smith
e3f21a58cc
Merge pull request #1816 from OjasWadhwani/parseEmoji
...
Emoji parsing in Readme content
2020-09-21 16:35:41 -05:00
Cristian Dominguez
d685d666b2
Set gist ID by default on all tests
2020-09-21 12:11:08 -03:00
Sam Coe
458d5cb42f
Respect interactive repo name input on create
2020-09-21 14:26:15 +02:00
Cristian Dominguez
ef9b75e1f6
Add tests for gist URL check
2020-09-19 18:50:07 -03:00
Cristian Dominguez
2af136cc78
Return error if it's an invalid URL
2020-09-19 18:48:00 -03:00
yuuji.yaginuma
943dcef478
Don't send a request when the contents haven't changed
...
By doing this, the command will finish faster if the user canceled
the editing.
2020-09-19 15:25:07 +09:00
2017A7PS0125G
cd3e9c44cf
gofmted file
2020-09-19 00:59:35 +05:30
2017A7PS0125G
5b413da745
Emoji parsing in Readme content
2020-09-19 00:24:22 +05:30
Nate Smith
3829888a96
Merge pull request #1766 from mmontes11/view-specific-branch-of-repo
...
Added option to specify branch in gh repo view
2020-09-18 12:41:07 -05:00
yuuji.yaginuma
4f3d0e5f7b
Fix short description of gist
...
The `gist` command allows doing other operations than
`create`(like `edit`, `view`, etc). So I think that `manage`
is more appropriate to the description.
2020-09-18 14:21:02 +09:00
Cristian Dominguez
0b8c964a41
Fix gist ID extraction from url
2020-09-17 23:48:25 -03:00
Martín Montes
381d1a1cdb
Added option to specify branch in gh repo view
2020-09-17 23:28:15 +02:00
Mislav Marohnić
859bf445e7
Merge pull request #1738 from Foxboron/morten/accept-tar
...
shared/upload: Add .tar format
2020-09-17 19:01:31 +02:00
Morten Linderud
c9b9478b5c
shared/upload: Add .tar format
...
Currently the mimecap package is an requirement to pass the test suite,
as we need /etc/mime.types to recognize the tar extension. A better idea
is to inline all of the basic test cases for the test suite.
Signed-off-by: Morten Linderud <morten@linderud.pw>
2020-09-17 17:55:25 +02:00
Mislav Marohnić
ae86361c25
Document gh config set pager ... option
2020-09-16 19:11:07 +02:00
Mislav Marohnić
b2e36a0979
Merge pull request #1706 from cli/base-resolve
...
Improve repository base and head resolution
2020-09-16 18:53:21 +02:00
Nate Smith
bdadb3058b
Merge pull request #1699 from cli/more-gists
...
bunch of gist stuff
2020-09-16 11:36:54 -05:00