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

3037 Коммитов

Автор SHA1 Сообщение Дата
Mislav Marohnić f6ebe22633 [gist] Improve error handling on create operation 2019-10-07 12:31:43 +02:00
Phil Dibowitz c9f3dc0c23 Code review fixes
* Stop using GenericAPIRequest
* Move GH interactions and structs to `client.go`
* Catch scopes problems
2019-10-05 16:11:54 -07:00
Phil Dibowitz 1e35be83c1 Make a gist command
This addresses #2226 and #2116 by creating a `gist` subcommand.

This allows you to both create and retrieve gists. When creating a gist
it can be public or private.

In order to do this, the `gist` scope is added to the token we request.

Closes: #2226
Closes: #2116

Signed-off-by: Phil Dibowitz <phil@ipom.com>
2019-09-16 23:55:58 -07:00
Mislav Marohnić 7496b3dab3
Merge pull request #2258 from lwolfsonkin/fish-completions-hub-pr
Added `hub pr` fish completions and wrapped `git` completions
2019-09-13 11:17:50 +02:00
Lawrence 7efbf964b1 Added `hub pr` fish completions and wrapped `git` completions
* Redefined `__fish_hub_using_command` to support multiple commands (such as `hub pr list`)
* Added `hub pr list` and `hub pr checkout` along with their options
2019-09-07 19:41:06 -04:00
Mislav Marohnić 4aba585417 hub 2.12.4 2019-09-06 14:00:06 -07:00
Mislav Marohnić 51ee76e69e
Merge pull request #2256 from github/github-repository-env
Make hub easier to use from GitHub Actions
2019-09-06 13:59:08 -07:00
Mislav Marohnić 4a107fd264 [docs] Expand list of supported environment variables 2019-09-06 13:54:02 -07:00
Mislav Marohnić 46897a1cc9 [docs] Clarify how GITHUB_REPOSITORY is used 2019-09-06 13:53:30 -07:00
Mislav Marohnić c9dac78bb7 [auth] Infer GITHUB_USER value from GITHUB_REPOSITORY
This allows hub to be easier used within GitHub Actions where GITHUB_REPOSITORY is pre-populated by default. If GITHUB_USER is not set in the environment, its value is inferred from the part of GITHUB_REPOSITORY value until the first slash character.
2019-09-03 16:43:08 -07:00
Mislav Marohnić 2fa955aed2 Merge branch 'add-ubuntu-instructions'
[ci skip]
2019-08-23 16:55:08 +02:00
Mislav Marohnić e5e57a31d1 [docs] Condense package managers section 2019-08-23 16:54:59 +02:00
Mislav Marohnić 378107318e [docs] Tweak usage example 2019-08-23 16:36:58 +02:00
Mislav Marohnić 5dca79fa94 [docs] Simplyify building from source for Go 1.11 modules 2019-08-23 16:34:15 +02:00
Mislav Marohnić caaf282b63 [docs] Shorten installation instructions 2019-08-23 16:34:12 +02:00
Mislav Marohnić 01133e6f84 [docs] Tweak Ubuntu instructions 2019-08-23 16:34:09 +02:00
Mislav Marohnić 60d3d2cd8f Merge remote-tracking branch 'origin' into add-ubuntu-instructions 2019-08-23 16:24:19 +02:00
Mislav Marohnić 5a6f8f9702
Merge pull request #2238 from whuang8/hub-api-string-interpolation
hub api url generation fixes
2019-08-23 16:10:31 +02:00
whuang8 3b97144f70 [api] Replace all occurrences of `{owner}` and `{repo}` 2019-08-23 15:18:00 +02:00
Mislav Marohnić 7dbb5db1fc
Merge pull request #2240 from github/ci-server-boot
Update Cucumber and Aruba test runners
2019-08-22 00:55:43 +02:00
Mislav Marohnić 2157016f65 Speed up setting environment variables in Aruba 2019-08-22 00:16:29 +02:00
Mislav Marohnić ce5d885866 Clean up obsolete step 2019-08-22 00:16:29 +02:00
Mislav Marohnić 15d4bc951c Speed up cucumber tests
This replaces Aruba's usage of ChildProcess with `popen3`. It supports
no process timeouts, but damn it's fast.
2019-08-22 00:16:29 +02:00
Mislav Marohnić 14fc5cba27 🔥 obsolete Aruba tweaks 2019-08-21 19:55:03 +02:00
Mislav Marohnić 7ba028e771 Typos in variable names 2019-08-21 19:54:50 +02:00
Mislav Marohnić 41fe71d899 Fix tweaking Aruba exit timeout 2019-08-21 19:54:19 +02:00
Mislav Marohnić 08fe8265bd Fix whitespace in cukes
https://travis-ci.org/github/hub/jobs/574964882
2019-08-21 19:53:45 +02:00
Mislav Marohnić 8d50944b2f Leverage `run_command_and_stop` from Aruba 2019-08-21 19:17:46 +02:00
Mislav Marohnić a64f9d5939 Switch to "the output should not contain anything" built-in step 2019-08-21 18:23:50 +02:00
Mislav Marohnić 09285c4872 Fix matching variable output such as `$HOME` for new Aruba 2019-08-21 18:22:48 +02:00
Mislav Marohnić dbef9c5425 🔥 `in_current_directory` 2019-08-21 17:54:23 +02:00
Mislav Marohnić 613f964a6b Update Aruba to 1.0.0 prerelease 2019-08-21 17:53:25 +02:00
Mislav Marohnić 28f18d099e Update Cucumber 2019-08-21 17:33:11 +02:00
Mislav Marohnić a770e967c6 Timeout::Error 2019-08-21 17:29:55 +02:00
Mislav Marohnić 9589d6142c Fix `submodule add` cukes
No idea how this was suddenly broken! :/
2019-08-21 17:29:33 +02:00
Mislav Marohnić 11c6418747 Misc. Aruba compatibility 2019-08-21 17:29:00 +02:00
Mislav Marohnić 9a8bf6c881 Aruba compatibility re: current dir and subcommands 2019-08-21 17:27:57 +02:00
Mislav Marohnić 48f8c34ebd Aruba compatibility for environment variables 2019-08-21 17:21:53 +02:00
Mislav Marohnić 7c0f244e19 Bump dependencies 2019-08-21 17:19:09 +02:00
Mislav Marohnić 29d99d0412 Retry starting up local API server before failing
Attempts to address intermittent "Rack application timed out during boot"
https://travis-ci.org/github/hub/jobs/574770004
2019-08-21 12:07:44 +02:00
Mislav Marohnić 32e2de369b
Merge pull request #2237 from JPry/bug/branch_quoting
Change quotes in Sync command to be consistent with Git style
2019-08-21 11:34:22 +02:00
Jeremy Pry 4e903f801f
Add quotes around branch name in warning 2019-08-20 10:48:28 -04:00
Jeremy Pry 2da382e555
Use consistent quotes around branch names
Fixes #2233.
2019-08-20 10:44:54 -04:00
Mislav Marohnić 1787dd9de1
Merge pull request #2225 from whuang8/pr-list-comments-removal
Remove NC/Nc from pr list formatting
2019-08-20 09:42:59 +02:00
whuang8 6a7b8c7a60 Remove added whitespace 2019-08-19 20:40:44 -05:00
whuang8 858d487006 Remove unnecessary function 2019-08-19 20:39:29 -05:00
Mislav Marohnić eb5401b585
Merge pull request #2211 from vilmibm/modules-note
Tweak Makefile to support older Go versions' backported module support
2019-08-19 23:20:38 +02:00
Nate Smith ad1986b281 tweak Makefile settings for module support 2019-08-19 14:16:08 -04:00
Mislav Marohnić 3edbd86fab
Merge pull request #2218 from tpope/empty-alias-error
Fix error message on hub --paginate
2019-08-19 15:41:56 +02:00
Mislav Marohnić be6c61191f
Merge pull request #2216 from issyl0/linuxbrew_update_readme
README: Replace "Linuxbrew" with "Homebrew on macOS or Linux"
2019-08-19 15:36:28 +02:00