bug: git-hub (v0.1.4, a4b5580) fails to extract status code from (recent?) github responses.
andreas-kupries opened this issue · 6 comments
andreas-kupries commented
Session log below. Error can be seen for the third command. The remaining commands show the head of the file it failed to parse, and the info about the git-hub installation.
aku@tagetarl:~/My/Projects/Critcl/dev> git remote -v
origin git@github.com:andreas-kupries/critcl.git (fetch)
origin git@github.com:andreas-kupries/critcl.git (push)
py https://github.com/pooryorick/critcl (fetch)
py https://github.com/pooryorick/critcl (push)
aku@tagetarl:~/My/Projects/Critcl/dev> which git-hub
/home/work/tooling/git-hub/lib/git-hub
aku@tagetarl:~/My/Projects/Critcl/dev> git-hub user
Can't get the status code from /home/aku/.git-hub/cache/238c2b5b0ab2b4035987eda6d57402dc6e7d2400/head at line 391 in check-api-call-status of /home/work/tooling/git-hub/lib/git-hub
aku@tagetarl:~/My/Projects/Critcl/dev> head -10 /home/aku/.git-hub/cache/238c2b5b0ab2b4035987eda6d57402dc6e7d2400/head
HTTP/2 200
date: Sat, 23 Jan 2021 21:19:46 GMT
content-type: application/json; charset=utf-8
content-length: 1572
server: GitHub.com
status: 200 OK
cache-control: private, max-age=60, s-maxage=60
vary: Accept, Authorization, Cookie, X-GitHub-OTP
etag: "3bfde2d06fe018366de0a6f5661ec938d198fd1d5385847d2b2437ea054e6707"
last-modified: Wed, 23 Dec 2020 17:44:59 GMT
aku@tagetarl:~/My/Projects/Critcl/dev> git-hub info
Version: 0.1.4
SHA1: a4b5580
Path: /home/work/tooling/git-hub/lib/git-hub
Defaults:
user: andreas-kupries
owner: andreas-kupries
repo: critcl
remote: origin
branch: dev-objtype
Environment:
GIT_HUB_API_URI https://api.github.com
GIT_HUB_CACHE /home/aku/.git-hub/cache
GIT_HUB_CONFIG /home/aku/.git-hub/config
GIT_HUB_EDITOR vim +1
GIT_HUB_EXEC_PATH /home/work/tooling/git-hub/lib
GIT_HUB_EXT_PATH /home/work/tooling/git-hub/lib/git-hub.d
GIT_HUB_MSG_FILE .git/GIT_HUB_EDIT_MSG
GIT_HUB_PAGER less -FRX
GIT_HUB_PLUGIN_LIBS /home/work/tooling/git-hub/plugin/git-hub-travis/lib
GIT_HUB_PLUGIN_PATH /home/work/tooling/git-hub/plugin
GIT_HUB_USER_DIR /home/aku/.git-hub
GIT_HUB_VERSION 0.1.4
ingydotnet commented
ingydotnet commented
And Hi @andreas-kupries
ltns!!!
andreas-kupries commented
Confirmed to be working again. Thank you for the quick reaction and fix.
Hi @ingydotnet ... Back in germany for a month now ... And hi to SUSE-fellow @perlpunk
ingydotnet commented
The quick reaction credit goes to your fellow German hacker, @perlpunk!
Hope to see you both soon IRL, after this thing is over...
Your fellow hacker in Canada, Ingy 🙂