Skip to content

Unexpected result/error message on forked project from private repo in different org #7482

Closed
@stockholmux

Description

@stockholmux

Bug description

I forked a private repo from an organization in Github. This organization has not granted GitPod permission for private repos. I have granted permission for GitPod to see private repos in my personal account.

When I try to get use gitpod on this private fork, I get the message Repository not found. / The repository 'stockholmux/<repo name>' is not found in your account. And it totally does! It took quite a while to understand what was going on.

I'm not sure if this is by-design and it makes some sense given the permission on the original organization, but the error message is really unhelpful.

Steps to reproduce

  1. Create a private repo in an organization that hasn't granted permissions for Gitpod
  2. Fork the private repo into your personal github account
  3. Grant access for gitpod to your personal account
  4. Attempt to access the forked repo via https://gitpod.io/#<repo url>
  5. See the error message.

Workspace affected

No response

Expected behavior

Either gitpod can access the the forked private repo or show an error message similar to the origin repo which makes sense: (e.g.Repository not found. / Permission to access private repositories has been granted. If you are a member of '<org name>', please try to request access for Gitpod.)

Example repository

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions