Re:Show HN: Follow GitHub Organisations
by pravj on Wednesday February 27, 2019 @03:41AM
(#19261895)
- You create an issue with the link of the organisation
- Using GitHub webhook, an event is triggered to see if the org is already being followed
- If not, a record is created (organisation name, public repo count, issue id etc)
- Every 6 hour, (for all organisations) a cron job checks if the org has any extra public repositories
- In case of any new repository, a comment is created with the links to the new repositories
Re:Show HN: Follow GitHub Organisations
by navigaid on Wednesday February 27, 2019 @07:25AM
(#19262785)
Do you plan to publish the source code of your cron script and related stuff? I was expecting to see it under the same GitHub organization but found nothing.
Re:Show HN: Follow GitHub Organisations
by Pawamoy on Wednesday February 27, 2019 @07:49AM
(#19262901)
From the issue you linked:
> There is no point in posting "+1" here, this is an unofficial repo. Send an email to [email protected] instead
To avoid more useless "+1" comments in the issue ;)
Re:Show HN: Follow GitHub Organisations
by aboutruby on Wednesday February 27, 2019 @08:14AM
(#19262996)
I thought everyone agreed that :thumbsup: on the issue replaced the +1. Also the Github staff does read those issues.
Re:Show HN: Follow GitHub Organisations
by pravj on Wednesday February 27, 2019 @11:01AM
(#19264014)
Author here, this issue was the inspiration, though I could not find a working solution in it. As referred in the thread, GitHub has stopped supporting that AJAX hack.
I am planning to make it more accessible, please follow the follow-github-organisation[1] for updates. Pun intended.
Let me know if you have any other feedback.
There are a few other solutions to this problem at https://github.com/isaacs/github/issues/50