[Sugar-devel] Proposal of dotted activity version number

Walter Bender walter.bender at gmail.com
Mon Oct 4 10:48:19 EDT 2010


On Mon, Oct 4, 2010 at 10:27 AM, Gonzalo Odiard <gonzalo at laptop.org> wrote:
> The current activity version scheme does only allow the use of integer
> numbers.
> This has the issue that doing a bug fix release for an older activity
> version gets rather complicated. People have been planning for that in
> advance and reserved numbers for such a purpose in order to overcome that
> short coming.

How often is it the case that we wouldn't just want the latest version
of an activity to replace a bug-laden older version? Is there a use
case? That said, I have no objection to adding "dotted" version
numbers.

> Furthermore, the current scheme does not allow local deployments to release
> local versions of an activity.
> Based on the work that has been started in the "Dotted Activity Versions"
> feature [1] I want to propose a new scheme that fixes the issues described
> above.
> The new version number will consist of N integer numbers separated by dots
> and a suffix for a local indicator. Activity developers can still use an
> integer number only, if desired.
> Valid numbers are:
> 23
> 23.2
> 23.2.5
> 23.2.5-peru
> 23.2.5-uru
>
> The internal representation will be a string instead of an int and we will
> add means to validate and compare the versions.
>
> What do others think about this approach? Packagers?
> We must limit the number of integer digits allowed?
> Regards
>
> Gonzalo
>
> [1] http://wiki.sugarlabs.org/go/Features/Dotted_Activity_Versions
>
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>



-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org


More information about the Sugar-devel mailing list