- Package:
- libdatetime-timezone-perl
- Source:
- libdatetime-timezone-perl
- Submitter:
- Kurt Roeckx
- Date:
- 2013-08-08 20:21:04 UTC
- Severity:
- wishlist
- Blocked By:
-
Bug Title 444866 0
tzdata: Please provide tzdata-source package with original Olsen database wishlist stable testing unstable almost 18 years ago
Hi, It seems your package uses Olson's timezone database and turns this into perl modules during build. The tzdata package contains the same data, and it would be nice if we only had to update 1 package to update the timezone information. Would it be possible to do the conversion at runtime rather than build time? Kurt
Well, this code just comes from the perl CPAN module. It needs to work across different OSs which do not have /usr/share/zoneinfo I think we should refrain from making big changes to the module specific to debian. We just need a simple update to the version with the appropriate Olson db! (as the other 118 day old bug says) But it does seem a good idea to make the module use /usr/share/zoneinfo if it exists. I'll ask the perl datetime folks why they avoided that and I'll look into adding the functionality myself.
tags 416206 wontfix thanks Providing another library with 100% compatible API is interesting idea, but the DateTime::TimeZone already exists and is used by some existing projects and packages. This library is stable and reliable. I'm the maintainer of DateTime::TimeZone , not the upstream developer. I really don't want to completly redesign this library just because the Debian already provides the Olson DB only as binary data. Rewriting the library from scratch can't be harmless for its stability and reliability. I think this idea is just not realizable. See also Bug#444866. I'm working on fixing the build script so it could use tzdata source database. Still the Olson database will be converted at build time but it should make the updates more easy.
tags 416206 wontfix thanks Providing another library with 100% compatible API is interesting idea, but the DateTime::TimeZone already exists and is used by some existing projects and packages. This library is stable and reliable. I'm the maintainer of DateTime::TimeZone , not the upstream developer. I really don't want to completly redesign this library just because the Debian already provides the Olson DB only as binary data. Rewriting the library from scratch can't be harmless for its stability and reliability. I think this idea is just not realizable. See also Bug#444866. I'm working on fixing the build script so it could use tzdata source database. Still the Olson database will be converted at build time but it should make the updates more easy.
I'm closing this "wontfix" bug as far as it is now fixed. The Perl library is now regenerated from original Olson Database at build time.
I'm closing this "wontfix" bug as far as it is now fixed. The Perl library is now regenerated from original Olson Database at build time.
As in in build-depends on tzdata? Because I don't see a build dependency. Kurt
(Upstream changes that will allow us to use the tzdata files directly. The migration isn't finished yet, neither upstream nor in Debian, but is on our agenda. Cf. the last mail: https://lists.debian.org/debian-perl/2013/07/msg00017.html ) Cheers, gregor
Or maybe we still need the tzdata sources to rebuild the metadata ... libtime-olsontz-data-perl is confusin me a bit at the moment. Cheers, gregor