Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetching of label and assignee options fails for private repos that I don't own #15

Open
itsjeyd opened this issue Jun 9, 2015 · 1 comment

Comments

@itsjeyd
Copy link

itsjeyd commented Jun 9, 2015

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! 👍

@aki2o
Copy link
Owner

aki2o commented Feb 7, 2016

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants