5 Managing Github notifications
Alex Grin edited this page 2018-05-02 13:26:00 -04:00

When you get added to the lbryio github org, you'll automatically be subscribed to all of our repos. This creates a lot of noise in your inbox, and there's no good way to turn this off. Here's how you can deal with it.

Option 1: Before you get added

If you happen to find this page before you get added to the lbryio org, you can temporarily disable automatic watching of repos. Go to your notification settings and uncheck the "Automatically watch repositories" checkbox. You can re-check this box after you've been added to the org.

Options 2: After you've been added

If you've already been subscribed to all the notifications, here's what to do.

First go to https://github.com/watching and run the following code in your browser console. This will unwatch all the lbryio repos that you're subscribed to.

Array.prototype.forEach.call(document.querySelectorAll('.js-subscription-row'), function(el, i){
  const isYourOrganisation = el.querySelectorAll("a[href^='/lbryio']");
  if(isYourOrganisation.length){
    const button = el.querySelectorAll('button[type="submit"]')[0];
    if (button.innerHTML == "Unwatch") {
      button.click();
    }
  }
});

source: https://stackoverflow.com/q/11043374

Next, go down the list and click Watch on the repos you care about.