Commit graph

4761 commits

Author SHA1 Message Date
Nate Smith
a6710ec506
Merge pull request #3924 from cli/rest-org-repo-bug
fix repo create in org with license/ignore
2021-06-30 16:49:34 -07:00
Nate Smith
717c91c912
Merge pull request #3922 from cli/fix-branch-protection
Fix bug where branchProtectionRule doesn't exist in enterprise 2.22
2021-06-30 15:46:33 -07:00
vilmibm
589b695bcf test for org + license/ignore 2021-06-30 17:41:39 -05:00
vilmibm
202168ee8d add nebula preview 2021-06-30 17:38:07 -05:00
vilmibm
2723a01760 fix repo generation in org with license/ignore 2021-06-30 17:21:58 -05:00
Sam Coe
e5b099b1dd
Fix bug where branchProtectionRule doesn't exist in enterprise 2.22 2021-06-30 09:47:30 -07:00
bchadwic
af2499cb69 renamed func RGB to HexToRGB 2021-06-29 22:35:23 -07:00
bchadwic
4c412bc88c Added in label rgb functionality for both prs and issues 2021-06-29 22:26:41 -07:00
Sam Coe
a1e1842e6d
Catch a couple more edge cases 2021-06-29 20:48:30 -07:00
Sam Coe
b514d22f1e
Fix issue in FindEntry that causes extensions and alias crash 2021-06-29 15:01:00 -07:00
vilmibm
3cc4c40dcb pin goreleaser version 2021-06-29 13:52:10 -05:00
Nate Smith
554250bc4e
Merge pull request #3779 from jgold-stripe/unix
Add ability to dial API via unix socket
2021-06-29 09:46:33 -07:00
Nate Smith
0474ba686d
Merge pull request #3773 from bchadwic/first-browse-pull
Feature/Create browse command
2021-06-29 09:17:30 -07:00
Sam
33c3fb5cdd
Merge pull request #3870 from cli/extensions-revisited
Improvements to gh extensions
2021-06-28 17:12:29 -07:00
Sam Coe
0b80c30789
Fix remote resolving for source repo 2021-06-28 17:00:06 -07:00
Nate Smith
7fc0acd8a5
Merge pull request #3746 from g14a/feature/repo-with-gitignore-license
Feature/create repo with gitignore license
2021-06-28 14:57:31 -07:00
nate smith
6c984f4512 remove dead code 2021-06-28 14:36:51 -05:00
Nate Smith
c33b7d0c22
Merge pull request #3807 from camillesf/nonempty_fork_org
repo fork: check that --org is not the empty string
2021-06-28 11:16:30 -07:00
Sam Coe
0477084a30
remove now unused color code 2021-06-28 10:57:01 -07:00
jonathan gold
666ed2f3d9 Apply value of http_unix_socket if present in config 2021-06-25 11:47:24 -07:00
jonathan gold
5f162561ac Add config handling for http_unix_socket 2021-06-25 11:47:22 -07:00
jonathan gold
fb54cae00e Add package httpunix 2021-06-25 11:26:21 -07:00
jonathan gold
fc3dec4a58 Change signature of NewHTTPClient to accomodate errors 2021-06-25 11:26:21 -07:00
Sam
c3e6fccabe
Merge pull request #3890 from Yuuki77/fix-artifact-download
Fix `gh run download fails on large artifacts due to uint32 limitation`
2021-06-25 09:32:11 -07:00
Yuki Osaki
e804053777 change unit 32 to unit 64 2021-06-25 14:32:45 +09:00
Jose Garcia
897ab1598b RPC functionality started take two 2021-06-24 20:45:03 -04:00
Jose Garcia
a8b1b87f7b Start of RPC implementation, need to figure out format 2021-06-24 20:44:16 -04:00
Sam Coe
5481b2b5e6
Move dirty repo check before any network calls 2021-06-24 09:08:36 -07:00
Jose Garcia
8eba57a9ed initial commit 2021-06-23 20:00:24 -04:00
Sam Coe
8219710551
Address PR comments 2021-06-23 14:20:14 -07:00
Sam Coe
0e838052a4
Rewrite tests with new mocks 2021-06-23 12:01:58 -07:00
Gowtham Munukutla
5c7da584e5 clone remote repo after creating with gitignore and license 2021-06-23 10:21:28 +05:30
Gowtham Munukutla
9ecbdb26c5 Merge branch 'trunk' of https://github.com/cli/cli into feature/repo-with-gitignore-license 2021-06-23 09:28:20 +05:30
Nate Smith
640a089e55
Merge pull request #3850 from chemotaxis/fix-actions-help
Print help even if logged out
2021-06-22 14:24:06 -07:00
Nate Smith
654336fe64
Merge pull request #3871 from jonlorusso/trunk
Update documentation for gist create command with default of secret
2021-06-22 14:20:02 -07:00
Sam Coe
4ed2bfc4a0
Revert "Add counterfeiter"
This reverts commit 096f30a319.
2021-06-22 13:55:30 -07:00
Sam
68f2e77c9f
Merge pull request #3877 from autopp/complete-state-flag
Add shell completion for the `--state` flag
2021-06-22 11:49:01 -07:00
Sam Coe
1302b71fa7
linter 2021-06-22 11:41:22 -07:00
Sam Coe
e0468dbb29
whitespace 2021-06-22 11:39:47 -07:00
Sam Coe
665f552def
Small reordering 2021-06-22 11:37:56 -07:00
Jon Lorusso
22235c2f97
Update documentation for gist create command to reflect default of secret. 2021-06-21 11:25:49 -04:00
Mislav Marohnić
42efc3f25a Fix test cleanup on Windows 2021-06-21 17:22:17 +02:00
Mislav Marohnić
f99191ea6f Enable setting an alias for an extension command 2021-06-21 16:54:08 +02:00
Mislav Marohnić
1ec47d8191 Improvements to gh extensions
- Extensions on Windows now enabled through the `sh.exe` interpreter
- `sh.exe` now found on Windows when git was installed via scoop
- `gh extensions list` command shows origin repo for the extension
- `gh extensions upgrade --all` is required to upgrade all extensions
- Added `gh extensions remove`
- Shell completions now include aliases and extension names
- `gh` help output now lists available extension names
- Extensions are stored to XDG_DATA_HOME
2021-06-21 16:54:08 +02:00
autopp
0179651dc3
Add shell completion for the --state flag 2021-06-20 20:03:21 +09:00
Cristian Dominguez
6115868343 Suggest to enable auto-merge when PR merge state is BLOCKED 2021-06-19 11:46:17 -03:00
Cristian Dominguez
498f15653e Simplify auto-merge detection 2021-06-19 01:40:28 -03:00
chemotaxis
b0f58d0cf0 Disable authentication check, but keep runnable
In this branch, we originally avoided the authentication check by
getting rid of the run method attached to the command.  Instead of that,
this commit makes the `gh actions` command runnable again, but the
authentication is disabled with `cmdutil.DisableAuthCheck`; this mirrors
what's done for `gh version`.

`gh actions` and `gh actions [-h | --help]` all work while being logged
out.

In addition, this commit restores some original behavior.  Before this
commit, the help footer (usage, inherited flags, etc.) is appended
whether you use `gh actions` or `gh actions --help`.  This commit
restores the original behavior where `gh actions` prints just the text
for the actions explanation, but `gh actions --help` appends the help
footer.
2021-06-18 23:43:42 -04:00
chemotaxis
1c103e20ac Always try to render bold font
It looks like a similar check is done in ColorScheme.Bold() where it
checks whether the scheme is enabled or not.
2021-06-18 23:07:31 -04:00
Nate Smith
936d6e1a8f
Merge pull request #3856 from cli/isolate-config-in-tests
Ensure that tests for command factory never read from user's config
2021-06-18 14:03:02 -07:00