[Sugar-devel] [PATCH browse] Append the current Sugar (Sucrose) version to the user agent

Simon Schampijer simon at schampijer.de
Tue Jan 24 02:05:50 EST 2012


On 01/23/2012 07:16 PM, Sascha Silbe wrote:
> Excerpts from Simon Schampijer's message of 2012-01-16 12:52:00 +0100:
>
>> Furthermore we need to modify the Sugar version in Browse accordingly
>> with each Sugar release as the Sugar version is only availble in the
>> shell and not in the toolkit.
>
> As others pointed out (and you obviously noticed yourself), Browse isn't
> really a good place for this to live. In general we recommend activities
> to check for certain features [1] in order to run on different versions
> of Sugar, but we can't pack much information into the User-Agent header,
> so for this particular use case a way to figure out the Sugar Platform
> version [2] would be useful.
>
> Sascha
>
> [1] https://wiki.sugarlabs.org/go/Activity_Team/Compatibility_Tips
> [2] https://wiki.sugarlabs.org/go/0.96/Platform_Components

Can you be more concrete what you recommend? It is hard for me to tell 
from your comment.

Regards,
    Simon


More information about the Sugar-devel mailing list