[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ubuntu-devel
Subject:    Re: Dropping /usr/share/zoneinfo/posix and /usr/share/zoneinfo/right from tzdata
From:       Benjamin Drung <bdrung () ubuntu ! com>
Date:       2023-02-22 12:20:44
Message-ID: 241da4e65ecb75c4cc82dd96286479fb82ba227f.camel () ubuntu ! com
[Download RAW message or body]

On Tue, 2023-01-10 at 09:56 +0800, Shengjing Zhu wrote:
> Hi,
> 
> On Tue, Jan 10, 2023 at 2:01 AM Benjamin Drung <bdrung@ubuntu.com> wrote:
> > 
> > Hi everyone,
> > 
> > The tzdata package ships /usr/share/zoneinfo/posix/ (for Coordinated
> > Universal Time) and /usr/share/zoneinfo/right/ (for International Atomic
> > Time). The files in /usr/share/zoneinfo/posix/ are identical to their
> > counterpart in /usr/share/zoneinfo/. The tzdata package converts the
> > configured posix/* and right/* timezones to their unprefixed variant on
> > every package upgrade (e.g. it changes "posix/Europe/Berlin" to
> > "Europe/Berlin").
> > 
> > Is there anybody actually using /usr/share/zoneinfo/posix or
> > /usr/share/zoneinfo/right?
> > 
> 
> After a quick search[1][2] I find,
> + moment-timezone.js
> + rdate
> + https://github.com/facebook/time/blob/main/leapsectz/leapsectz.go
> 
> [1] https://codesearch.debian.net/search?q=%2Fusr%2Fshare%2Fzoneinfo%2F%28posix%7Cright%29&literal=0
> [2] https://grep.app/search?q=/usr/share/zoneinfo/%28posix%7Cright%29&regexp=true

Thanks for that initial investigation. The Debian codesearch result
revealed only moment-timezone.js and rdate. The other hits on codesearch
were due to tzdata code copies or referencing
/usr/share/zoneinfo/posixrules.

rdate just need a dependency on tzdata-right and moment-timezone.js
needs an adjustment in debian/rules which I can take care of. I created
https://launchpad.net/bugs/2008076 for tracking it.

-- 
Benjamin Drung
Debian & Ubuntu Developer

-- 
ubuntu-devel mailing list
ubuntu-devel@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic