<div class="gmail_quote">On Mon, Jul 14, 2008 at 3:09 PM, C. Scott Ananian <<a href="mailto:cscott@laptop.org">cscott@laptop.org</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
2008/7/14 Eben Eliason <<a href="mailto:eben.eliason@gmail.com">eben.eliason@gmail.com</a>>:<br>
<div class="Ih2E3d">> There was an extensive discussion on this topic a while back on IRC, which I<br>
> unfortunately don't have a record of. There was also mention of this in the<br>
> mailing lists not too long ago, initiated by<br>
> Morgan: <a href="http://lists.laptop.org/pipermail/sugar/2008-May/005895.html" target="_blank">http://lists.laptop.org/pipermail/sugar/2008-May/005895.html</a>.<br>
> Finally, I brought this up at the end of a recent tech team meeting (1 or 2<br>
> weeks ago?) as a topic that needed our attention in order to make the<br>
> update/upgrade system work (specifically, regarding the need for minor<br>
> versions so that we can make bugfixes to older versions of an activity (say,<br>
> 4.x) while keeping 5.x for all versions that work with the next version of<br>
> the OS). I think deciding how we version activities is a critical part of<br>
> making our OS releases work, and can assist in the problem of answering<br>
> "Which activities work with my release?". Answering 4.x is nicer than [34 -<br>
> 42], and MUCH nicer than [36-38, 40, 42].<br>
> The "agreement" I speak of was really a lack of any voiced disagreement when<br>
> I mentioned this issue at the meeting.<br>
<br>
</div>From extensive auditing of current activity version numbers:<br>
a) a large number of activities are using completely random and bogus<br>
strings for their version numbers. "Just an integer" is about the<br>
simplest possible scheme, and people still don't get it. I'm<br>
unconvinced that any more complicated scheme will work better.</blockquote><div><br></div><div>They don't get it? Or they don't get how a single integer is supposed to be sufficient, and therefor use their own methods? Do you have examples of specific "random and bogus" strings we can look at to see what's been tried?</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
b) There is an alternative mechanism already in place for handling<br>
dependencies on specific versions, documented in the [[Activity<br>
bundles]] entry for 'update_url'. Basically, you can specify a<br>
different version number as appropriate based on the current OS build,<br>
release version, and release major version. So you can say, "version<br>
8 if you are using 8.1, or version 9 if you are using 8.2".</blockquote><div><br></div><div>How does this actually help the user, or the tech support team when someone wants to know "what version of chat works with 9.1.0?" Short of saying "Well, the system will (should) know if it can support an activity, so download it and see..." what do we have? We say "Well, versions 36-38, and also 40, and also 42, work with 9.1, but not 39 and 41...those are bugfixes for 8.2". This seems silly to me. Just say versions 4.x and 5.x work with 8.2 and 6.x works with 9.1. This also makes displaying multiple versions (activity "threads") possible in the OS. Otherwise how can we reasonable sort/group the activities in any way that makes sense?</div>
<div><br></div><div>- Eben</div></div>