Commit graph

2696 commits

Author SHA1 Message Date
Sam Coe
47bf3c873b
Small releasing docs cleanup 2020-10-28 11:20:45 +03:00
Sam
edecb2e4f7
Merge pull request #2207 from cli/codespaces
[Codespaces] Support "integration" tokens
2020-10-27 15:37:02 +03:00
Mislav Marohnić
e74e4310bb
Merge pull request #2208 from cli/merge-confirmation-fixup
Restore backwards compatibility in scripted `pr merge`
2020-10-27 13:25:18 +01:00
Sam
1ed4f049a1
Merge pull request #2113 from cli/move-project-cards-fix
Fix moving all "Pending release" project cards to the "Done" column
2020-10-27 12:01:30 +03:00
Mislav Marohnić
4a8ab49cf1
Merge pull request #2183 from AliabbasMerchant/fix855
Warn when an unknown config key is set
2020-10-26 15:33:06 +01:00
Mislav Marohnić
2d04292d44 Improve git config set git_protocol example
It's better to set this per-host in general, since setting the top-level
`git_protocol` key will not have any effect if the per-host setting
exists, and it does by default for anyone who ran `auth login`.
2020-10-26 14:42:24 +01:00
Mislav Marohnić
ae7d42a876 Centralize all known configuration options 2020-10-26 14:42:04 +01:00
Mislav Marohnić
ec64363085 Merge remote-tracking branch 'origin' into fix855 2020-10-26 14:05:49 +01:00
Mislav Marohnić
c77e6afb03
Merge pull request #2294 from cli/fix-ldflags
Update LDFLAGS in goreleaser
2020-10-26 11:45:08 +01:00
Sam Coe
3fcd791c94
Update LDFLAGS in goreleaser 2020-10-26 09:11:10 +03:00
Nate Smith
78f047424b
Merge pull request #2205 from cli/garden-sigterm
Handle Ctrl-C in repo garden
2020-10-23 15:44:00 -05:00
Mislav Marohnić
c8b7dade30
Merge pull request #2262 from quiye/issue-report
Change feedback repo to github.com/cli/cli instead of cli/cli
2020-10-23 12:44:09 +02:00
Sam
d625e6e951
Merge pull request #2259 from cli/revert-zsh-fix
Add host back into repo flag description
2020-10-23 07:55:08 +02:00
zamasu
d5403fa5f5 Change feedback repo to github.com/cli/cli instead of cli/cli 2020-10-23 09:57:47 +09:00
Sam Coe
101bb90ab5
Add host back into repo flag description 2020-10-22 17:51:16 +02:00
Sam
d7d5a6b753
Merge pull request #2247 from cli/refactor-command-root
Change command package to be build package
2020-10-22 10:50:15 +02:00
Sam
093d0ffd1f
Merge pull request #2237 from cli/update-cobra
Update Cobra to v1.1.1
2020-10-22 10:35:23 +02:00
Mislav Marohnić
2afc462cd0
Merge pull request #2058 from wilso199/1942-api-hostname-flag 2020-10-21 18:50:21 +02:00
Mislav Marohnić
fbff1fcfd2 Clarify the --hostname flag 2020-10-21 16:45:06 +00:00
Mislav Marohnić
228191bf85 Document GH_HOST for api command 2020-10-21 16:43:48 +00:00
Mislav Marohnić
460d55f723 Move HostnameValidator to ghinstance 2020-10-21 16:31:20 +00:00
wilso199
3ecb9de1a7 Adding a hostname flag option for use with gh api 2020-10-21 16:31:20 +00:00
Mislav Marohnić
4b395c5dd2
Merge pull request #2234 from XD-DENG/stringsbuilder
Use strings.Builder for more efficient string concatenation
2020-10-21 18:22:43 +02:00
Ishida Yuya
7512d9131f
Get open and closed milestones when milestones are filtered by title (#2209) 2020-10-21 18:22:06 +02:00
Shrihan Kumar Padhy
f31e49fdff
Add a new config validation key called prompt (#2246) 2020-10-21 16:56:25 +02:00
Mislav Marohnić
744d9830dc
Merge pull request #2249 from ephelsa/fix-continue-browser-for-branch-slash-names
Fix continue browser for branch slash names
2020-10-21 14:12:22 +02:00
Mislav Marohnić
d5cb5574d0 💅 simplify generateCompareURL and test 2020-10-21 12:09:46 +00:00
Leonardo
d0bee19eaf Query escape branch names to allow branch/#123 names 2020-10-21 12:09:46 +00:00
Sam Coe
f0b534f92e
Move build to internal 2020-10-21 13:31:32 +02:00
Sam Coe
9df3bd9344
Change command pkg to build pkg 2020-10-21 11:16:49 +02:00
Sam Coe
0f8084d039
Move functions from command/root to main 2020-10-21 10:46:09 +02:00
Sam
9d6f5a8e75 Update spf13/cobra to v1.1.1 2020-10-20 09:02:50 +00:00
Sam
becb316308
Merge pull request #2177 from jonathanlloyd/use-canonical-capitalization-in-remotes
Clone repos using canonical username/repo name capitalization
2020-10-20 09:23:21 +02:00
Sam
869f5118c6
Merge pull request #2178 from quiye/milestone-int32-validation
Add int32 validation to milestone numbers
2020-10-20 09:17:22 +02:00
Sam
f8fd61cc6c
Merge pull request #2157 from rista404/print-auth-token-1514
Add ability to print auth token
2020-10-20 08:46:45 +02:00
Sam
5a8c0713c2
Merge pull request #2138 from cristiand391/validate-git-protocol-config
Validate git protocol config before setting it
2020-10-20 08:44:57 +02:00
XD-DENG
7e9f1c7147 Use strings.Builder for more efficient string concatenation
It minimizes memory copying.

Reference: https://golang.org/pkg/strings/#Builder
2020-10-19 20:51:51 +02:00
Ryan Nystrom
f1ea9102c4
Merge pull request #2201 from cli/rn/login-scopes
Add --scopes to login
2020-10-16 18:43:21 -04:00
Mislav Marohnić
14a222bade Let the receiver choose how to format the cfg.Set() value error 2020-10-16 18:54:36 +00:00
Cristian Dominguez
09401b30b6 Validate git protocol config before setting it 2020-10-16 18:54:25 +00:00
Mislav Marohnić
89529674f9 Restore backwards compatibility in scripted pr merge 2020-10-16 18:27:12 +00:00
Mislav Marohnić
7d317a81be
Merge pull request #1622 from ShubhankarKG/prMergeConfirmations
PR Merge confirmations
2020-10-16 20:17:54 +02:00
Mislav Marohnić
35517ebd77 Skip update notifier in Codespaces 2020-10-16 17:20:12 +00:00
Mislav Marohnić
4bda6fceec auth status: fix reporting the token source 2020-10-16 17:11:14 +00:00
Mislav Marohnić
53cea2667e Support "integration" tokens
Integration tokens are different than OAuth token in it that they don't report any `X-Oauth-Scopes` in response headers.
2020-10-16 17:11:14 +00:00
Mislav Marohnić
626be2a095 Fix formatting in MissingScopesError 2020-10-16 17:11:10 +00:00
Mislav Marohnić
38f0f607e9 🔥 outdated CheckScopes 2020-10-16 17:10:23 +00:00
Ryan Nystrom
02883a89e3 add tests 2020-10-16 15:59:41 +00:00
Mislav Marohnić
7660b66c6c go fmt 2020-10-16 14:07:01 +00:00
Mislav Marohnić
49378fb60f Handle Ctrl-C in repo garden 2020-10-16 13:20:23 +00:00