Changes

Jump to navigation Jump to search
no edit summary
Line 1: Line 1:  
<noinclude>
 
<noinclude>
[[Category:Feature Page Incomplete]]
+
[[Category:FeatureLanded|Dotted Activity Versions]]
[[Category:Feature|Dotted Activity Versions]]
+
</noinclude>
    
== Summary ==
 
== Summary ==
Line 17: Line 17:     
== Detailed Description ==
 
== Detailed Description ==
The new numbering scheme is more flexible and allows you to do major and minor releases. This is useful when you want to do for example a bug fix release. The new version number will consist of N integers separated by dots (e.g. 1, 1.2, 1.4.5, 2.5.7.4). You can still use an integer number only for your releases.
+
The new numbering scheme is more flexible and allows you to do major and minor releases. This is useful when you want to do for example a bug fix release. The new version number will consist of N integers separated by dots (e.g., 1, 1.2, 1.4.5, 2.5.7.4). You can still use an integer number only for your releases.
   −
There is as well the ability to use a suffix for a local indicator (e.g. Peru wants to release a slightly modified version for their deployment 1.3-peru). The local indicator is a string, appended to the version. The local indicator does not apply alpha ordering, which means that 1.3-peru is equal to 1.3-argentina.
+
There is as well the ability to use a suffix for a local indicator (e.g., Peru wants to release a slightly modified version for their deployment 1.3-peru). The local indicator is a string, appended to the version. The local indicator does not apply alpha ordering, which means that 1.3-peru is equal to 1.3-argentina.
    
Valid:
 
Valid:
1
+
1
1.2
+
1.2
1.2.3
+
1.2.3
2.4.6.7
+
2.4.6.7
2.3-peru
+
2.3-peru
    
Not valid:
 
Not valid:
1.2peru        # must be separated with -                                                                                                                                                                    
+
1.2peru        # must be separated with a '-'
1.2.          # can't end with '.'                                                                                                                                                                          
+
1.2.          # can't end with '.'
1.02.5        # can't have a leading zero                                                                                                                                                                    
+
1.02.5        # can't have a leading zero
    
Comparisons:
 
Comparisons:
12 == 12
+
12 == 12
0.9.9 < 1
+
0.9.9 < 1
1 == 1.0.0
+
1 == 1.0.0
1.2 < 1.2.3
+
1.2 < 1.2.3
1.2-arg == 1.2
+
1.2-arg == 1.2
1.2-arg == 1.2-peru
+
1.2-arg == 1.2-peru
    
== Benefit to Sugar ==
 
== Benefit to Sugar ==
 +
The new scheme gives activity developers more control on their releases. The separation between a major release and a minor (bugfix) release is more clearly visible. Since developers can still use just integer numbers the simplicity of the old scheme is kept.
   −
 
+
This scheme also enables developers who maintain older versions of Sugar, building activities with intermediate versions, in cases where it is not possible to use the latest changes because are not compatible.
    
== Scope ==
 
== Scope ==
 +
This feature does add a new class to the toolkit that is used to verify the correctness of the numbering string. The bundlebuilder and the activitybundle are adjusted accordingly ([http://bugs.sugarlabs.org/attachment/ticket/2425/0001-Adopt-to-new-numbering-scheme-2425.patch current toolkit patch]). In the shell the activity list and the bundleregistry has to change accordingly ([http://bugs.sugarlabs.org/attachment/ticket/2425/0001-Adopt-to-new-numbering-scheme-2425.patch current shell patch]).
   −
 
+
Furthermore the activity updater has to adopt to the new scheme.
    
==UI Design==
 
==UI Design==
Line 68: Line 70:     
== Documentation ==
 
== Documentation ==
[http://wiki.sugarlabs.org/go/Development_Team/Almanac/Activity_Bundles#.info_file_format The activity.info file documentation] will be adjusted accordingly once this feature has landed. The discussion about this feature has been taking place at this [http://www.mail-archive.com/sugar-devel@lists.sugarlabs.org/msg16943.html thread] on the sugar-devel mailing list.
+
[[Development_Team/Almanac/Activity_Bundles#.info_file_format |The activity.info file documentation]] will be adjusted accordingly once this feature lands. The discussion about this feature has been taking place at this [http://www.mail-archive.com/sugar-devel@lists.sugarlabs.org/msg16943.html thread] on the sugar-devel mailing list.
    
== Release Notes ==
 
== Release Notes ==
628

edits

Navigation menu