Граф коммитов

2683 Коммитов

Автор SHA1 Сообщение Дата
Bernhard M. Wiedemann 66399a4e3a Speed up man page generation
by a factor of 3
Without this patch, using make -j
built every man page and html page 25 times

Now, man pages are always generated in a single ronn call
after all .ronn files are made.

Workarounds GNU make bug https://savannah.gnu.org/bugs/?54854
2018-10-17 14:28:32 +02:00
Mislav Marohnić 70a5493539
Merge pull request #1896 from borsothy/ci-status-exit-code
Fixed CI status check exit code.
2018-10-10 14:11:18 -07:00
Gergely Borsothy-Gaal 56f1d390e4 Fixed CI status check exit code. 2018-10-10 11:57:49 +02:00
Mislav Marohnić 3c8b674faa Use canonical repo for `hub release` operations
For `hub release show`, `MainProject()` was used to fetch the canonical
repo of the current project. However, the `create`, `edit`, and `delete`
operations used `CurrentProject()` most likely by mistake. This caused
the `hub release edit` operation, for example, to be potentially
performed against a fork rather than the canonical repo, depending on
the currenly checked out branch.

Fixes #1881
2018-09-27 11:51:54 +02:00
Mislav Marohnić de684cb613 Tweak `pull-request -F` example in the documentation
[ci skip]
2018-09-06 12:57:45 +02:00
Mislav Marohnić a053739001 Add examples to `pull-request` documentation
Fixes #1866 [ci skip]
2018-09-06 12:55:39 +02:00
Mislav Marohnić 2d4b6cb6b9 Clarify `hub merge` behavior
Fixes #1863 [ci skip]
2018-09-03 14:28:44 +02:00
Mislav Marohnić 30bfd9e1a6
Merge pull request #1860 from nikolas/patch-1
commands/clone: fix typo in docs
2018-08-31 19:48:18 +02:00
nikolas f316e55cd8
commands/clone: fix typo in docs 2018-08-31 13:38:04 -04:00
Mislav Marohnić 24fefa3dcf Merge branch 'create-rename-check' 2018-08-31 13:06:08 +02:00
Mislav Marohnić d3ac6c474b Fix `hub create` in place of a renamed repo
If you're trying to create `owner/foo` repo and there is an existing
redirect from `owner/foo` to a differently name repo, don't consider
that one as an existing repo and proceed with creating `owner/foo`.
2018-08-31 13:00:04 +02:00
Mislav Marohnić d6a9a445c0 Clean up trailing whitespace 2018-08-29 16:43:03 +02:00
Mislav Marohnić 1805fbdb3e Test with Go 1.11 2018-08-29 16:42:15 +02:00
Mislav Marohnić ecc4df4425
Merge pull request #1855 from nrmitchi/publicprivateoopsies
Prevent setting a public upstream when creating a private repo.
2018-08-28 22:15:52 +00:00
Mislav Marohnić 81c4f07371
Fix `hub create -p` test for private/public repos 2018-08-28 23:57:37 +02:00
Nick Mitchinson 8ab3b3366c Address recent comment 2018-08-28 14:00:54 -05:00
Nick Mitchinson 249c47f918 First attempt at adding tests 2018-08-28 13:51:33 -05:00
Nick Mitchinson c9cc29c0f8 Updates based on PR 2018-08-28 08:57:51 -05:00
Nick Mitchinson 7639c2608a Prevent setting a public upstream when creating a private repo.
Fixes #1854
2018-08-28 02:01:48 -05:00
Mislav Marohnić 4f0f0cf25c Add test for unrelated `origin` remote existing on `hub create`
https://github.com/github/hub/issues/1849
2018-08-27 20:05:18 +02:00
Mislav Marohnić 15304dfec4 hub 2.5.1 2018-08-23 15:59:27 +02:00
Mislav Marohnić f58a8c579d
Merge pull request #1844 from github/issue-template-directory
Handle case of `.github/ISSUE_TEMPLATE` directory
2018-08-23 13:56:02 +00:00
Mislav Marohnić 54a20cf2ba Add more documentation about git protocol to hub-clone(1)
Fixes #1813 [ci skip]
2018-08-23 15:53:05 +02:00
Mislav Marohnić 5e2d072a9a Handle case of `.github/ISSUE_TEMPLATE` directory
Ignore the directory of multiple issue templates for now. In the future,
there might be a way to pick a specific template from the list; this
change is just to prevent crashes.

