Skip to content
This repository has been archived by the owner. It is now read-only.

Galaxy Detects No Roles in GitHub #217

Closed
chris-short opened this issue Nov 23, 2016 · 7 comments

Comments

Projects
None yet
4 participants
@chris-short
Copy link

commented Nov 23, 2016

I have removed and re-added my authorization from GitHub but multiple scans have resulted in Galaxy not being able to find any roles for my account. I've been a Galaxy "user" for a long time and am wondering if something is afoot with my account.

Thanks,
Chris

@chris-short

This comment has been minimized.

Copy link
Author

commented Nov 24, 2016

Successfully submitted import request 36164
Starting import 36164: role_name=ansible-role-papertrail repo=chris-short/ansible-role-papertrail
Failed to get GitHub account for Galaxy user ChrisShort. You must first authenticate with GitHub.
bugs:ansible-role-papertrail cshort$ ansible-galaxy login --github-token []
Succesfully logged into Galaxy as ChrisShort
bugs:ansible-role-papertrail cshort$ ansible-galaxy import chris-short ansible-role-papertrail
Successfully submitted import request 36166
Starting import 36166: role_name=ansible-role-papertrail repo=chris-short/ansible-role-papertrail
Failed to get GitHub account for Galaxy user ChrisShort. You must first authenticate with GitHub.
bugs:ansible-role-papertrail cshort$ ansible-galaxy login --github-token []
Succesfully logged into Galaxy as ChrisShort
bugs:ansible-role-papertrail cshort$ ansible-galaxy import chris-short ansible-role-papertrail
Successfully submitted import request 36167
Starting import 36167: role_name=ansible-role-papertrail repo=chris-short/ansible-role-papertrail
Failed to get GitHub account for Galaxy user ChrisShort. You must first authenticate with GitHub.```
@chouseknecht

This comment has been minimized.

Copy link
Member

commented Nov 27, 2016

There is an account on Galaxy for username ChrisShort, however it does not appear to be associated with a GitHub username. Let's start by fixing that.

First, if you have previously accessed Galaxy via the browser you're using, clear the browser's history, removing cookies. Now authenticate with Galaxy using your username/password. Then go to Manage Linked Accounts, and click on the GitHub logo. This should take you through the GitHub auth process and make the association.

Now go to My Roles and click the Refresh button to the right of the search box.

NOTE: only public GitHub repos containing a meta/main.yml or ansible/meta.yml will appear on the list.

Please update this issue, once you have been able to authenticate via a browser.

@chris-short

This comment has been minimized.

Copy link
Author

commented Nov 27, 2016

No joy. I had tried this previously but did so in a completely different browser now with the same effect. Whenever I click on the Managed Linked Accounts link I get presented the same "Connect to Github" page like my accounts have never been linked before. I'm baffled at this point.

@chris-short

This comment has been minimized.

Copy link
Author

commented Nov 28, 2016

At this point can my account be blown away completely and then I can start over?

@gregdek

This comment has been minimized.

Copy link
Contributor

commented Dec 5, 2016

@chouseknecht can we just blow away @chris-short's account per his request?

@AsavarTzeth

This comment has been minimized.

Copy link

commented Mar 6, 2017

Same issue, but in my case I also have two accounts (not on purpose). Whenever I try to link my account and refresh it just asks me again.

I wonder if it may be related to using multiple email addresses on GitHub. In my case I have two and I may have changed the primary at some point. Currently if I login using GitHub email verification tries to use my previous primary.

EDIT: It solved itself a day later. Still have two accounts though.

@chouseknecht

This comment has been minimized.

Copy link
Member

commented Oct 13, 2017

This issue was moved to ansible/galaxy#79

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.