[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How do I set GUIX_GITHUB_TOKEN correctly?
From: |
sirgazil |
Subject: |
How do I set GUIX_GITHUB_TOKEN correctly? |
Date: |
Sun, 29 Mar 2020 09:51:20 -0500 |
User-agent: |
Zoho Mail |
Hi,
I've been packaging software hosted on GitHub without problems for some days,
but recently, running "guix lint -L . python-commonmark" (a package I'm
defining on
https://gitlab.com/sirgazil/guix-channel-x/-/blob/master/sirgazil-x/packages/python.scm#L67)
failed and a message suggested to create a GitHub token. I created a token
with all the "Repo" scopes selected, exported the GUIX_GITHUB_TOKEN variable,
but now I'm getting the following error:
π π’ π π’ π π’ π π’ π π’ π π’ π π’ π π’ π π’ π π’ π π’
$ guix lint -L . python-commonmark
;;; note: source file ./sirgazil-x/packages/guile.scm
;;; newer than compiled
/gnu/store/0z6ccg5hxb64id7pj7ya833amixznwxq-sirgazil-x/lib/guile/3.0/site-ccache/sirgazil-x/packages/guile.go
;;; note: source file ./sirgazil-x/packages/python.scm
;;; newer than compiled
/gnu/store/0z6ccg5hxb64id7pj7ya833amixznwxq-sirgazil-x/lib/guile/3.0/site-ccache/sirgazil-x/packages/python.go
Backtrace:ython-commonmark@0.9.1 [refresh]...
9 (primitive-load "/home/sirgazil/.config/guix/current/biβ¦")
In guix/ui.scm:
1894:12 8 (run-guix-command _ . _)
In srfi/srfi-1.scm:
634:9 7 (for-each #<procedure 7fedc1981bc0 at guix/scripts/linβ¦> β¦)
In guix/scripts/lint.scm:
59:4 6 (run-checkers _ _)
In srfi/srfi-1.scm:
634:9 5 (for-each #<procedure 7fedb1261c00 at guix/scripts/linβ¦> β¦)
In guix/scripts/lint.scm:
66:17 4 (_ _)
In guix/lint.scm:
1063:2 3 (check-for-updates #<package python-commonmark@0.9.1 ./β¦>)
973:2 2 (call-with-networking-fail-safe _ _ _)
In ice-9/boot-9.scm:
1736:10 1 (with-exception-handler _ _ #:unwind? _ # _)
1669:16 0 (raise-exception _ #:continuable? _)
ice-9/boot-9.scm:1669:16: In procedure raise-exception:
Error downloading release information through the GitHub
API when using a GitHub token
π π’ π π’ π π’ π π’ π π’ π π’ π π’ π π’ π π’ π π’ π π’
Then, I created another token with all scopes selected,
$ export GUIX_GITHUB_TOKEN="new token"
$ guix lint -L . python-commonmark
and got the same error message.
I don't know what I'm missing...
---
https://sirgazil.bitbucket.io/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- How do I set GUIX_GITHUB_TOKEN correctly?,
sirgazil <=