Commit graph

2676 commits

Author SHA1 Message Date
Cristian Dominguez
c6938941d5 Fix typo 2020-10-23 22:32:26 -03:00
Cristian Dominguez
69b64507ea Add support for git flags in gh repo fork 2020-10-23 19:08:55 -03: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ć
7d317a81be
Merge pull request #1622 from ShubhankarKG/prMergeConfirmations
PR Merge confirmations
2020-10-16 20:17:54 +02:00
Ryan Nystrom
02883a89e3 add tests 2020-10-16 15:59:41 +00:00
Ryan Nystrom
93bc389269 Add scopes flag to login 2020-10-15 22:04:18 +00:00
Mislav Marohnić
02f494693c
Merge pull request #2190 from quiye/issues-data-race
Fix issue label overrides caused by pagination
2020-10-15 13:42:30 +02:00
Mislav Marohnić
e270cdb29e Simplify test to avoid use of reflect 2020-10-14 15:54:42 +02:00
Mislav Marohnić
813fbc9b8d Ensure that we don't reuse the same deserialization struct over pagination iterations
This is to avoid subtle deserialization issues in nested slices.
2020-10-14 15:38:21 +02:00
zamasu
a90b62fb6c Fix parsing labels in paginated IssueList 2020-10-14 15:32:45 +02:00
Mislav Marohnić
2565c9dc24
Merge pull request #2186 from cli/help-wanted-docs
Improve contributing documentation
2020-10-14 12:02:00 +02:00
Jonathan Lloyd
8f44aee76a Load repo and parent in single query 2020-10-13 20:41:16 +01:00
Mislav Marohnić
bd25dae5e0 Update triaging docs 2020-10-13 18:07:05 +02:00
Mislav Marohnić
d66fd2fe9e Remove needs-user-input from "please avoid"
The user input might have come in a reply already, but the maintainers
haven't gotten around to remove the stale label yet. This shouldn't
prevent someone from submitting a PR.
2020-10-13 18:06:00 +02:00
Mislav Marohnić
ef907463d9 Fix label links 2020-10-13 18:05:27 +02:00
Mislav Marohnić
b3f64acc55 Clarify contributions section 2020-10-13 17:44:13 +02:00
Mislav Marohnić
3d734a5e7e Merge remote-tracking branch 'origin' into help-wanted-docs 2020-10-13 17:43:12 +02:00
Mislav Marohnić
bb6a571ab5 Tweak contributing guidelines 2020-10-13 16:40:40 +02:00
Mislav Marohnić
f87b684447
Merge pull request #2156 from waldyrious/patch-2
Improve installation instructions in README
2020-10-13 13:24:00 +02:00
zamasu
d4e6fc11d7 Add int32 validation to milestone numbers 2020-10-13 08:36:47 +09:00
Jonathan Lloyd
a5ec03d000 Improve test args 2020-10-12 23:57:47 +01:00
Jonathan Lloyd
487b62d3b9 Clone repos using canonical username/repo name capitalization
GitHub user/repo names are case insentitive. This can cause issues when dealing with
repos programmatically using systems that aren't aware of this (e.g. go packages).

This commit updates the cloning logic of the CLI to query the API for the canonical
capitalization and uses that for the clone operation.

Fixes: #1845
2020-10-12 23:39:18 +01:00