From owner-svn-src-head@freebsd.org Sun Jul 24 15:57:34 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1233DBA3001; Sun, 24 Jul 2016 15:57:34 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9222E13BB; Sun, 24 Jul 2016 15:57:33 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by mail-wm0-x233.google.com with SMTP id o80so125706339wme.1; Sun, 24 Jul 2016 08:57:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=59MItsMSN1zzYzUZAz2t6YFLmg7/ihIXr1uZXYvsFNU=; b=tFCgflqUy+B5qhBGegHH8cj6i1lxUugDmFIZZ0Z50DFxQnmdBbUHhzVvFaWwVBJNQo 7uyoWoYOCSdf0ei93IUPSs4t23IaLgpysWV+ay3zk8rpwLHhbLSw3drlDJ1oD0AnFa/5 szJOCbmUoZytec/5FEeKna8Z3TnwctDQCgJ2S7MY6FfOt8GIDrS6dEhieAdSED9vlLjZ PIFBVdZViJtffjmMztJlV5Kj67dt6K8nmxKguHEpAGJEjuez4YgrIkkT89HszUtwBeqE 4FtsPVqOrpbut2mTttsu1xfSDxTS7BgjMuU/W4iAL16XT/xHQxpQqtPlEsDxWPvW1tkA X/fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=59MItsMSN1zzYzUZAz2t6YFLmg7/ihIXr1uZXYvsFNU=; b=nHevRdM2edyYDGx6jZNBHmzoe53Uj5vT4YGB8HWWTQ9i13hAxLHWCdqN8lYKL0kHbw qr8SgEz8My/LBXaRPjtcoEroX7qkXt7OIHR0I1HijbLuQ+PbDPd9PwUDS9lzaJj4KurI DLglcOva320ZI5WmuKZpCrCCOPDzGpDj0Zz79kUkqfNRvPwxPioDQfPvEN0Lh/vzxF8p hN0bB3D/TfQus4Mo6BSV/Tgb1hXroA/2QpnuD1yG6bYFtPrsibn0erzCUHgDOH/qbZ2U IsSJlr70K/d+3JmPg+IVtDArv0C2t5L4c5lhNlboPvUvJ0rJGn+n3cy7tSd8Fln34Xr/ vcmg== X-Gm-Message-State: AEkoouvHH1GIc/RQSvca+lRHC9KQgPszFlqWF7SR6SlqGipMbobC3d2RDzR8aoxU7yQMkQ== X-Received: by 10.28.152.5 with SMTP id a5mr16149902wme.76.1469375851737; Sun, 24 Jul 2016 08:57:31 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by smtp.gmail.com with ESMTPSA id d80sm22874002wmd.14.2016.07.24.08.57.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 Jul 2016 08:57:30 -0700 (PDT) Sender: Baptiste Daroussin Date: Sun, 24 Jul 2016 17:57:30 +0200 From: Baptiste Daroussin To: Andrey Chernov Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r303218 - head/tools/tools/locale/tools Message-ID: <20160724155729.pscfwaqsrxj5wgll@ivaldir.etoilebsd.net> References: <201607231124.u6NBO5aJ003824@repo.freebsd.org> <97566d46-1d37-8c95-f276-f55b190bddbb@freebsd.org> <20160723115244.76vhhzl55qoyw4kf@ivaldir.etoilebsd.net> <2ddb2814-9edf-82a9-350c-aebf34cdb4ab@freebsd.org> <20160723123228.i2tmxaklkoad6vkh@ivaldir.etoilebsd.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="sdbmesofzgtbbqep" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.1-neo (2016-06-11) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Jul 2016 15:57:34 -0000 --sdbmesofzgtbbqep Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jul 24, 2016 at 06:48:00PM +0300, Andrey Chernov wrote: > On 23.07.2016 15:32, Baptiste Daroussin wrote: > > On Sat, Jul 23, 2016 at 02:58:31PM +0300, Andrey Chernov wrote: > >> On 23.07.2016 14:52, Baptiste Daroussin wrote: > >>> On Sat, Jul 23, 2016 at 02:41:39PM +0300, Andrey Chernov wrote: > >>>> On 23.07.2016 14:24, Baptiste Daroussin wrote: > >>>>> Author: bapt > >>>>> Date: Sat Jul 23 11:24:05 2016 > >>>>> New Revision: 303218 > >>>>> URL: https://svnweb.freebsd.org/changeset/base/303218 > >>>>> > >>>>> Log: > >>>>> Add another hack to add weekday to date format to more locales > >>>>> > >>>>> While here only initialize the iconv converter when needed > >>>>> > >>>>> Modified: > >>>>> head/tools/tools/locale/tools/cldr2def.pl > >>>> > >>>> BTW, is there any progress in generating all collates with -m ${area= } as > >>>> you planned? > >>>> > >>> you mean the @modifier? > >> > >> No, I mean that: > >>>> Perhaps all uk_UA should be generated with -m ${area} too - Ukrainia= ns > >>>> have extended Cyrillics in their alphabet and I am not sure that the= ir > >>>> order match default Unicode order for Cyrillic. The same about be_BY, > >>>> bg_BG and sr_Cyrl_RS. They may match or may not, I don't check such > >>> deeply. > >>>> > >>>> It seems the safest side will be to generate all with -m ${area} > >>>> > >>> Yes that is my plan, except for the 1 or 2 that cannot be generated > >> >from cldr > >>> directly > >> > >=20 > > Nope I haven't made any progress, and I actually did a bunch of tests o= f some > > (honnestly not all locales) trying to get a representative set and coul= d not > > find differnce in ordering between locales generated with -m ${area}. > >=20 > > It would also needs lots of work on the generation tools. > >=20 > > I first need to write a tool that compares collation rules for various = ${area} > > (not done yet) to see how much this is really needed and use it in the > > generation tools. > >=20 > > I will try to do that for 12 if it is really worth it (based on the res= ult from > > that comparison tools) >=20 > IMHO we don't need comparison tools, just blindly adding -m ${area} to > generating of every collate with different area be enough. CLDR may > involve from time to time including national alphabets changes (which > may happen often enough too), so it will be better to not run such tests > every time with new CLDR import, but just the make code which do it > correctly independently (-m ${area}) and forget about it, it will be > much easier to maintain. Moreover, you'll spend more time writing such > testing tool than adding -m ${area} :) >=20 Point taken, still the whole tooling has been made around not doing the -m ${area} thing which I worked around for a few collation, I need to rework (= aka greatly simplify those tools so good direction) to be able to do a full -m ${area}. I will do that for sure for 12.0 Best regards, Bapt --sdbmesofzgtbbqep Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXlOVmAAoJEGOJi9zxtz5arb8P/01fJWKIMh0eRreJNYowoFXS QoFyJpuxycL3v4lnzq/0s5GEy7rSE4HStGo+JyTIixp6u3aV+Z4J0CStuDAl5iHr NETqdraoQ46UE3mx0SNMwQBBAjcBLd7+5xf0f5BjFZV6eNcbO9/NRLwu6KcgSokt BfUM1QeBoB8JN/pFOeRyJahBZgUnqX/6K73FWDUqVLuM4R/wzM6YEFA2mrFZJziv JHoQYsrIRj0mgaZhcqTkcNu2oVYbOkLDE35YmqNezDVyiIa84mQPappDpo4vvi3a 1UMSoFPfDzBDhxBP8LiGfxOjb1OJ8FJJ/TThEvXJsmYjs6rc5vxR3PrOZsFFRdaK DQ7ooCFeqLXOxwo5XfokCeuHEh+5rjLA4uKdCCZ77dodKn4f9Ctu71QsKg0aYgjG JkKlZ4f8s6z5ERPqizsKquzW/04P84wMrFApq/4dUFfvfBLi89YbLISecxoE1vKK NLSvVwjwqcEeaQm1w8S9dIAN1GeZWBeLWLGGOYe3xrjT0JfEg7mT6l3k8DqwnYfM 9MXGN4Yb+qWi7N4siS8ubXk4ChfvFHjzorjO+Wn1F09ulnh/jErJ+828QPfDUTMu JV15LQJHpOGpQ69UoAa4vHMkhllyoo5N1ryjDqRjEe18RBAMZDfkcoHKec3+clel R+HmrrH9t/Px8JdLD0+U =DmXD -----END PGP SIGNATURE----- --sdbmesofzgtbbqep--