Giuseppe
35f9c0ee29
Make fork --remote-name=origin rename origin
...
If user passes `origin` as the remote name
pointing to forked repository, it's likely
she wants to rename origin as upstream.
2018-03-14 15:49:26 +01:00
Keshav Goyal
944f3c7430
README.md ( #1694 )
2018-03-12 12:19:33 +01:00
Mislav Marohnić
2e88261285
Shorten Windows instructions
...
[ci skip]
2018-03-08 13:41:57 +01:00
Mislav Marohnić
be21e28e25
Merge pull request #1693 from rasa/patch-1
...
Add install instructions for scoop on Windows
2018-03-08 13:38:31 +01:00
Ross Smith II
d30b227733
Add install instructions for scoop on Windows
2018-03-07 22:06:11 -08:00
Mislav Marohnić
dbe8a5d7a0
Fix checking for existing repo in `fork`
...
When querying `foo/bar` repo redirects elsewhere, assume that `foo/bar`
is available. Fixes #1685
2018-02-22 13:50:38 +01:00
Mislav Marohnić
ac70b8edd5
Add `sync` command to shell completion scripts
...
Fixes #1549
2018-02-21 13:40:59 +01:00
Mislav Marohnić
faa7e3e9d7
Ignore `bundle/` directory when searching
2018-02-21 13:40:34 +01:00
Mislav Marohnić
a80a1c591c
Merge pull request #1681 from 0xmohit/doc
...
Document sync command in help
2018-02-16 11:13:27 +01:00
Mike McQuaid
30c02dd2f5
Merge pull request #1682 from github/contributing-license
...
CONTRIBUTING: note license.
2018-02-16 09:31:04 +00:00
Mike McQuaid
696d9c0936
CONTRIBUTING: note license.
...
This is to be more explicit about the contribution process and license.
2018-02-16 09:09:22 +00:00
Mohit Agarwal
b37ac4d5d6
document -b option for compare command
2018-02-15 19:10:42 +05:30
Mohit Agarwal
5ccc4749f3
document sync command in help
2018-02-15 19:09:57 +05:30
Mislav Marohnić
f894442e29
Merge branch 'darrenwee-implement-label-list-color'
2018-01-30 22:19:18 +01:00
Mislav Marohnić
3abe361efa
Add missing tests for `hub pr list`
2018-01-30 22:18:25 +01:00
Mislav Marohnić
cd443ec234
Style tweaks
2018-01-30 22:15:58 +01:00
Mislav Marohnić
d0639534f4
Explicitly opt into color mode for `hub issue labels`
...
The default colored output isn't very useful when labels stand on their own.
2018-01-30 22:10:57 +01:00
Darren Wee
d7906101aa
Fix oopsie in test case.
...
Forgot to change expected result after changing labels functionality.
2018-01-31 00:40:32 +08:00
Darren Wee
4c23d43cd8
Add no-color argument for labels command
2018-01-31 00:22:54 +08:00
Darren Wee
5a6ebcfd3c
Remove ui.Expand call and placeholder map
2018-01-30 22:42:13 +08:00
Darren Wee
7365f03f8a
Move NoForward to before Noop catch
2018-01-30 22:08:55 +08:00
Darren Wee
7de9e5c3b8
Extract colorizeLabel
2018-01-30 22:08:13 +08:00
Darren Wee
15d3ac848e
Fix oopsie (added extra newline by accident)
2018-01-30 19:45:04 +08:00
Darren Wee
8edd49eaaf
Fix expected test case (pre-colorization)
2018-01-30 19:39:15 +08:00
Mislav Marohnić
ba544e7e5e
Merge pull request #1666 from github/list-pulls
...
Add `hub pr list` command to list pull requests
2018-01-30 12:34:10 +01:00
Mislav Marohnić
674fe7d9d8
Add `hub pr list` command to list pull requests
2018-01-30 12:26:38 +01:00
Darren Wee
672dcc9b05
Merge label.feature into issue.feature.
2018-01-30 18:33:25 +08:00
Darren Wee
1bba7367b1
Merge commands/labels.go into commands/issue.go.
...
Merging is for consistency of organization, since 'labels' is a
sub-command of 'issue', as is 'create', which is also inside
commands/issue.go.
Extract getSuitableTextColor in commands/issue.go as a result of
merger.
2018-01-30 18:22:19 +08:00
Darren Wee
354524099f
Rename label.go to labels.go to match command word
2018-01-30 18:14:01 +08:00
Darren Wee
a173beda4e
Clean up listLabels by removing unnecessary else branch.
2018-01-30 18:07:43 +08:00
Darren Wee
db1a2e0614
Add basic coloring functionality for labels.
...
(based off commands/issue.go)
2018-01-30 17:52:30 +08:00
Darren Wee
7ecc60770b
Rename command word from 'label' to 'labels'.
...
'hub issue labels' makes more semantic sense to retrieve all
available labels from the issue tracker. The command 'label'
sounds like the imperative form, i.e. to label an issue.
2018-01-30 17:01:06 +08:00
Darren Wee
5cd5882c34
Merge branch 'elj/label-list' of https://github.com/eljobe/hub into implement-label-list-color
2018-01-30 16:56:03 +08:00
Mislav Marohnić
9c2d6c2b00
Merge pull request #1581 from patheticpat/limit-flags
...
Add limit flag for issue and release commands
2018-01-29 23:49:39 +01:00
Mislav Marohnić
91193b5273
Disallow limit = 0
2018-01-29 23:43:43 +01:00
Mislav Marohnić
a2fb6670bb
Smarter `per_page` HTTP query when limiting results
...
If the result limit is N, the default `per_page` will be `N + N/2`
instead of the default 100. This aims to achieve faster API requests for
relatively low values of N.
2018-01-29 23:41:23 +01:00
Mislav Marohnić
31ab5e5147
Fix limiting number of results from `release`, `issue`
...
- Stops HTTP pagination once the limit has been reached
- Cleans up client implementation by passing around a filter block
2018-01-29 23:30:41 +01:00
Mislav Marohnić
420d2121ed
Merge remote-tracking branch 'origin/master' into limit-flags
2018-01-29 22:54:30 +01:00
Mislav Marohnić
70e63ece56
No commit signature in default pull request message
...
Fixes #1379
2018-01-29 22:40:36 +01:00
Mislav Marohnić
1ccbb6444a
Merge pull request #1665 from github/no-octokit
...
Remove go-octokit dependency
2018-01-29 21:28:55 +01:00
Mislav Marohnić
945067d771
Avoid `dep` clashing with Bundler
...
`dep` aggressively prunes everything under `vendor/`. Unfortunately,
this consistently nukes the contents of `vendor/bundle` directory.
2018-01-29 20:59:23 +01:00
Mislav Marohnić
85b4e34135
Remove octokit dependency
2018-01-29 20:59:23 +01:00
Mislav Marohnić
ba01855cc2
Authenticate with GitHub API without octokit
2018-01-29 20:59:23 +01:00
Mislav Marohnić
04fa2016fc
Create a repository without octokit
2018-01-29 20:59:23 +01:00
Mislav Marohnić
de6a2bd58d
Fetch repository information without octokit
2018-01-29 20:59:22 +01:00
Mislav Marohnić
77d734b0a9
Obtain PR/commit patches without octokit
2018-01-29 20:19:14 +01:00
Mislav Marohnić
ebb883d154
Fetch raw gists without octokit
2018-01-29 20:19:13 +01:00
Mislav Marohnić
816518dea0
Merge pull request #1664 from github/dep
...
Swich to vendoring dependencies with `dep`
2018-01-29 16:28:20 +01:00
Mislav Marohnić
f96acf03c8
Add developer docs for using `dep`
...
[ci skip]
2018-01-29 16:26:58 +01:00
Mislav Marohnić
e76c77f3d7
Compensate for API changes in latest go-octokit
2018-01-29 16:15:20 +01:00