ansible / galaxy

Legacy Galaxy still available as read-only on https://old-galaxy.ansible.com - looking for the new galaxy -> https://github.com/ansible/galaxy_ng
Apache License 2.0
855 stars 329 forks source link

Unable to refresh repositories and import role with a specific user #39

Open chouseknecht opened 7 years ago

chouseknecht commented 7 years ago

From @shibayu36 on September 13, 2017 7:28

I use galaxy's user named MACKEREL. When I log in this user, I cannot "Refresh Your Repositories from GitHub" and "Import Role" from https://galaxy.ansible.com/roleadd#/ page.

I saw Network tab in chrome developer tools, then I found a refresh endpoint( https://galaxy.ansible.com/api/v1/repos/refresh/ ) returns Internal Server Error.

I thought this problem occurs because this account named MACKEREL have been connected to multiple Github accounts. So I revoked Ansible Galaxy from Github Apps(https://github.com/settings/applications) once, and reconnected MACKEREL user to github, but this problem was not fixed yet.

What should I do?

Copied from original issue: ansible/galaxy-issues#282

chouseknecht commented 7 years ago

@shibayu36

I'm confused. If I look at https://github.com/mackerel, there are 0 repositories. Are the repositories part of an organization? And if so, is Galaxy authorized with the organization?

chouseknecht commented 7 years ago

From @shibayu36 on October 10, 2017 2:34

@chouseknecht

We got MACKEREL user a long time ago (maybe in 2015). And if I remember correctly, we could decide an account name freely at that time. So our account name is MACKEREl, but our repositories are in https://github.com/mackerelio . (https://github.com/mackerel is other user's account whom I don't know).

Now, I think MACKEREL is connected to multiple github users in the mackerelio organization. For example, mackerel-bot, Songmu and so on. They are members in the mackerelio organization (https://github.com/orgs/mackerelio/people).