Mislav Marohnić
323ec75ef7
Remove obsolete auto-updater file
2020-03-05 14:13:05 +01:00
Mislav Marohnić
6740f5c163
Merge pull request #2489 from github/git-symbolic-ref
...
Use `git symbolic-ref` to read the branch name for HEAD
2020-03-03 14:31:44 +01:00
Mislav Marohnić
64cfcdd19e
Use `git symbolic-ref` to read the branch name for HEAD
...
This affects reading the current branch as well as reading the default
branch for a remote. Because we're no longer trying to read the ref
manually from the filesystem, this approach works with git worktrees.
2020-03-01 10:52:11 +01:00
Mislav Marohnić
badc983ab5
[pr] Indicate that you can do `git push` after `checkout`
...
Fixes #2467
2020-02-20 02:51:46 +01:00
Mislav Marohnić
3fb45107ec
[ci-status] Fix subject in docs
2020-02-19 23:15:38 +01:00
Mislav Marohnić
f3deae3593
Cleanup `*.zip` archive after `script/get` on Windows
2020-01-29 14:36:56 +01:00
Mislav Marohnić
2f1e6e091e
OK, really try to fix `script/get` for Windows
2020-01-29 14:31:30 +01:00
Mislav Marohnić
2b28a53b5b
Fix `script/get` for `MSYS_NT-*` host
2020-01-29 14:20:36 +01:00
Mislav Marohnić
d92a3108f7
Put Windows help files in the correct location
...
Fixes #2455
2020-01-27 11:23:51 +01:00
Mislav Marohnić
c455473ad8
Tweak README, improve usage docs
2020-01-25 21:44:20 +01:00
Mislav Marohnić
33f929397c
Merge pull request #2453 from github/github-actions
...
Add instructions for GitHub Actions
2020-01-25 15:21:15 +01:00
Mislav Marohnić
40e421edd2
Add instructions for GitHub Actions
2020-01-25 15:16:14 +01:00
Mislav Marohnić
572ea2990e
Ensure man pages are shown at full width
...
This helps `man` stay connected to the user's terminal
2020-01-25 13:58:02 +01:00
Mislav Marohnić
373d387eba
[ci] Fix bump-homebrew-formula-action step
...
COMITTER_TOKEN only has `public_repo` scope, so it can't verify the SHA2
sum of the download from under the SAML-protected `github` org
340b79ac78/checks
?check_suite_id=412124491
2020-01-21 17:02:20 +01:00
Mislav Marohnić
340b79ac78
hub 2.14.1
2020-01-21 15:28:56 +01:00
Mislav Marohnić
b4dfe6b0a2
[build] Fix `script/build` when outside of a git repository
...
Fixes error `usage: link [options] main.o` when building from the
downloaded tarball
2020-01-21 15:28:41 +01:00
Mislav Marohnić
f8e32405fb
[ci] Use latest bump-homebrew-formula-action
2020-01-21 15:28:41 +01:00
Mislav Marohnić
162fb0851e
[ci] Configure GOFLAGS when cross-compiling release binaries
2020-01-21 15:28:41 +01:00
Mislav Marohnić
9a5cde08cc
[ci] Fix auto-publishing gh-pages
...
24ba9063ab/checks
?check_suite_id=412011825
2020-01-21 15:28:41 +01:00
Mislav Marohnić
3bb72b9567
[ci] Fix coverage report
2020-01-21 14:21:34 +01:00
Mislav Marohnić
46d12a8d7b
Respect GITHUB_REF in `script/version`
2020-01-21 14:14:32 +01:00
Mislav Marohnić
5932438a4e
Remove unwanted tracking from distributed HTML man pages
...
This was supposed to end up in the published site only
2020-01-21 14:13:17 +01:00
Mislav Marohnić
e66ef8d96e
Fix release workflow
2020-01-21 14:12:22 +01:00
Mislav Marohnić
5120359c90
hub 2.14.0
2020-01-21 13:39:00 +01:00
Mislav Marohnić
7e164d487e
[changelog] Tweak script
2020-01-21 13:38:23 +01:00
Mislav Marohnić
2b471bd415
[version] Support `--build-options`
...
Ensure that all flags are forwarded to `git version`
Fixes #2440
2020-01-21 13:31:17 +01:00
Mislav Marohnić
57b8337db1
Merge pull request #2432 from jfahrer/master
...
Add the ability to edit issues
Fixes #1686 , fixes #1151 , ref. #1523
2020-01-21 12:55:00 +01:00
Mislav Marohnić
f988235f74
Allow updating issue state
2020-01-21 12:48:56 +01:00
Mislav Marohnić
b0db79dbf3
Allow nulifying existing issue's labels, assignees, & milestone
2020-01-21 12:42:55 +01:00
Mislav Marohnić
c175488aa8
Avoid fetching issue unless necessary
2020-01-21 12:34:55 +01:00
Mislav Marohnić
153d8eda19
Compensate for CR-LF line endings when editing issues/releases
...
A body will typically have CR-LF when it was authored using web UI on Windows.
2020-01-21 12:22:57 +01:00
Mislav Marohnić
6597192503
💅
2020-01-21 12:16:45 +01:00
Mislav Marohnić
d6a74bfb1e
Remove URL output from successful `issue update`
...
This made sense for `issue create`, where a person would want to obtain
the URL to the new issue, but it makes less sense for `issue update`,
where the user already knows the issue number (which will not change).
This makes it so that the successful run has no output, but since I
don't know what a better confirmation behavior would be, I think this is
fine for now.
2020-01-21 11:46:43 +01:00
Julian Fahrer
8b7c92e012
Inline check for updating flags
2020-01-20 14:10:18 -08:00
Mislav Marohnić
4c8a27c11c
Merge pull request #2446 from github/better-http-errors
...
Print more user-friendly HTTP 40x errors
2020-01-20 14:04:33 +01:00
Julian Fahrer
ab374d9860
Fail when running issue update without specifying fields to update
2020-01-19 10:03:48 -08:00
Mislav Marohnić
ddecc72b3f
Ensure `response.Request` is populated for responses from cache
...
https://github.com/github/hub/runs/397657829
2020-01-19 15:47:17 +01:00
Mislav Marohnić
a6389b3a81
Print token authorization URL on HTTP 403 due to `X-Github-Sso` challenge
2020-01-19 14:58:49 +01:00
Mislav Marohnić
bf6e236835
Detect and report insufficient OAuth scopes leading to 40x response
2020-01-19 14:58:48 +01:00
Mislav Marohnić
ddc9665878
Log various `X-*` GitHub response headers in HUB_VERBOSE mode
...
These should be helpful for debugging purposes.
2020-01-19 14:58:48 +01:00
Julian Fahrer
5df6b31923
Use `update` instead of `edit` to update issues
2020-01-18 16:52:30 -08:00
Mislav Marohnić
87da91aeef
Simplify `FormatError`
2020-01-18 19:13:33 +01:00
Mislav Marohnić
df829d42d5
Merge pull request #2442 from github/redirect-301
...
Refuse to follow HTTP 301, 302 redirects for non-GET requests
2020-01-17 14:56:38 +01:00
Mislav Marohnić
ff6b131d93
Refuse to follow HTTP 301, 302 redirects for non-GET requests
...
Go's `net/http` will intentionally change the HTTP method being used
after a 301, 302, or 303 redirect for a non-GET request.
When encountering a 301 or 302 response codes, fail any non-GET request
with an tip that 308 and 307 should be used, respectively.
2020-01-16 19:40:28 +01:00
Julian Fahrer
ae70177ac9
Extract applying common params into functions
2020-01-06 11:42:43 -08:00
Julian Fahrer
fc2b4461ed
Add the ability to edit issues
2020-01-03 18:37:34 -08:00
Mislav Marohnić
b7b4a3df1d
[docs] Clarify HUB_VERBOSE
...
Closes #2430 , ref. #1551
2019-12-31 00:03:19 +01:00
Mislav Marohnić
3344f0cec5
Merge pull request #2428 from johanavril/string-equals-ignore-case
...
improve Project SameAs logic
2019-12-24 11:46:45 +01:00
johanavril
9822d1a0d9
improve Project SameAs logic
...
use strings.EqualFold instead of strings.ToLower with equal
operation when comparing string ignore case
2019-12-23 22:05:27 +07:00
Mislav Marohnić
a5fbf29be6
Merge pull request #2423 from github/add-google-analytics
...
Add Google Analytics to man page template
2019-12-16 19:42:53 +01:00