From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by sourceware.org (Postfix) with ESMTPS id 4C4E43858D20 for ; Thu, 28 Mar 2024 08:25:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4C4E43858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSW.ab.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=SystematicSW.ab.ca ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 4C4E43858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=216.40.44.16 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711614330; cv=none; b=O7nI17SAs4Jy0OXYEboZ96VLXrk+yCyDR0KQCIXz4SyaEzTjYfiQfgHn7VgOarzB7IuznXcYNtiL9FAQmkAugvE1IFU6e9WriyYcnWH8H3JIbKfrtR4pHZEm9jWF+emfS527ukw9bGNwy3TnptR/AKbWHKPtTO4Fl3C8AA+P3F8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711614330; c=relaxed/simple; bh=ps7eruI2NTlpX9V3r/o+oHFhsaFJ+3wFdDJWR9fGCwU=; h=Message-ID:Date:MIME-Version:Subject:To:From; b=VqW0v3+FULGkmlmMCidk/5lt6ZNNgJiAQP/ySh6EN0Nd8473aoaWL3Y0MKTHE0LH7QW9itgUUivLncNQqrwJXy8rQreoqrZyehT+P9au9kJ7d+I/XIwZ98h8Nv7QOheN+dHzpKYN0ZPeKvfXIDvb6PY+KQ3vle368/Pb/knGndA= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from omf01.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id 8407441026 for ; Thu, 28 Mar 2024 08:25:26 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: Brian.Inglis@SystematicSW.ab.ca) by omf01.hostedemail.com (Postfix) with ESMTPA id 1771960011 for ; Thu, 28 Mar 2024 08:25:24 +0000 (UTC) Message-ID: Date: Thu, 28 Mar 2024 02:25:24 -0600 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Reply-To: cygwin-apps@cygwin.com Subject: Re: [tz] Ubuntu drops old-style links - tzdata split test package Content-Language: en-CA To: cygwin-apps@cygwin.com References: <86ff5be5-ccae-4bc0-81af-46abc54e549d@systematicsw.ab.ca> <14e3ae03-bacf-4946-badc-19de78d9eece@SystematicSW.ab.ca> <88dd91a6-5fde-49a7-a0a5-afd5e9b01e15@SystematicSW.ab.ca> From: Brian Inglis Organization: Systematic Software In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Stat-Signature: i1kk4f598gp1ummt6b5mgq8mxj9h7ri9 X-Rspamd-Server: rspamout07 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS,TXREP,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Rspamd-Queue-Id: 1771960011 X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361 X-Session-ID: U2FsdGVkX18WvUZ5a/b5Rodibt6UynNvdqx6sNND498= X-HE-Tag: 1711614324-153764 X-HE-Meta: U2FsdGVkX19VSEBtxTG3hik4ULo5ei7966gEz1ZM6bPguuyG00fVj/EW+Cs/tj3pc9W/qZOxQqjZZy0wU/r4txtxT6CVOVcX7xc0KmORkSL2IOtBu4rCJNGedTuOSzG5WJ+GJMH+xwwGLaQVF1E4v0jZcejGUWnbhqsyhZBt4VUnPKEglOhekQFp7DSlCEONPKehVbWpcewxYwhUzqWP80BnJ3SsdoQ3vW/Z9+bC3mNDKvwCM/UA3xz9HcnRiUjPDSI6IFDBJR/HXRZdkEh0D/C0s5oXaQEkDVymSsPtZdGPeOjH/+6pj0O+siyJoQWacmadBwATRrptSc4csi/kkPMjBzwiqpf9 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 2024-03-23 15:11, Corinna Vinschen via Cygwin-apps wrote: > On Mar 23 10:38, Brian Inglis via Cygwin-apps wrote: >> It looks to me that tzset.c prioritizes the Windows label over the country, >> and it may be a better match prioritizing the country over the label, if the >> country is not 001/"", nor ZZ, which are the generic entries. > > The Windows timezone is the relevant setting in the first place becasue > that's what indicvates the actual local time *as the user chose*. > The territory should only be a secondary hint to choose the right > POSIX entry. > > For instance, I know people always using UTC, independently of their > territory setting. If the territory rules, this user choice would be > broken in Cygwin. > >> It also is not clear what tzset should do when tzmap has a list of zones to >> choose from, for example: >> >> { L"Mountain Standard Time", L"CA", L"America/Edmonton >> America/Cambridge_Bay America/Inuvik" }, >> { L"Mountain Standard Time", L"US", L"America/Denver America/Boise" }, >> { L"US Mountain Standard Time", L"CA", L"America/Creston >> America/Dawson_Creek America/Fort_Nelson" }, >> >> it currently just prints the first, but perhaps it should print all relevant >> entries and the caller should handle the alternatives? > > tzset is called from the shell default profile. It has to use exactly > one, valid entry, so time works as desired without forcing interactivity. > > If the user doesn't like it, the user can always override tzset's choice > in her own profile. I have released and announced a test package of tzdata 2024a-2 split into three install packages: base tzdata, optional tzdata-right, and redundant tzdata-posix, each containing all the legacy zones so that tzset continues to work as before. I could not reduce the base installed zones by many, because most were used by tzset, but I did drop a couple of large zone source files, produced by the build, that were previously included to allow users to see the source zones, rules, and links in effect, saving ~1MB, and dropping the overall default base installed file sizes by ~80% to ~20% of current, and download tar size by ~60% to ~40%; for all zones aggregate total installed file sizes are dropped by ~35% to ~65%, and download tar sizes by ~30% to ~70% of current: install tar tzdata 721KB 172KB base 984KB 78KB right 669KB 74KB posix 1367KB 444KB source 3667KB 452KB current Please check out the announcement, cygwin list echo, source and install package summary web pages, cygport changes, setup entries, scallywag builds, and let me know if there is anything you see that could benefit from improvement. -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut -- Antoine de Saint-Exupéry