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

Issue labels not created when you don't own the GitHub repo #95

Open
GoogleCodeExporter opened this issue Sep 14, 2015 · 3 comments
Open

Comments

@GoogleCodeExporter
Copy link

It looks like issue labels aren't created when the person running the GitHub 
issue export script does not own the repo. See:

https://github.com/firebug/firebug/issues/
vs.
https://github.com/chrsmith/firebug-issue-export-tool-testing/issues

Original issue reported on code.google.com by [email protected] on 4 Jun 2015 at 3:56

@GoogleCodeExporter
Copy link
Author

From the GitHub API docs:

Only users with "push" access can set labels for new issues. See:
https://developer.github.com/v3/issues/#create-an-issue

So in the future, you need to grant explicit push access to the repo before 
running the tool (when running as a different user). However, for issues that 
have already been created it looks like a separate "add missing labels" step is 
necessary.

Original comment by [email protected] on 4 Jun 2015 at 4:28

@GoogleCodeExporter
Copy link
Author

The exporter user is added as a collaborator before running the export (and 
removed afterward). Is being a collaborator not enough?

Original comment by [email protected] on 4 Jun 2015 at 4:33

@GoogleCodeExporter
Copy link
Author

Yes, it is enough for the Google Code to GitHub issue exporter. However, for 
the stand-alone tools you need to manually do it.

Original comment by [email protected] on 4 Jun 2015 at 4:46

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

No branches or pull requests

1 participant