Home Blog Snippets About

All timestamps are based on your local time of:

Sep 17, 04:00:51 Sep 17, 04:30:51 Sep 17, 05:00:51 Sep 17, 05:30:51 Sep 17, 06:00:51 Sep 17, 06:30:51 Sep 17, 07:00:51 Sep 17, 07:30:51 Sep 17, 08:00:51 Sep 17, 08:30:51 Sep 17, 09:00:51 Sep 17, 09:30:51 Sep 17, 10:00:51 Sep 17, 10:30:51 Sep 17, 11:00:51 Sep 17, 11:30:51 Sep 17, 12:00:51 Sep 17, 12:30:51 Sep 17, 13:00:51 Sep 17, 13:30:51 Sep 17, 14:00:51 Sep 17, 14:30:51 Sep 17, 15:00:51 Sep 17, 15:30:51 Sep 17, 16:00:51 Sep 17, 16:30:51 Sep 17, 17:00:51 Sep 17, 17:30:51 Sep 17, 18:00:51 Sep 17, 18:30:51 Sep 17, 19:00:51 Sep 17, 19:30:51 Sep 17, 20:00:51 Sep 17, 20:30:51 Sep 17, 21:00:51 Sep 17, 21:30:51 Sep 17, 22:00:51 Sep 17, 22:30:51 Sep 17, 23:00:51 Sep 17, 23:30:51 Sep 18, 00:00:51 Sep 18, 00:30:51 Sep 18, 01:00:51 Sep 18, 01:30:51 Sep 18, 02:00:51 Sep 18, 02:30:51 Sep 18, 03:00:51 Sep 18, 03:30:51 Sep 18, 04:00:51



Posted by: stak

Tags: mozilla

Posted on: 2013-04-22 09:11:47 Something I've wanted for a while is a way to receive notifications of commits to specific folders in mozilla-central, with some reasonable amount of diff included. Well, turns out there are now a bunch of ways to do this, so here's a quick rundown.

hgweb's Atom feed - I'm only including this for completeness, but you can get an Atom feed of all changes to the repository by using the RSS icon at the bottom of any page in the repo. Unfortunately, the feed is for all changes to the repo (can't filter by particular folders/files) and doesn't include diffs, so it's limited in usefulness.

- I'm only including this for completeness, but you can get an Atom feed of all changes to the repository by using the RSS icon at the bottom of any page in the repo. Unfortunately, the feed doesn't include diffs, so it's limited in usefulness. Dave Townsend's Hg Change Feed - Dave Townsend recently set up a more comprehensive feed system and blogged about this (see blog post or jump straight to the tree navigator to subscribe). He has it set up for comm-central, mozilla-central, and mozilla-inbound, and you can watch any folder/file in any of these repos. Pretty nifty! However, the RSS feeds don't include diffs.

- Dave Townsend recently set up a more comprehensive feed system and blogged about this (see blog post or jump straight to the tree navigator to subscribe). He has it set up for comm-central, mozilla-central, and mozilla-inbound, and you can watch any folder/file in any of these repos. Pretty nifty! However, the RSS feeds don't include diffs. RSS to email options - Both of the above options give you RSS or Atom feeds, but some people prefer to get this as email. IFTTT recipes are a simple way to do this; Dave Townsend set up one for the toolkit folder and Margaret created one for the mobile folder. If you use Zimbra to manage your mail, you can also use that to get RSS as email; you can set this up in the web interface when you create a new folder. As is to be expected, these options just convert the RSS item to email, and so also don't contain diffs.

- Both of the above options give you RSS or Atom feeds, but some people prefer to get this as email. IFTTT recipes are a simple way to do this; Dave Townsend set up one for the toolkit folder and Margaret created one for the mobile folder. If you use Zimbra to manage your mail, you can also use that to get RSS as email; you can set this up in the web interface when you create a new folder. As is to be expected, these options just convert the RSS item to email, and so also don't contain diffs. My mailing lists - Since I really really wanted to get diffs in the email notifications, I decided to roll my own solution. I already have an Amazon EC2 instance running for ZNC, so I cloned mozilla-central there, and wrote a quick script to pull the tree, look for changes in specific folders, and send an email using Amazon SES (free for the volume I'm sending at). The email goes to a mailman instance I also set up on this domain, so anybody who is interested can sign up. Right now I have mailing lists for mobile/ and widget/android/, since that's what I'm interested in, but I can add other folders if there is sufficient demand. With this approach it requires some work on my part to set it up for specific files and folders, but I get diffs in the emails and can customize it further as I find things that would be useful. [UPDATE 2014-04: Due to general unreliability and lack of widespread use I have decommissioned these lists]

Did I miss any options? Post in the comments.