Hi all,

IIRC Marcin isn't correct here, at least not in general. Let me please
explain why I think so (and that's the reason why I follow up here for
now and not on [EMAIL PROTECTED] as suggested).

The version number must be a string that contains digits and separators
(dots) so that newer versions can be detected by simple numerical
comparisons. I would be very surprised if e.g. OOo couldn't recognize
that 1.0.1 is newer than 1.0.0. But to make sure I will ask the experts
and report.

True is that newer versions of a dictionary should stick to the
versioning system the extension uses. Most of the bundled dictionaries
indeed have the versioning schema YYYYMMDD. I chose that because it
makes finding version numbers easier, but I did that only for all
dictionaries we already had collected so far.

Dictionaries that have been created later from already existing
extensions have taken over the versioning schema used in the extensions
in the repository. IIRC these were the French, German dictionaries,
perhaps the same was true for Galician and Vietnamese (I don't remember
exactly, sorry).

So to be on the safe side: if you were going to provide an update in our
extensions repository, you should have a look on the versioning schema
of the bundled extension and increase the version number in a way that
OOo understands it and that makes sense to you.

I will post the same text to [EMAIL PROTECTED] and we should continue
there as suggested by Sophie.

Regards,
Mathias

sophie wrote:

> Hi all,
> 
> This might be of interest for several of you.
> Please follow-up on [EMAIL PROTECTED] if you have further questions.
> 
> Kind regards
> Sophie
> 
> 
> ------------------------------------------------------------------------
> 
> Subject:
> Re: [lingu-dev] bundling of dictionaries in upcoming OpenOffice.org versions
> From:
> Marcin MiƂkowski <[EMAIL PROTECTED]>
> Date:
> Wed, 01 Oct 2008 19:00:05 +0200
> To:
> [EMAIL PROTECTED]
> 
> To:
> [EMAIL PROTECTED]
> 
> X-Account-Key:
> account2
> Return-Path:
> <[EMAIL PROTECTED]>
> Delivered-To:
> [EMAIL PROTECTED]
> Received:
> (qmail 5721 invoked from network); 1 Oct 2008 17:00:14 -0000
> Received:
> from 204.16.104.2 (HELO openoffice.org) (204.16.104.2) by
> mrelay7-g25.free.fr with SMTP; 1 Oct 2008 17:00:14 -0000
> Received:
> (qmail 8347 invoked by uid 5000); 1 Oct 2008 17:00:10 -0000
> Mailing-List:
> contact [EMAIL PROTECTED]; run by ezmlm
> Precedence:
> bulk
> X-No-Archive:
> yes
> list-help:
> <mailto:[EMAIL PROTECTED]>
> list-unsubscribe:
> <mailto:[EMAIL PROTECTED]>
> list-post:
> <mailto:[EMAIL PROTECTED]>
> Reply-To:
> [EMAIL PROTECTED]
> Delivered-To:
> mailing list [EMAIL PROTECTED]
> Received:
> (qmail 8323 invoked from network); 1 Oct 2008 17:00:08 -0000
> X-IronPort-Anti-Spam-Filtered:
> true
> X-IronPort-Anti-Spam-Result:
> ApYBAKtJ40jBESmOo2dsb2JhbACBZpFkAQEBAQEBBwsKBxGqKYFq
> X-IronPort-AV:
> E=Sophos;i="4.33,344,1220252400"; d="scan'208";a="13466710"
> X-IRONPORT:
> SCANNED
> Message-ID:
> <[EMAIL PROTECTED]>
> User-Agent:
> Thunderbird 2.0.0.17 (Windows/20080914)
> MIME-Version:
> 1.0
> References:
> <[EMAIL PROTECTED]>
> In-Reply-To:
> <[EMAIL PROTECTED]>
> Content-Type:
> text/plain; charset=UTF-8; format=flowed
> Content-Transfer-Encoding:
> 7bit
> X-ProXaD-SC:
> Score=10
> 
> 
> Martin Hollmichel pisze:
>> Hi,
>> 
>> OpenOffice.org now comes with various dictionaries preinstalled with the 
>> full installation set for the various localization.
>> 
>> To take full advantage of the online update notification mechanism, it 
>> is important, that
>> 
>> * as many dictionaries as possible should be already bundled with the 
>> OpenOffice.org installation sets. This is in most cases not a problem 
>> with a LGPL compatible license (such as MPL, MIT, BSD, (L)GPL ) and 
>> should find they home in the OOo source tree (see 
>> http://svn.services.openoffice.org/ooo/trunk/dictionaries/ for the 
>> already existing dictionaries)
>> 
>> * having done this the second important issue vanishes automatically, 
>> the different versions of the same dictionaries should have the same 
>> identifier value so that the user will be able to get automated updates 
>> from the preinstalled dictionary towards the updated version in the 
>> repository.
>> 
>> e.g. we now have the Russian dictionary in the extension repository wit 
>> this value:
>> 
>> identifier value="org.openoffice.ro.dictionaries.ru"
>> 
>> and the one bundled in OOo:
>> 
>> identifier value="org.openoffice.ru.hunspell.dictionaries"
>> 
>> having the most recent version in the repository also help that the 
>> latest version will get included in new releases of OpenOffice.org 
>> automagically,
> 
> Just a note for dictionary pack authors: the version number should be 
> the current day in the format: YYYY.MM.DD, otherwise your dictionary 
> won't be recognized as a newer version.
> 
> Regards
> Marcin
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to "[EMAIL PROTECTED]".
I use it for the OOo lists and only rarely read other mails sent to it.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to