[Sugar-devel] [ASLO] Problem with number of version

Gary Martin garycmartin at googlemail.com
Wed Jul 18 20:19:12 EDT 2012


Hi folks,

On 19 Jul 2012, at 00:06, Alan Jhonn Aguiar Schwyn wrote:

> 
> Works. The problem is the dot in the activity version.
> Maybe all xx.x activities must will updated to xx+1

For what it's worth: Digging through git commits, dotted version number support was added by commit c7a80a (November 2010) and first released in Sugar 0.92.0 (February 2011). The patch was landed as a fix for ticket "Implement dotted activity versions to sugar" #2425 [1]. The first official OLPC release with this change was 11.2.0 build 874 (July 20011), though not a feature I could find mentioned in the release notes [2].

We should not be using dotted version numbers for activities intended to be installed at deployments running builds older than Sugar 0.92.0.

Regards,
--Gary

[1] http://bugs.sugarlabs.org/ticket/2425
[2] http://wiki.laptop.org/go/Release_notes/11.2.0

> Regards!
> 
> Alan
> 
> > Date: Wed, 18 Jul 2012 17:18:53 -0400
> > From: walter.bender at gmail.com
> > To: alanjas at hotmail.com
> > CC: sugar-devel at lists.sugarlabs.org; aslo at lists.sugarlabs.org
> > Subject: Re: [Sugar-devel] Problem with number of version
> > 
> > Please test v152 on git (gtk-2)
> > 
> > -walter
> > 
> > On Wed, Jul 18, 2012 at 2:37 AM, Alan Jhonn Aguiar Schwyn
> > <alanjas at hotmail.com> wrote:
> > >
> > > Hi,
> > >
> > > I try the TurtleBlocks 149.1 in a XO-1 with Sugar 0.88
> > > When install, I get this error:
> > >
> > > [olpc at xo-1e-66-9e DB1D-2012]$ sugar-install-bundle turtle_art-149.1.xo
> > > Traceback (most recent call last):
> > > File "/usr/bin/sugar-install-bundle", line 17, in <module>
> > > bundle = ActivityBundle(sys.argv[1])
> > > File "/usr/lib/python2.6/site-packages/sugar/bundle/activitybundle.py",
> > > line 67,
> > > in __init__
> > > self._parse_info(info_file)
> > > File "/usr/lib/python2.6/site-packages/sugar/bundle/activitybundle.py",
> > > line
> > > 130, in _parse_info
> > > (self._path, version))
> > > sugar.bundle.bundle.MalformedBundleException: Activity bundle
> > > turtle_art-149.1.xo
> > > has invalid version number 149.1
> > > [olpc at xo-1e-66-9e DB1D-2012]$
> > >
> > > Someone observed this problem?
> > >
> > > I read the recomendations of "freeze" the deployment for GTK-2 and only make
> > > a bug
> > > fixes using .x versions.. But this have that problem..
> > >
> > > Regards!
> > >
> > > Alan
> > 
> > 
> > 
> > -- 
> > Walter Bender
> > Sugar Labs
> > http://www.sugarlabs.org
> > _______________________________________________
> > Sugar-devel mailing list
> > Sugar-devel at lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
> _______________________________________________
> ASLO mailing list
> ASLO at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/aslo



More information about the Sugar-devel mailing list