[Sugar-devel] Api freeze break request

Gonzalo Odiard godiard at sugarlabs.org
Mon May 5 14:44:31 EDT 2014


The pr https://github.com/sugarlabs/sugar/pull/367
was updated in https://github.com/sugarlabs/sugar/pull/368


On Mon, May 5, 2014 at 2:42 PM, Gonzalo Odiard <godiard at sugarlabs.org>wrote:

> I am trying to fix some bugs in the Journal, when work in the Documents
> folder
> or external devices, and need add a method to get all he possible
> extensions for a mime type.
>
> Right now, the Journal check if a object have a extension, and if is not,
> add the "primary extension"
> for the mime type. This is a first problem, because many mime types have
> more than one
> possible extension. In these cases, if the extension don't is the same
> than the selected extension,
> the primary extension is added.
>
> To test this error, you can try download a .py file or a .jpg file, and
> copy it to the Documents folder.
> When you do 'ls'  in the terminal will see the files are copied as
> .py.wsgi and .jpg.jpeg
>
> This fix try to solve this particular case, files with valid extensions.
> Then check if the extension
> is one of the valid extensions before add the extension.
>
> The pr involved is
> https://github.com/sugarlabs/sugar-toolkit-gtk3/pull/140
> and is needed by https://github.com/sugarlabs/sugar/pull/367
>
> The sugar-toolkit-gtk3 add a new method, and we need the vote from two
> developers [1]
> to allow break the API freeze.
>
> --
> Gonzalo Odiard
>
> SugarLabs - Software for children learning
>
> [1] http://wiki.sugarlabs.org/go/Development_Team/Release#Feature_freeze
>



-- 
Gonzalo Odiard

SugarLabs - Software for children learning
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20140505/bb34bc60/attachment.html>


More information about the Sugar-devel mailing list