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

[tz] Package the source database by default #21671

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Commits on Dec 7, 2023

  1. [tz] Add source database to package as default

    * This replaces the iana binary tzdb with the source tzdb as the
      default. This is because this is what's supported most comprehensively
      by the date package. This still retains the option to build the binary
      database if required.
    
    Closes conan-io#21670
    samuel-emrys committed Dec 7, 2023
    Configuration menu
    Copy the full SHA
    69914f8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a89ec20 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2024

  1. [tz] Fix test_package on Windows

    * Swap the quotation characters in the python string to read the source
      database to enable the command to be parsed correctly on Windows
    samuel-emrys committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    1d819e4 View commit details
    Browse the repository at this point in the history
  2. [tz] Add windowsZones.xml to source database

    This file is parsed by windows to convert local timezone mappings to
    that of the IANA database. It's necessary to use the source version of
    the database on windows.
    samuel-emrys committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    42d7a8f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a44b92e View commit details
    Browse the repository at this point in the history
  4. [tz] Remove conditional download of windowsZones.xml

    * Options can't be queried in the source() method, so remove this and
      just always download windowsZones.xml
    samuel-emrys committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    3cafb14 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b52af15 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2024

  1. [tz] Refactor self.dependencies usage for conan 1.x compatibility

    Conan 1.x is not able to parse self.dependencies in the test() method
    due to differences in the lifetime of objects. The solution presented
    here is to save the necessary options to file and load them back again
    in the test() method to be used as appropriate.
    
    Additionally, utilise the conan `save` and `load` methods for
    readability and consistency with other recipes.
    
    Co-authored-by: Martin Valgur <martin.valgur@gmail.com>
    samuel-emrys and valgur committed Jan 14, 2024
    Configuration menu
    Copy the full SHA
    d3e9ccc View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2024

  1. [tz] Add documentation to explain file listing

    * Explain where file listing for tzdata has come from, including
      windowsZones.xml, which is managed by CLDR.
    samuel-emrys committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    2a9c43b View commit details
    Browse the repository at this point in the history
  2. Revert "[tz] Fix binary database compilation on Macos"

    This reverts commit a89ec20.
    samuel-emrys committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    027549f View commit details
    Browse the repository at this point in the history