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
div_bhasin
8b0618f45e
refactoring
2020-10-17 16:13:42 -04:00
div_bhasin
5f67ddc975
added to repo struct and working on fetching merge opts for repo
2020-10-17 13:12:26 -04: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
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
AliabbasMerchant
8487a18169
Warn when an unknown config key is set
2020-10-13 15:56:54 +05:30
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
Waldir Pimenta
10e1c5260c
Suggested changes from PR review
2020-10-12 13:10:52 +01:00