Lightning on the Shiny new Try Server

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.

  1. 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

  2. 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
  3. Apply (with hg qpush) any amount of patches that you’d like to test.
  4. 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.

11 comments

  1. Hi,
    When do you think beta 3 will be ready ? (we need localized version with caldav problems corrected)
    Thanks a lot guys !
    Tom

  2. Hello!
    I prefer Sunbird…
    When will beta 2 be out?b1 has a lot of bugs,and it reminds me only if it’s open.

  3. I recently had a new computer installed at work and have Thunderbird 3.0.8. Lightning 1.0b2 is not compatible, so I lost my work calendar. Any ideas as to when lightning will be available for 3.0.8?
    Thanks.
    Brian

  4. I recently had a new computer installed at work and have Thunderbird 3.0.8. Lightning 1.0b2 is not compatible, so I lost my work calendar. Any ideas as to when lightning will be available for 3.0.8?
    Thanks.
    Brian

  5. With 3.0.* series beta 1 should be used. It’s available here: https://addons.mozilla.org/thunderbird/addon/2313/versions/?page=1#version-1.0b1

  6. My apologies up front if this is not the proper place to ask this question, but I couldn’t find any other place to address my question:
    I’m running a Mac laptop and a Mac server. Every day I start out in my office on my server, set my calendar, then copy my calendar onto my MacBook Pro and take that on the road with me. Have been using Busycal but would like to try Lightning.
    With this simple 2 Mac network, can anyone guide me to directions on how I would use/install/configure Lightning on my 2 Macs so that I can sync in the morning then again in the evening when I get back to my server Mac?
    Thanks in advance,
    Rich

  7. My apologies up front if this is not the proper place to ask this question, but I couldn’t find any other place to address my question:
    I’m running a Mac laptop and a Mac server. Every day I start out in my office on my server, set my calendar, then copy my calendar onto my MacBook Pro and take that on the road with me. Have been using Busycal but would like to try Lightning.
    With this simple 2 Mac network, can anyone guide me to directions on how I would use/install/configure Lightning on my 2 Macs so that I can sync in the morning then again in the evening when I get back to my server Mac?
    Thanks in advance,
    Rich

  8. Hello,
    could we have some news about the future release and a approximative date of publication ?
    Thank you
    Lance

  9. Lightening says it wont work in 64b bit. Is this just a library issue or can I really not use it? Thanks!

  10. Any updates on new versions/new features/fixes?
    from the outside it looks like development has slowed down. I wish I could help out as I think this is a key product.

  11. Alan, please take a look at my blog post at:
    http://kewisch.wordpress.com/2010/03/11/how-to-triage-mozilla-bugs/
    You can very well help out, you don’t need to be a developer to support us!
    Miranda, you need the 64 bit contrib version, see
    http://releases.mozilla.org/pub/mozilla.org/calendar/lightning/releases/1.0b2/contrib/