Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add 'has_projects' to GHRepository #661

Closed
BorisNaguet opened this issue Jan 9, 2020 · 1 comment · Fixed by #741
Closed

add 'has_projects' to GHRepository #661

BorisNaguet opened this issue Jan 9, 2020 · 1 comment · Fixed by #741

Comments

@BorisNaguet
Copy link

Hello,

Support for repositories has been added with #425, but listing repositories returns an exception if the repositories tab has been disabled in settings.

Getting a repository returns a 'has_projects' that would be useful:
https://developer.github.com/v3/repos/#get

  "has_issues": true,
  "has_projects": true,
  "has_wiki": true,
  "has_pages": false,
  "has_downloads": true,

Could you add it to GHRepository:

    private boolean has_issues, has_wiki, fork, has_downloads, has_pages, archived;

Thanks

@bitwiseman
Copy link
Member

@BorisNaguet
Totally possible. PR's welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants