[Adium-devl] Fixing the 1.1 launch mess

Peter Hosey prh at boredzo.org
Mon Aug 13 22:20:24 UTC 2007


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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20070813/95d9c8aa/attachment.sig>


More information about the devel mailing list