Re: [SOGo] Tb17 Upgrade

2012-12-12 Thread Simon Walter

On 12/13/2012 04:06 AM, J. Echter wrote:

Am 12.12.2012 00:32, schrieb Ben Luey:
What's the best (easiest) way to upgrade users from TB10ESR (and 
associated sogo plugins) to TB17ESR plugins?


In TB when I go to Help, About, Check for Updates it does not show my 
ESR 17, only that 10.0.11 is current. Should I just download and 
install tb 17esr or is there a way to get TB to upgrade internally 
(this is on windows)?


I don't want to push the new sogo extensions for 17 in my 
updates.php  as the extensions aren't compatible with TB10, so I'm 
assuming that would be bad for folks still on TB10 (Can updates push 
the extensions only to those using tb17?). I was thinking of making a 
new updates17.php with the new extensions and then having 
sogo-integrator-17 point to that url, but then I have to upgrade TB17 
and then install (manually) the new sogo-integrator.


Better approaches? Ideally, users would click upgrade in TB and get 
the 17ESR (they are on ESR channel now) and the sogo 17 extensions 
but nothing would break for users still on TB10 (for now.. at some 
point force them to upgrade).


Thanks,

Ben


Hi,

maybe this will be interesting for you:

http://wpkg.org/

cheers

juergen


I use this for lots of software - not just TB. It's quite flexible. 
There is also http://code.google.com/p/wpkg-gp/ which allows for even more.


--
htholidays.com

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Tb17 Upgrade

2012-12-12 Thread J. Echter
Am 12.12.2012 00:32, schrieb Ben Luey:
> What's the best (easiest) way to upgrade users from TB10ESR (and
> associated sogo plugins) to TB17ESR plugins?
>
> In TB when I go to Help, About, Check for Updates it does not show my
> ESR 17, only that 10.0.11 is current. Should I just download and
> install tb 17esr or is there a way to get TB to upgrade internally
> (this is on windows)?
>
> I don't want to push the new sogo extensions for 17 in my updates.php 
> as the extensions aren't compatible with TB10, so I'm assuming that
> would be bad for folks still on TB10 (Can updates push the extensions
> only to those using tb17?). I was thinking of making a new
> updates17.php with the new extensions and then having
> sogo-integrator-17 point to that url, but then I have to upgrade TB17
> and then install (manually) the new sogo-integrator.
>
> Better approaches? Ideally, users would click upgrade in TB and get
> the 17ESR (they are on ESR channel now) and the sogo 17 extensions but
> nothing would break for users still on TB10 (for now.. at some point
> force them to upgrade).
>
> Thanks,
>
> Ben

Hi,

maybe this will be interesting for you:

http://wpkg.org/

cheers

juergen
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Tb17 Upgrade

2012-12-12 Thread Ben Luey

Thanks -- Here's what I ending up doing to my updates.php script:

$useragent=explode(';',$_SERVER['HTTP_USER_AGENT']);
preg_match('/Thunderbird\/([0-9]+)/',$_SERVER['HTTP_USER_AGENT'],$matches);

Then I created a $plugins17 and $plugins10 instead of a single $plugins 
array. Then I picked which $pluginsX to use with:


if ( $matches[1] == "17") {
$plugins=$plugins17;
} else {
$plugins=$plugins10;
}

Ben


On 12/12/2012 2:04 AM, Jakob Lenfers wrote:

Am 12.12.2012 00:32, schrieb Ben Luey:


In TB when I go to Help, About, Check for Updates it does not show my
ESR 17, only that 10.0.11 is current. Should I just download and install
tb 17esr or is there a way to get TB to upgrade internally (this is on
windows)?

IIRC TB10 ESR only will update to 17.0.1 (uhhh, unintentional Star Trek
reference! :)) or at least a version where the very first bugs are
already found.


I don't want to push the new sogo extensions for 17 in my updates.php
as the extensions aren't compatible with TB10, so I'm assuming that
would be bad for folks still on TB10 (Can updates push the extensions
only to those using tb17?). I was thinking of making a new updates17.php
with the new extensions and then having sogo-integrator-17 point to that
url, but then I have to upgrade TB17 and then install (manually) the new
sogo-integrator.

But the old ones work in TB17? IIRC thats how we did the switch from TB3
to TB10, we just checked the user agent in the update script
($_SERVER['HTTP_USER_AGENT']) and delivered the plugin versions accordingly.

Regards,
Jakob




--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Tb17 Upgrade

2012-12-12 Thread Jakob Lenfers
Am 12.12.2012 00:32, schrieb Ben Luey:

> In TB when I go to Help, About, Check for Updates it does not show my
> ESR 17, only that 10.0.11 is current. Should I just download and install
> tb 17esr or is there a way to get TB to upgrade internally (this is on
> windows)?

IIRC TB10 ESR only will update to 17.0.1 (uhhh, unintentional Star Trek
reference! :)) or at least a version where the very first bugs are
already found.

> I don't want to push the new sogo extensions for 17 in my updates.php 
> as the extensions aren't compatible with TB10, so I'm assuming that
> would be bad for folks still on TB10 (Can updates push the extensions
> only to those using tb17?). I was thinking of making a new updates17.php
> with the new extensions and then having sogo-integrator-17 point to that
> url, but then I have to upgrade TB17 and then install (manually) the new
> sogo-integrator.

But the old ones work in TB17? IIRC thats how we did the switch from TB3
to TB10, we just checked the user agent in the update script
($_SERVER['HTTP_USER_AGENT']) and delivered the plugin versions accordingly.

Regards,
Jakob



signature.asc
Description: OpenPGP digital signature


Re: [SOGo] Tb17 Upgrade

2012-12-11 Thread André Schild

Hello Ben,

Am 12.12.2012 00:32, schrieb Ben Luey:
What's the best (easiest) way to upgrade users from TB10ESR (and 
associated sogo plugins) to TB17ESR plugins?


In TB when I go to Help, About, Check for Updates it does not show my 
ESR 17, only that 10.0.11 is current. Should I just download and 
install tb 17esr or is there a way to get TB to upgrade internally 
(this is on windows)?


I don't want to push the new sogo extensions for 17 in my updates.php  
as the extensions aren't compatible with TB10, so I'm assuming that 
would be bad for folks still on TB10 (Can updates push the extensions 
only to those using tb17?). I was thinking of making a new 
updates17.php with the new extensions and then having 
sogo-integrator-17 point to that url, but then I have to upgrade TB17 
and then install (manually) the new sogo-integrator.


Better approaches? Ideally, users would click upgrade in TB and get 
the 17ESR (they are on ESR channel now) and the sogo 17 extensions but 
nothing would break for users still on TB10 (for now.. at some point 
force them to upgrade).


I think we face the same situation as with 3.x -> 10.x upgrade.

You can look here http://wiki.sogo.nu/Thunderbird

The two last lines before the Addons section might be helpfull.
We did the 3.x to 10.x upgrade according to this:

http://wiki.sogo.nu/TB-upgrade-3-to-10


André
--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] Tb17 Upgrade

2012-12-11 Thread Ben Luey
What's the best (easiest) way to upgrade users from TB10ESR (and 
associated sogo plugins) to TB17ESR plugins?


In TB when I go to Help, About, Check for Updates it does not show my 
ESR 17, only that 10.0.11 is current. Should I just download and install 
tb 17esr or is there a way to get TB to upgrade internally (this is on 
windows)?


I don't want to push the new sogo extensions for 17 in my updates.php  
as the extensions aren't compatible with TB10, so I'm assuming that 
would be bad for folks still on TB10 (Can updates push the extensions 
only to those using tb17?). I was thinking of making a new updates17.php 
with the new extensions and then having sogo-integrator-17 point to that 
url, but then I have to upgrade TB17 and then install (manually) the new 
sogo-integrator.


Better approaches? Ideally, users would click upgrade in TB and get the 
17ESR (they are on ESR channel now) and the sogo 17 extensions but 
nothing would break for users still on TB10 (for now.. at some point 
force them to upgrade).


Thanks,

Ben
--
users@sogo.nu
https://inverse.ca/sogo/lists