Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Cannot clone the public repo of an org without granting full org access #236

Open

Description

Dev Home version

0.503.261.0

Windows build number

10.0.22621.2361

Other software

No response

Steps to reproduce the bug

  1. On your account, have an org you own with a public repo on it. Make that membership public.
  2. Link Dev Home to GitHub, but don't grant access to that org.
  3. Try to clone the repo through Dev Home, via the "accounts" tab

Expected result

I expected to find that repo in the accounts tab, since it is public, and I am publicly member of that organization

Actual result

The repo is missing.

Included System Information

No response

Activity

  1. vineeththomasalex commented on Dec 13, 2023

    @vineeththomasalex
    Contributor

    This was a GitHub access problem where having org repo access causes you to lose access to the org's public repos.

    David Bennett (@dkbennett) Did we have a way to fix this by using a public-only client for public repositories?

  2. added
    Area-Account-Sign-InRelated to authenticating your GitHub account or anything related to sign-in
    and removed
    Area-RepoRelated to repository operations
    on Jan 10, 2024
  3. dkbennett commented on Jan 10, 2024

    @dkbennett
    Member

    Public client could be used for public repositories as a fallback (this logic exists already), however the rate limit on public client is extremely low. I doubt more than one widget for a repository using the public client can be used without hitting the rate limit.

    The rate limit for an authenticated user is 5000 requests per hour. The rate limit for unauthenticated user is 60 per hour. Two orders of magnitude difference. It's very easy to eat up rate limit for the public (unauthenticated) client.

  4. sylveon commented on Jan 10, 2024

    @sylveon
    Author

    Not trying to use it for widgets, just want to clone it.

  5. vineeththomasalex commented on Jan 22, 2024

    @vineeththomasalex
    Contributor

    Darren Hoehna (@dhoehna) Do we have the same logic for Repo cloning?

  6. added
    Area-RepoRelated to repository operations
    and removed
    Area-Account-Sign-InRelated to authenticating your GitHub account or anything related to sign-in
    on Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Area-Machine-ConfigRelated to machine configuration featureArea-RepoRelated to repository operationsIssue-BugSomething isn't working or needs investigationNeeds-DiscussionRequires a team discussion before proceedingPriority-2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions