Uh oh!
There was an error while loading. Please reload this page.
Add timezone data to System.Runtime - #83
Conversation
safern
left a comment
There was a problem hiding this comment.
Should we instead download it as part of the build of the package?
tqiu8
commented
Aug 21, 2020
@safern How can I do that? |
safern
commented
Aug 21, 2020
Hmm good question. We would probably need a build script or an MSBuild task to do that. I guess it is fine as is at the moment, and we can open an issue as a follow up? cc: @ViktorHofer |
ViktorHofer
commented
Aug 21, 2020
Please avoid build scripts if possible and use msbuild instead. You should be able to add a target to the test data project file which then downloads and uncompresses the files. |
safern
commented
Aug 21, 2020
Yeah I also prefer MSBuild targets. |
akoeplinger
commented
Aug 25, 2020
@ViktorHofer@safern I'm wondering whether this is the right repo for this data. Do we expect to branch runtime-assets into |
akoeplinger
commented
Aug 25, 2020
I discussed with @mmitche offline and his recommendation was to branch runtime-assets for release/5.0. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…does not exist Add System.Runtime.TimeZoneData.csproj to runtime-assets.sln
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
ViktorHofer
left a comment
There was a problem hiding this comment.
Do we actually want to check these external assets into the repository? If yes, are we allowed to do so? cc @jkotas
That's what we do for the Unicode files as well to avoid relying on a third party website during the build: https://github.com/dotnet/runtime-assets/tree/master/src/System.Private.Runtime.UnicodeData/13.0.0/ucd
The files are licensed under the public domain: https://data.iana.org/time-zones/tzdb/LICENSE We'll need to update https://github.com/dotnet/runtime-assets/blob/master/THIRD-PARTY-NOTICES.TXT with that text. |
jkotas
commented
Aug 25, 2020
What is the license for these files? This should have an entry in https://github.com/dotnet/runtime-assets/blob/master/THIRD-PARTY-NOTICES.TXT |
Uh oh!
There was an error while loading. Please reload this page.
tqiu8
commented
Aug 25, 2020
@ViktorHofer@akoeplinger Should I keep the timezone data in |
Uh oh!
There was an error while loading. Please reload this page.
akoeplinger
commented
Aug 26, 2020
@tqiu8 after thinking about it a bit my preference is to only download and package the zoneinfo input files here in runtime-assets and do the So basically download the area files + zone1970.tab into |
I would prefer not to check these input files into the repo but download them into the intermediate path. Having thousands of these checked in isn't ideal. |
Uh oh!
There was an error while loading. Please reload this page.
I do think we should check in the input files that we download from iana.org, it'd be a problem for sourcebuild otherwise. |
tqiu8
commented
Aug 26, 2020
Ok, so just to clarify. Source files from iana go to |
akoeplinger
commented
Aug 26, 2020
Yes this looks fine to me. I'll discuss with Viktor about any concerns he has. |
akoeplinger
commented
Aug 26, 2020
Discussed with Viktor on Teams, he understands the approach now and is fine with it. |
Add downloaded timezone data from iana.org
Add downloaded timezone data from iana.org