Fixes #1822
2018-08-23 15:38:34 +02:00
Mislav Marohnić 6466106696
Merge pull request #1843 from github/checks-ghe-compatibility
Handle more cases when Checks API is unavailable
2018-08-23 13:00:53 +00:00
Mislav Marohnić 4731dee88e
Merge pull request #1842 from github/avoid-rerequesting-reviewers
Avoid re-requesting reviewers in case of CODEOWNERS
2018-08-23 13:00:34 +00:00
Mislav Marohnić 75e862495c Ignore crash for malformed config file
Fixes #1837
2018-08-23 14:59:47 +02:00
Mislav Marohnić 661d2e2a27 `ci-status`: handle more cases when Checks API is unavailable
Older Enterprise hosts won't have Checks API, but we still want `hub
ci-status` to work with them. It seems like a HTTP 403 is returned in
that case, so we can safely ignore it. Also ignore HTTP 404 just in case.

Fixes #1821
2018-08-23 14:50:29 +02:00
Mislav Marohnić 8030c3b6ac Stop requesting `thor-preview` in API requests
It wasn't necessary for github.com since December 2017.
2018-08-23 14:39:24 +02:00
Mislav Marohnić adcfd980d3 Avoid re-requesting reviewers in case of CODEOWNERS
Requesting a review via `hub pull-request -r foo` would print a
misleading error message that `foo` couldn't be requested for review in
case `foo` was already requested per CODEOWNERS.

Fixes #1840
2018-08-23 14:39:11 +02:00
Mislav Marohnić b3ef319bf5 Handle a slightly different HTTP 422 message format
This is to avoid a crash in Unmarshal. #1840
2018-08-22 18:19:16 +02:00
Mislav Marohnić c60ca203c9
Merge pull request #1825 from anand-sundaram-zocdoc/as_fix_code_link
Update link to code of conduct
2018-08-06 16:54:12 +02:00
Anand Sundaram 9261866892 docs: remove explicit reference to name of obsolete code of conduct in link 2018-08-06 10:30:15 -04:00
Anand Sundaram 72d70b06f6 docs: fix link to code of conduct from contributing doc 2018-08-06 10:28:16 -04:00
Mislav Marohnić fba7396968 Fix `hub init -g` documentation
`hub init` doesn't imply `hub create`. I've written wrong documentation
in 0a45aa8ddc

Fixes #1810
2018-07-16 11:37:00 +02:00
Mislav Marohnić 0520fab1b3 hub 2.5.0 2018-07-07 15:08:06 +02:00
Mislav Marohnić e3bf3bc971 Remove instructions about Chocolatey on Windows
The `hub` package is out of date and repeated attempts to contact the
maintainer and take over the package have failed.

https://chocolatey.org/packages/hub
https://github.com/github/hub/issues/1288
https://github.com/twsouthwick/github-hub-chocolatey/issues/1
2018-07-07 15:07:27 +02:00
Mislav Marohnić d293f54461
Merge pull request #1802 from github/checks-api
Have `ci-status` also query Checks API
2018-07-07 14:44:11 +02:00
Mislav Marohnić ecaafce407 Have `ci-status` also query Checks API
The results of Status and Checks API are merged together.

Fixes #1787
2018-07-07 14:37:41 +02:00
Mislav Marohnić 7dad4e4f8c
Merge pull request #1801 from github/custom-commands-docs-completions
Fix integration with git 2.18 shell completions
2018-07-07 13:47:01 +02:00
Mislav Marohnić f1771054ca Fix tests broken by `--list-cmds` hacks 2018-07-07 13:35:00 +02:00
Mislav Marohnić 2b5bea7d65 Move `--exec-path` scenario to more suitable file 2018-07-07 12:38:04 +02:00
Mislav Marohnić d7ef572416 Fix integration with git 2.18 shell completions
Wrap `git --list-cmds=others` command used by git built-in shell
completions to add a list of hub custom commands.

Fixes #1792
2018-07-07 12:38:02 +02:00
Mislav Marohnić 698721b20e Ensure all custom commands are listed in docs and shell completions 2018-07-06 22:25:22 +02:00
Mislav Marohnić c75cb1ca68
Merge pull request #1797 from ehuss/patch-1
Fix example for fetch.
2018-07-06 13:51:05 +02:00
Mislav Marohnić c3a5556693
Merge pull request #1799 from joelanman/patch-1
Add documentation link to Readme

[ci skip]
2018-07-06 13:48:45 +02:00
Mislav Marohnić 6d8a333a13
Update link to usage documentation 2018-07-06 13:48:09 +02:00
Joe Lanman 3b40aa5e8f
Add documentation link to Readme 2018-07-06 10:12:13 +01:00
ehuss b50c329b0e
Fix example for fetch. 2018-07-05 19:36:30 -07:00
Mislav Marohnić 64e5fe6cbf Support `remote add -t BRANCH` argument 2018-06-26 17:24:33 +02:00