gitscout / gitscout-feedback

This repo is a place to report bugs, give feedback and share ideas on how we can improve Gitscout — Thanks :heart:
182 stars 4 forks source link

Respect existing repo's that have their Issues disabled through GitHub #248

Open hanssens opened 6 years ago

hanssens commented 6 years ago

GitScout doesn't remove repo's that, after been added, have their Issues disabled through the GitHub settings. Attempting to create a new issue will timeout.

Found on GitScout Version 1.0.0-rc.3 (1c55c97).

Steps to reproduce:

  1. Create a GitHub repo that has issues enabled
  2. Create a new issue
  3. In GitHub, go to the repo > Settings > Options > and disable issues

Actual behaviour:
This results in two issues:

  1. The repo either shows old, cached issues which GitScout fetched earlier. Or, it shows an empty list.
  2. When you attempt to create a new issue, it takes a long time and basically errors out.

Expected behaviour:
A repo which no longer has Issues enabled should be removed, or disabled, from GitScout.