7

A lot of people are forking my GitHub repo and I would like to be able to see what new features they may be working on without having to manually visit each fork to watch.

How to automatically watch all of these repositories? And can I set up all new forks be watched in the future?

Right now I have to watch them manually, it takes many clicks.

3

2 Answers 2

1

Just write a small script with Github API. That should be fairly easy.

  1. Get the list of forks
  2. Foreach result set watching
1
  • Cool solution ! The second link was broken. Because I didn't got the point, I searched for API repo watching and edited your post. Hope this is ok for you :-)
    – Danny
    Jul 11, 2015 at 6:37
0

Was looking around for a solution to this problem. Didn't see one, so used the previous answer and threw this shell script together.

The gist is that you enter your username, authentication token, and list of repositories to exclude. The script then makes three API calls to fetch your repos, fetch the forks of each repo, and set a watch on each of these forks.

You may want to add it as a cronjob to regularly check for and follow new forks.

2
  • 1
    While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. - From Review
    – serenesat
    Dec 7, 2020 at 11:15
  • 1
    Gotcha, updated the post, thanks for the feedback!
    – Salt
    Dec 7, 2020 at 23:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.