emacs-bts
emacs-bts copied to clipboard
Fetching of label and assignee options fails for private repos that I don't own
Use case
I would like to use bts:ticket-new
to create issues for private repositories that I am a member of (i.e., repos that I don't own but have write access to).
Problem
After selecting a repo in the "Add Ticket" interface (*BTS: Ticket*
buffer), bts
tries to load labels and assignees and fails with the following errors:
[BTS] Failed delayed work for label:
itsjeyd/<repo>
: Wrong type argument: listp, "https://developer.github.com/v3" [BTS] Failed delayed work for assignee:itsjeyd/<repo>
: Wrong type argument: listp, "https://developer.github.com/v3"
I think this happens because bts
assumes that I am the owner of <repo>
and ends up trying to look up labels/assignees for a repo that doesn't exist. It should look at <owner>/<repo>
to get a list of labels/assignees instead.
I tried to get around this by changing "Owner" to the actual owner of <repo>
but that got me nowhere because bts
wouldn't let me set "Repo" to <repo>
(it only listed public repositories owned by the actual owner of <repo>
).
Thanks for creating this package! :+1:
Hi, @itsjeyd I'm so sorry to reply very late... I didn't use this package for a long time. Recently I try to use this but Fetching tickets is failed.
gh.el seems to not work but I get the cause at present...