Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tzdata-legacy slice for 24.04 #405

Closed
lbussell opened this issue Dec 2, 2024 · 2 comments · Fixed by #412
Closed

Add tzdata-legacy slice for 24.04 #405

lbussell opened this issue Dec 2, 2024 · 2 comments · Fixed by #412

Comments

@lbussell
Copy link

lbussell commented Dec 2, 2024

The tzdata-legacy slice is needed to make migrating from 22.04 to 24.04 easier. We have one user requesting this package be added in .NET 24.04 images (dotnet/dotnet-docker#6078). I'd like to evaluate the package to potentially include it in our images, but a slice will be necessary to prototype this.

Documented in the 24.04 Noble release notes:

Please install tzdata-legacy in case you need the legacy timezones or to restore the previous behavior. This might be needed in case the system provides timezone-aware data over the network (e. g. SQL databases).

rebornplusplus added a commit to rebornplusplus/chisel-releases that referenced this issue Dec 6, 2024
In 24.04, the tzdata package was split into tzdata, tzdata-icu, and
tzdata-legacy. The tzdata package ships only timezones that follow the
current rules of geographical region (continent or ocean) and city name.
All legacy timezone symlinks (old or merged timezones mentioned in the
upstream backward file) were moved to tzdata-legacy. This includes the
US/* timezones. [1]

This commit adds the slice definitions for tzdata-legacy to provide the
legacy timezones.

It also changes the tzdata slice definitions to include explicit paths
instead of globs to avoid conflicting paths across tzdata and
tzdata-legacy slices.

References:
- [1] https://discourse.ubuntu.com/t/ubuntu-24-04-lts-noble-numbat-release-notes/39890#p-99950-tzdata-package-split

Resolves canonical#405.
rebornplusplus added a commit to rebornplusplus/chisel-releases that referenced this issue Dec 6, 2024
In 24.04, the tzdata package was split into tzdata, tzdata-icu, and
tzdata-legacy. The tzdata package ships only timezones that follow the
current rules of geographical region (continent or ocean) and city name.
All legacy timezone symlinks (old or merged timezones mentioned in the
upstream backward file) were moved to tzdata-legacy. This includes the
US/* timezones. [1]

This commit adds the slice definitions for tzdata-legacy to provide the
legacy timezones.

It also changes the tzdata slice definitions to include explicit paths
instead of globs to avoid conflicting paths across tzdata and
tzdata-legacy slices.

References:
- [1] https://discourse.ubuntu.com/t/ubuntu-24-04-lts-noble-numbat-release-notes/39890#p-99950-tzdata-package-split

Resolves canonical#405.
rebornplusplus added a commit to rebornplusplus/chisel-releases that referenced this issue Dec 6, 2024
In 24.04, the tzdata package was split into tzdata, tzdata-icu, and
tzdata-legacy. The tzdata package ships only timezones that follow the
current rules of geographical region (continent or ocean) and city name.
All legacy timezone symlinks (old or merged timezones mentioned in the
upstream backward file) were moved to tzdata-legacy. This includes the
US/* timezones. [1]

This commit adds the slice definitions for tzdata-legacy to provide the
legacy timezones.

It also changes the tzdata slice definitions to include explicit paths
instead of globs to avoid conflicting paths across tzdata and
tzdata-legacy slices.

References:
- [1] https://discourse.ubuntu.com/t/ubuntu-24-04-lts-noble-numbat-release-notes/39890#p-99950-tzdata-package-split

Resolves canonical#405.
rebornplusplus added a commit to rebornplusplus/chisel-releases that referenced this issue Dec 6, 2024
In 24.04, the tzdata package was split into tzdata, tzdata-icu, and
tzdata-legacy. The tzdata package ships only timezones that follow the
current rules of geographical region (continent or ocean) and city name.
All legacy timezone symlinks (old or merged timezones mentioned in the
upstream backward file) were moved to tzdata-legacy. This includes the
US/* timezones. [1]

This commit adds the slice definitions for tzdata-legacy to provide the
legacy timezones.

It also changes the tzdata slice definitions to include explicit paths
instead of globs to avoid conflicting paths across tzdata and
tzdata-legacy slices.

References:
- [1] https://discourse.ubuntu.com/t/ubuntu-24-04-lts-noble-numbat-release-notes/39890#p-99950-tzdata-package-split

Resolves canonical#405.
rebornplusplus added a commit to rebornplusplus/chisel-releases that referenced this issue Dec 6, 2024
In 24.04, the tzdata package was split into tzdata, tzdata-icu, and
tzdata-legacy. The tzdata package ships only timezones that follow the
current rules of geographical region (continent or ocean) and city name.
All legacy timezone symlinks (old or merged timezones mentioned in the
upstream backward file) were moved to tzdata-legacy. This includes the
US/* timezones. [1]

This commit adds the slice definitions for tzdata-legacy to provide the
legacy timezones.

It also changes the tzdata slice definitions to include explicit paths
instead of globs to avoid conflicting paths across tzdata and
tzdata-legacy slices.

References:
- [1] https://discourse.ubuntu.com/t/ubuntu-24-04-lts-noble-numbat-release-notes/39890#p-99950-tzdata-package-split

Resolves canonical#405.
rebornplusplus added a commit to rebornplusplus/chisel-releases that referenced this issue Dec 6, 2024
In 24.04, the tzdata package was split into tzdata, tzdata-icu, and
tzdata-legacy. The tzdata package ships only timezones that follow the
current rules of geographical region (continent or ocean) and city name.
All legacy timezone symlinks (old or merged timezones mentioned in the
upstream backward file) were moved to tzdata-legacy. This includes the
US/* timezones. [1]

This commit adds the slice definitions for tzdata-legacy to provide the
legacy timezones.

It also changes the tzdata slice definitions to include explicit paths
instead of globs to avoid conflicting paths across tzdata and
tzdata-legacy slices.

References:
- [1] https://discourse.ubuntu.com/t/ubuntu-24-04-lts-noble-numbat-release-notes/39890#p-99950-tzdata-package-split

Resolves canonical#405.
@rebornplusplus
Copy link
Member

Added #412 for the tzdata-legacy slices.

I wondered if we should have a tzdata_legacy-zoneinfo slice which contains the tzdata-legacy_zoneinfo, but I guess it will just be very odd to look at -- the dependencies going back and forth. If somebody needs the extra timezones, I think they should just install it additionally from the tzdata-legacy_zoneinfo slice.

@rebornplusplus rebornplusplus linked a pull request Dec 6, 2024 that will close this issue
cjdcordeiro pushed a commit that referenced this issue Dec 11, 2024
* feat: add tzdata-legacy slices

In 24.04, the tzdata package was split into tzdata, tzdata-icu, and
tzdata-legacy. The tzdata package ships only timezones that follow the
current rules of geographical region (continent or ocean) and city name.
All legacy timezone symlinks (old or merged timezones mentioned in the
upstream backward file) were moved to tzdata-legacy. This includes the
US/* timezones. [1]

This commit adds the slice definitions for tzdata-legacy to provide the
legacy timezones.

It also changes the tzdata slice definitions to include explicit paths
instead of globs to avoid conflicting paths across tzdata and
tzdata-legacy slices.

References:
- [1] https://discourse.ubuntu.com/t/ubuntu-24-04-lts-noble-numbat-release-notes/39890#p-99950-tzdata-package-split

Resolves #405.
@rebornplusplus
Copy link
Member

Closed by #412.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants