[Adium-devl] Fixing the 1.1 launch mess

David Smith catfish.man at gmail.com
Mon Aug 13 22:30:23 UTC 2007


WorksForMe. Sorry about my part in introducing the bug :/

			David

On Aug 13, 2007, at 3:20 PM, Peter Hosey wrote:

> The story so far, based on my description of it to Colin this  
> afternoon over AIM:
>
> ---
> We hadn't declared the minimumSystemVersion in the appcast, so  
> Panther users were downloading 1.1.
>
> Evan added it (<http://trac.adiumx.com/changeset/20572>), but he  
> added it as an attribute of the enclosure element, where Sparkle  
> and S+ do not look for it, so the Panther users were still  
> downloading it.
>
> So I moved it to an element inside the feed item element, sibling  
> to the enclosure element (<http://trac.adiumx.com/changeset/ 
> 20573>), and that's what really brought out the breakage.
>
> Turns out that Sparkle had a bug 5 months ago in its minimum system  
> version checking that did not retain the string containing the  
> minimum system version, so when -appcastDidFinishLoading: was  
> called, the string object was not technically alive anymore, yet  
> SUUpdater tried to compare it to another version.
>
> That bug got carried over to S+, whence it came into Adium.
>
> 5 months ago, Andy fixed it (<http://sparkle.andymatuschak.org/ 
> changeset/13>), but that fix did not get into S+ (somehow).
>
> The bug was masked before because we didn't have a minimum system  
> version declared, at least anywhere where Sparkle was looking for  
> it. But once I moved the version to an element, now Sparkle was  
> finding it, and not retaining it, and comparing it, and choking on it.
>
> Presto: Crash on launch for almost all new 1.1 users and 1.0.5 users.
> ---
>
> So here's what I suggest:
>
> 1. Take 1.1 and the minimumSystemVersion elements out of the appcast.
> 2. Push 1.0.6 with the fixed Sparkle+, for the benefit of Panther  
> users.
> 3. 24 hours later, release 1.1.1, put it in the appcast, and  
> restore the minimumSystemVersion elements.
>
> Do we have any disagreements with this plan?
>
> _______________________________________________
> Adium-devl mailing list
> Adium-devl at adiumx.com
> http://adiumx.com/mailman/listinfo/adium-devl_adiumx.com





More information about the devel mailing list