Giter Club home page Giter Club logo

cgitize's People

Contributors

egor-tensin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

wc7086

cgitize's Issues

Cgitize does not detect private user repositories.

Unless I'm severely mistaken, it appears that the user repository pull API only gets the public repositories of a user?

return self._impl.get_user(user.name).get_repos()

NamedUser#get_repos() calls the /users/{user}/repos endpoint on GitHub's REST API.
According to REST Documentation this only fetches public repositories and is intentional design. If this is an unintentional side-effect, a possible solution might be to use the List repositories for an Authenticated User endpoint. This takes in the same github_pat that is already able to be supplied in cgitize.toml and will fetch all private repositories.

I'll see about making a PR once you've replied in order to understand if this is an intentional design decision or an accidental bug, but the quickest fix would probably be to use AuthenticatedUser#get_repos() when a GitHub token is passed in instead of NamedUser.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.