• Dmitriy Zaporozhets's avatar
    Merge branch 'github-org-repos' into 'master' · 1065f3d3
    Dmitriy Zaporozhets authored
    Fix missing GitHub organisation repositories on import page.
    
    Private repositories belonging to organizations rather than users can't be imported because `client.repos(org.login)` was requesting `/users/:org_login/repos` (which only returns public org repo's), while we need `/orgs/:org_login/repos` (which includes both public and private). The `client.org_repos` method does this.
    
    cc @marin This is a bug in 7.8.x, but I'm not sure if it needs a minor release now or if it can go in 7.9.
    
    See merge request !1683
    1065f3d3
To find the state of this project's repository at the time of any of these versions, check out the tags.