Re: [Sugar-devel] wrong Activity versions for 8.2(.1) -- Etoys, Memorize, Terminal, Read, others
BUG: Software update in OLPC release 8.2.1 doesn't attempt to read 8.2.1 versions of files such as http://etoys.laptop.org/xo/8.2.1 because, I think, nobody updated /etc/olpc-release ! /etc/olpc-release contains 8.2, and if you read bitfrost/update/actinfo.py's get_major_version(), that's the wrong content and leads to the wrong behavior: get_os_version() = 802 get_release_version() = 8.2 should be 8.2.1 get_major_version()= None should be 8.2 Bug #8022 was filed about this for Release 8.2.0 but not fixed, I filed a similar bug for 8.2.1, http://dev.laptop.org/ticket/9317 Also, the progress output of Software update is *incredibly* misleading, it says Fetching http://wiki.laptop.org/go/Activities/G1G1 when in fact it is probably retrieving a different URL with a build or release part tacked on. And then it seems to read variations of update_url from activity.info, and and possibly repeatedly reads http://wiki.laptop.org/go/Activities , but none of this is its log or debug output. As I remark in bug 9317, I think a workaround would be for the Etoys team to create http://etoys.laptop.org/xo/802 , as 802 is the build number of Release 8.2.1. Software update tries the update URL with /802 on the end before anything else. Bert Fruedenberg wrote Besides, most of its functionality is provided by the etoys glucose module which is not a downloadable activity. Activity version 94 is virtually identical to version 101. So maybe it's not worth bothering to address this just for Etoys. If and when other activities need a special 8.2.1 version, the problem will recur. I wrote I believe Software update on 8.2.x determines the latest versions from http://wiki.laptop.org/go/Activities/G1G1/8.2 I added a bunch of debug prints to bitfrost and updater.py and for the G1G1 activity group on 8.2.1 Software update actually tries http://wiki.laptop.org/go/Activities/G1G1/802 (no such URL currently) It *should* try http://wiki.laptop.org/go/Activities/G1G1/8.2.1 , but doesn't. http://wiki.laptop.org/go/Activities/G1G1/8.2 (succeeds and it uses this info) http://wiki.laptop.org/go/Activities/G1G1(next it would have tried this) http://wiki.laptop.org/go/Software_updater is quite vague on what happens when there is more than one set of URLs that might have update info for an installed activity. I *think* an installed activity.info's activity_url (if it has one) wins out, then the G1G1 activity group, and if an activity doesn't have an activity_url and isn't in the activity group, then Software update reads the set of URLs for http://wiki.laptop.org/go/Activities (and finds only http://wiki.laptop.org/go/Activities, which mostly transcludes Activities/G1G1/8.2). -- =S Page ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] wrong Activity versions for 8.2(.1) -- Etoys, Memorize, Terminal, Read, others
On 24.05.2009, at 03:56, S Page wrote: Etoys at 94, but its web page's Activity_version says 98 == Someone should update http://wiki.laptop.org/go/Activities/Etoys_(8.2) !? == http://activities.sugarlabs.org/en-US/sugar/addons/versions/4030 is up to 100, but doesn't list a version for Sugar 0.82 Actually, the 8.2 version is correctly listed as 94: http://etoys.laptop.org/xo/8.2/ and for 8.2.1 it is 99 http://etoys.laptop.org/xo/8.2.1/ and the latest is 101 http://etoys.laptop.org/xo/ The versions listed at activities.sugarlabs.org are pretty much irrelevant because as part of Fructose, Etoys is installed by default anyways. Besides, most of its functionality is provided by the etoys glucose module which is not a downloadable activity. Activity version 94 is virtually identical to version 101. We updated the activity version whenever the glucose module version changed. This is not ideal, we should change the versioning scheme, but that's the way it is for now. - Bert - ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] wrong Activity versions for 8.2(.1) -- Etoys, Memorize, Terminal, Read, others
XO's running 8.2.0 and 8.2.1 (thus Sugar 0.82.1) can use the Software update control panel to update an activity group of activities and collections. I believe Software update on 8.2.x determines the latest versions from http://wiki.laptop.org/go/Activities/G1G1/8.2 Unfortunately these version numbers are independent of the bundles pointed to by activity pages and their semantic info, let alone newer versions on http://activity.sugarlabs.org. People recently fixed Browse, but after running Software update to upgrade my 8.2.1 activities to latest version, I noticed several other discrepancies: 1. Software update doesn't update to latest version for 8.2. Etoys at 94, but its web page's Activity_version says 98 == Someone should update http://wiki.laptop.org/go/Activities/Etoys_(8.2) !? == http://activities.sugarlabs.org/en-US/sugar/addons/versions/4030 is up to 100, but doesn't list a version for Sugar 0.82 Memorize at 28 and its web page's Activity_version says 28, but http://activities.sugarlabs.org/en-US/sugar/addon/4063 says v.30 works for Sugar 0.82 == Someone should update http://wiki.laptop.org/go/Activities/Memorize_(8.2) and http://wiki.laptop.org/go/Activities/Memorize_(latest) Read at 56, web page Activity_version says 52 and 61, and http://activities.sugarlabs.org/en-US/sugar/addons/versions/4028 doesn't list a version for Sugar 0.82. == What is the latest Read version that works for 8.2.0? Terminal at 18, but the web page's Activity_version says 19 == Someone should update http://wiki.laptop.org/go/Activities/Terminal_(8.2) !? == http://activities.sugarlabs.org/en-US/sugar/addons/versions/4043 doesn't list a version for Sugar 0.82 Turtle Art is at 10, web page doesn't identify a tested release. http://activities.sugarlabs.org/en-US/sugar/addons/versions/4027 is all the way to version 51 but doesn't list a version for Sugar 0.82 2. Activity updates to a later version than its wiki.laptop.org web page IMO just delete redundant and out-of-date info on wiki.laptop.org. Blank out the activity_version and OBX xobundle info for the activity, and use the {{activity migrated to sl.o}} template as Aleksey has been doing. See http://wiki.laptop.org/go/Maintaining_activity_web_information Browse at 102, web page Activity_version says its 98 also the web page's lang pootle links redirect to sugarlabs w/ bad https and broken rewrite TamTamEdit at 50, Mini at 49, SynthLab at 51; web page Activity_version versions are 1 less than those. 3. Activities/G1G1/8.2 mis-identifies the version for 8.2 as (latest). Sometimes http://wiki.laptop.org/go/Activities/G1G1/8.2 has the right version for 8.2, but misidentifies it as the latest version when activities.sugarlabs.org has something much more recent. The fix is to change this page to pull in the (8.2) fragment. 4. I didn't grind through every versions page on activities.sugarlabs.org. If your activity has a more recent version than what's listed here that works on 8.2.1/Sugar 0.82, please update its fragment. Here's the set of versions on my XO-1 running 8.2.1 after Software update: Analyze.activity 8 Browse.activity 102 Calculate.activity 25 Chat.activity48 Distance.activity14 Etoys.activity 94 Firefox-6.activity6 (not in Activities/G1G1) Help.activity10 Implode.activity 5 Log.activity 16 Maze.activity 6 Measure.activity 21 Memorize.activity28 Moon.activity10 Paint.activity 23 Pippy.activity 30 Read.activity56 Record.activity 59 Ruler.activity3 Scratch.activity 12 Speak.activity9 TamTamEdit.activity 50 TamTamJam.activity 51 TamTamMini.activity 49 TamTamSynthLab.activity 51 Terminal.activity18 TurtleArt.activity 10 WikipediaEN.activity 4 Write.activity 60 5. There are many other activities not part of the G1G1 activities group that are out-of-date on wiki.laptop.org. For example, Colors! web page Activity_version says its 13, but http://activities.sugarlabs.org/en-US/sugar/addons/versions/4050 says version 15 is latest. Again, I think blanking it out and indicated the version for Sugar 0.82 on Activities.sugarlabs.org's See All Versions is the way to go. Cheers, -- =S Page ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] wrong Activity versions for 8.2(.1) -- Etoys, Memorize, Terminal, Read, others
I guess, its more complex issue then just updating wiki (btw updating several wikis after bumping new version could be a pain for activity author). I think having one method for all distributions to get updates is much attractive way, so I've proposed it for 0.86 roadmap[1]. [1] http://wiki.sugarlabs.org/go/Development_Team/Release/Roadmap/0.86#Activities_updates On Sun, May 24, 2009 at 03:56:32AM -0700, S Page wrote: XO's running 8.2.0 and 8.2.1 (thus Sugar 0.82.1) can use the Software update control panel to update an activity group of activities and collections. I believe Software update on 8.2.x determines the latest versions from http://wiki.laptop.org/go/Activities/G1G1/8.2 Unfortunately these version numbers are independent of the bundles pointed to by activity pages and their semantic info, let alone newer versions on http://activity.sugarlabs.org. People recently fixed Browse, but after running Software update to upgrade my 8.2.1 activities to latest version, I noticed several other discrepancies: 1. Software update doesn't update to latest version for 8.2. Etoys at 94, but its web page's Activity_version says 98 == Someone should update http://wiki.laptop.org/go/Activities/Etoys_(8.2) !? == http://activities.sugarlabs.org/en-US/sugar/addons/versions/4030 is up to 100, but doesn't list a version for Sugar 0.82 Memorize at 28 and its web page's Activity_version says 28, but http://activities.sugarlabs.org/en-US/sugar/addon/4063 says v.30 works for Sugar 0.82 == Someone should update http://wiki.laptop.org/go/Activities/Memorize_(8.2) and http://wiki.laptop.org/go/Activities/Memorize_(latest) Read at 56, web page Activity_version says 52 and 61, and http://activities.sugarlabs.org/en-US/sugar/addons/versions/4028 doesn't list a version for Sugar 0.82. == What is the latest Read version that works for 8.2.0? Terminal at 18, but the web page's Activity_version says 19 == Someone should update http://wiki.laptop.org/go/Activities/Terminal_(8.2) !? == http://activities.sugarlabs.org/en-US/sugar/addons/versions/4043 doesn't list a version for Sugar 0.82 Turtle Art is at 10, web page doesn't identify a tested release. http://activities.sugarlabs.org/en-US/sugar/addons/versions/4027 is all the way to version 51 but doesn't list a version for Sugar 0.82 2. Activity updates to a later version than its wiki.laptop.org web page IMO just delete redundant and out-of-date info on wiki.laptop.org. Blank out the activity_version and OBX xobundle info for the activity, and use the {{activity migrated to sl.o}} template as Aleksey has been doing. See http://wiki.laptop.org/go/Maintaining_activity_web_information Browse at 102, web page Activity_version says its 98 also the web page's lang pootle links redirect to sugarlabs w/ bad https and broken rewrite TamTamEdit at 50, Mini at 49, SynthLab at 51; web page Activity_version versions are 1 less than those. 3. Activities/G1G1/8.2 mis-identifies the version for 8.2 as (latest). Sometimes http://wiki.laptop.org/go/Activities/G1G1/8.2 has the right version for 8.2, but misidentifies it as the latest version when activities.sugarlabs.org has something much more recent. The fix is to change this page to pull in the (8.2) fragment. 4. I didn't grind through every versions page on activities.sugarlabs.org. If your activity has a more recent version than what's listed here that works on 8.2.1/Sugar 0.82, please update its fragment. Here's the set of versions on my XO-1 running 8.2.1 after Software update: Analyze.activity 8 Browse.activity 102 Calculate.activity 25 Chat.activity48 Distance.activity14 Etoys.activity 94 Firefox-6.activity6 (not in Activities/G1G1) Help.activity10 Implode.activity 5 Log.activity 16 Maze.activity 6 Measure.activity 21 Memorize.activity28 Moon.activity10 Paint.activity 23 Pippy.activity 30 Read.activity56 Record.activity 59 Ruler.activity3 Scratch.activity 12 Speak.activity9 TamTamEdit.activity 50 TamTamJam.activity 51 TamTamMini.activity 49 TamTamSynthLab.activity 51 Terminal.activity18 TurtleArt.activity 10 WikipediaEN.activity 4 Write.activity 60 5. There are many other activities not part of the G1G1 activities group that are out-of-date on wiki.laptop.org. For example, Colors! web page Activity_version says its 13, but http://activities.sugarlabs.org/en-US/sugar/addons/versions/4050 says version 15 is latest. Again, I think blanking it out and indicated the version for Sugar 0.82 on Activities.sugarlabs.org's See All Versions is the way to go. Cheers, -- =S Page ___ Sugar-devel