[Dextrose] [Patch] Journal sort by creation date

Andrés Ambrois andresambrois at gmail.com
Thu Oct 14 10:10:37 EDT 2010


On Wednesday, October 13, 2010 06:25:09 pm Bernie Innocenti wrote:
> On Wed, 2010-10-13 at 13:57 -0200, Andrés Ambrois wrote:
> > In any case, the sorting patches were much improved in mainline (we're 
using a 
> > "creation_time" property now), maybe it would be better to cherry pick 
those 
> > commits instead of forking the development of this feature? I don't know 
what 
> > the backport/bugfix policy for Dextrose is in these cases.
> 
> Is there an upgrade path from the old property to the new one? 

Yes. Dextrose just uses the old ctime (which has been supported since times 
immemorial). The patches in mainline add a creation_time property which is 
extracted from ctime if present (see patches [0] and [1]).

> If not, what would would happen when we restore a journal created by
> Dextrose 1 onto a newer release?

It should migrate cleanly when an index rebuild is triggered. 

> In case there are no compatibility issues, would you have time to
> refresh the patch series for Dextrose 2? Alternatively, you could simply
> point Steven at the list of patches that went in 0.90, so he can
> backport them to 0.88. They might very well apply in pristine form.

Do you have sugar and sugar-datastore clones for Dextrose 2? I think the 
patches should apply cleanly to 0.88. Here are the commits that went in 0.90:

http://git.sugarlabs.org/projects/sugar-
datastore/repos/mainline/commits/089ba387eafec10734ce3023665a163c531b82b4
http://git.sugarlabs.org/projects/sugar-
datastore/repos/mainline/commits/f3f71c3dad6fdf3b69b3624a6a584002c4c4fb28
[0] http://git.sugarlabs.org/projects/sugar-
datastore/repos/mainline/commits/faa9974381f5ad70307e6c394d096b56134391e7
[1] http://git.sugarlabs.org/projects/sugar-
datastore/repos/mainline/commits/7475a1fe38fca3ee4491bc272a59693805136f1e
http://git.sugarlabs.org/projects/sugar-
datastore/repos/mainline/commits/19845394f5f74f67e32192e3a09ce396522329bd

> -- 
>    // Bernie Innocenti - http://codewiz.org/
>  \X/  Sugar Labs       - http://sugarlabs.org/
> 
> 

-- 
  -Andrés
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.sugarlabs.org/archive/dextrose/attachments/20101014/0591474f/attachment.pgp>


More information about the Dextrose mailing list