Open Bug 997395 Opened 8 years ago Updated 9 months ago
Allow installing addons from a nightly location
kewisch: I see there is a switch to install specific addons, but what I would like to see (i.e to use mozregression for Thunderbid+Lightning) is to be able to specify an url pattern for downloading nightly versions of an addon. Example path: http://ftp.mozilla.org/pub/mozilla.org/calendar/lightning/nightly/2013-07-16-03-02-01-comm-central/lightning-2.7a1.en-US.mac.xpi k0s: Good idea. IMHO the best way to do this is to make profile arguments optionally callbacks that will take the date and build information and then return i.e. addons to be installed whimboo: Why not simply allowing us to specify the URL of the add-on to install? We make use of that for a long time in our Firefox Add-on tests with Mozmill. kewisch: This works normally, but not for addons with a specific build id / date. See the URL I linked above, you see it contains 2013-07-16-03-02-01. I would like to be able to retrieve the addon that was built at the same time as the product it should be installed into. If there is an easy way to do this, please do let me know. whimboo: Hm, we could make this part of mozdownload: https://github.com/mozilla/mozdownload In the future we also want to retrieve other file types like logs etc. So downloading XPI files would also be a good fit.
One thing I've thought about doing at some point would be the ability to execute an arbitrary python script after downloading and installing a build, to allow specifying a custom test/behaviour like this.
Sounds like a good idea to me. We will be integrating Lightning with Thunderbird some time soon so the need for this might not be as high as it was, but for separate builds it would still be a good addition.
(In reply to William Lachance (:wlach) from comment #1) > One thing I've thought about doing at some point would be the ability to > execute an arbitrary python script after downloading and installing a build, > to allow specifying a custom test/behaviour like this. Are you talking about automatic bisection (which already exists: http://mozilla.github.io/mozregression/documentation/automatic-bisection.html), or an after-install hook for manual runs ?
You need to log in before you can comment on or make changes to this bug.