-
Notifications
You must be signed in to change notification settings - Fork 55
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
Include the tzdata version in our scratch directory structure #389
Conversation
fdf9929
to
668e7e2
Compare
Windows failure:
|
Codecov Report
@@ Coverage Diff @@
## master #389 +/- ##
==========================================
- Coverage 95.23% 93.40% -1.84%
==========================================
Files 36 36
Lines 1743 1758 +15
==========================================
- Hits 1660 1642 -18
- Misses 83 116 +33
Continue to review full report at Codecov.
|
Not loving the coverage reduction but I don't think that should hold this up. |
Seems better to use separate scratch spaces for different versions of the tzdata, no? That way the pkg gc can clean up no longer uesd tzdata; otherwise old ztdata will accumulate over time, taking up more and more space. |
Good point I wasn't really considering. I can make a follow up issue for that. |
…ime#389) * Make tzdata_version return a specific version * Include tzdata version in scratch directory * Mark new constants as internal * Allow build to return additional information * Restore winzone directory creation * Refactor test/ci.jl
Follow up to #384. Since we're using a scratch directory multiple TimeZones.jl packages using different versions may concurrently be using the scratch directory. If these packages use different tzdata versions we could accidentally use a different tzdata version that what is typically used by that package. To solve this I've included the tzdata version in the scratch directory structure as well as included the tzjfile version. To make this work properly I ended up using
Ref
s to some of the directories so it's possible to update the tzdata version being used.