After reading about Thunderbird getting a new Try Server, I thought it would be nice if the same would be possible for Lightning. After just a few failed builds, I successfully built Lightning using the Try Server and had a lightning.xpi uploaded to the right target directory.
If you want to try this on your own, you need a hg account and this patch file. Note also that you should be using mercurial queues. This not only makes managing multiple patches easier, it also makes using the Try Server a piece of cake.
- Set up your ~/.hgrc. This is not strictly needed, but makes life easier. Add the following lines:
[alias] push-to-try = push -f ssh://hg.mozilla.org/try-comm-central
This will allow you to simply start a try build by calling
hg push-to-try
- Get the calendar tryserver patch and import it into your mercurial queue.
hg qimport -n tryserver-calendar.diff https://bugzilla.mozilla.org/attachment.cgi?id=471566
- Apply (with
hg qpush
) any amount of patches that you’d like to test. - Call
hg push-to-try
(yes, with all those patches applied to your tree!)
Thats all! If you want to watch your progress, see the Thunderbird Try Tinderbox. You will get email when your builds have completed, together with a link to the ready built lightning.xpi. Thunderbird files will not be uploaded.
For more information on the Tryserver, especially on how to exclude certain platforms or provide extra mozconfig options, please read the Thunderbird TryServer Guide or the Firefox TryServer Guide.