<div dir="ltr">Sorry, should have replied to all on this one.<br><br><div><div><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Patsy Franklin</b> <span dir="ltr">&lt;<a href="mailto:pfrankli@redhat.com">pfrankli@redhat.com</a>&gt;</span><br>Date: Tue, May 23, 2017 at 9:26 AM<br>Subject: Re: [tz] input needed on creation of a new sub-package for raw zone data<br>To: <a href="mailto:Brian.Inglis@systematicsw.ab.ca">Brian.Inglis@systematicsw.ab.ca</a><br><br><br><div dir="ltr"><div><div>Hi Brian,<br><br></div>Thanks for the feedback!<br></div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 22, 2017 at 1:54 PM, Brian Inglis <span dir="ltr">&lt;<a href="mailto:Brian.Inglis@systematicsw.ab.ca" target="_blank">Brian.Inglis@systematicsw.ab.<wbr>ca</a>&gt;</span> wrote:<br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">On 2017-05-22 07:03, Patsy Franklin wrote:<br>
&gt; I&#39;d appreciate community input on this plan. Ideally if others decide<br>
&gt; to also ship a similar subpackage we can use a common naming<br>
&gt; convention and install directory.<br>
&gt;<br>
&gt; We are planning to ship a new subpackage for users who want to have<br>
&gt; access to the raw zone data files e.g. leapseconds, and in a<br>
&gt; pre-determined install location e.g. /usr/share/zoneinfo/zonedata/.<br>
<br>
How about using /usr/share/tzdata{,-src}/ maybe with subdirectories<br>
tzdata-2017b, etc.<br>
<br></blockquote><div><br></div><div>We really want to avoid using src to prevent any confusion between the full src rpm that<br></div><div>we ship and this subset of the zone data.<br> <br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
&gt; The raw zone data is useful for users designing their own interfaces<br>
&gt; on top of this data. The broadest flexibility is offered by the raw<br>
&gt; zone data, and while the compiled binary data is versioned and more<br>
&gt; stable, some users have expressed a request for the raw zone data.<br>
&gt; The understanding is that the raw zone data format may change.<br>
&gt;<br>
&gt; In summary:<br>
&gt; Our current plan is to use -zonedata in naming the subpackage, For<br>
&gt; example, tzdata-zonedata-2017b-1.el7.<br>
<br>
How about tzdata-src-2017b...?<br>
<br></blockquote><div> </div><div>We already provide tzdata-2017b-1.el7.src.rpm which contains the full set<br></div><div>of sources.  The location of these sources is defined by the installer.<br><br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
&gt; We plan to install the files in this subpackage under<br>
&gt; /usr/share/zoneinfo/zonedata/.<br>
<br>
Adding zonedata does not add any useful information about the contents<br>
and storing under /usr/share/zoneinfo/ could be confusing as there are<br>
already subdirectories posix and right holding copies of standard and<br>
leapsecond compensated binary data files, so TZ=posix/... and<br>
TZ=right/... are valid zones, and users may expect something similar to<br>
happen using TZ=zonedata/... which would be unfortunate.<br>
<br></blockquote><div><br></div><div>That&#39;s a good point.  I hadn&#39;t considered that case.<br><br></div><div>We chose zonedata to clarify that it was only the zone data - not zic, zdump, binaries, etc.<br><br>It was requested that we provide this subset of files in a consistent <br><div>location at install time which is why we grouped it under the zoneinfo directory.<br></div>Is there a more appropriate place to install it?<br></div><div><br>Do you have any other suggestions for a name since I think src is ambiguous for our purposes?<br></div><div> <br></div><div><br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
&gt; Just as an example we would ship the following files:<br>
&gt; LICENSE<br>
&gt; version<br>
&gt; africa<br>
&gt; antarctica<br>
&gt; asia<br>
&gt; australasia<br>
&gt; europe<br>
&gt; northamerica<br>
&gt; southamerica<br>
&gt; pacificnew<br>
&gt; etcetera<br>
&gt; backward<br>
&gt; systemv<br>
&gt; factory<br>
&gt; backzone<br>
&gt; iso3166.tab<br>
&gt; leapseconds<br>
&gt; leap-seconds.list<br>
&gt; zone1970.tab<br>
&gt; zone.tab<br>
<br>
README, CONTRIBUTING, NEWS, and Theory should be included, also<br>
tz-how-to.html which documents how to define and use the sources.<br>
leap-seconds.list should be a (symbolic?) link to the canonical file<br>
version leap-seconds.&lt;timestamp&gt; e.g. leap-seconds.3692908800.<br></blockquote><div><br><br></div><div>We ship README and Theory with the base package.  CONTRIBUTING, NEWS and tz-how-to.html is shipped with our src package.   Do we still need to duplicate these in the optional subpackages?<br> <br></div><div>BTW, I forgot to mention that our spec file will not allow the new subpackage to be installed without the corresponding version of the base package.   The base package does not require the optional  new subpackage but will check to insure that it is in sync if it is installed.<br><br></div><div>Do we still need to version the leap-seconds file if it is tied to a specific tzdata version?<br><br></div><div>Thanks!<br></div><div>Patsy<br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
<span class="m_-7088060935698207160gmail-m_-7076369896696359918gmail-HOEnZb"><font color="#888888"><br><span class="HOEnZb"><font color="#888888">
--<br>
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada<br>
</font></span></font></span></blockquote></div><br></div></div></div>
</div><br></div></div></div>