Skip to content
Tcl Source Code Changes To How To Import tzdata
Login

Changes To How To Import tzdata

Changes to "How To Import tzdata" between 2011-04-05 20:06:42 and 2011-04-07 14:52:10

1

2
3

4
5

6
7
8
9
10
11

12
13

14
15

16
17

18
19

20
21
22
23
24

25
26


1


2


3
4
5
6
7


8


9


10


11


12
13
14
15


16


17
-
+
-
-
+
-
-
+




-
-
+
-
-
+
-
-
+
-
-
+
-
-
+



-
-
+
-
-
+
1. Download the new version of tzdata: (Example: http://elsie.nci.nih.gov/tzdata2011e.tar.gz)
  #  Download the new version of tzdata: (Example: http://elsie.nci.nih.gov/tzdata2011e.tar.gz)

2. Unpack the tarball <i>in an empty directory.</i> (For compatibility reasons, the tzdata tarball does not have a top-level directory.)
  #  Unpack the tarball <i>in an empty directory.</i> (For compatibility reasons, the tzdata tarball does not have a top-level directory.)

3. Go to the top directory of a Tcl 8.5 sandbox, and utter the command:
  #  Go to the top directory of a Tcl 8.5 sandbox, and utter the command:
<verbatim>
tclsh8.5 tools/tclZIC.tcl /path/to/unpacked/tzdata library/tzdata
</verbatim>
where <tt>/path/to/unpacked/tzdata</tt> is the path name of the directory you used at step 2.

4. Review the output for errors (there should be none).
  #  Review the output for errors (there should be none).

5. Do <tt>fossil extra</tt>, and do <tt>fossil add</tt> for any new locales that have appeared in <tt>library/tzdata</tt>.
  #  Do <tt>fossil extra</tt>, and do <tt>fossil add</tt> for any new locales that have appeared in <tt>library/tzdata</tt>.

6. Do <tt>fossil status</tt> to find out what locales have new data. Write a log message in <tt>ChangeLog</tt> to describe the import.
  #  Do <tt>fossil status</tt> to find out what locales have new data. Write a log message in <tt>ChangeLog</tt> to describe the import.

7. <tt>fossil commit</tt> your changes.
  #  <tt>fossil commit</tt> your changes.

8. As with any maintenance change, go to a trunk sandbox (or <tt>fossil update trunk</tt>), and do
  #  As with any maintenance change, go to a trunk sandbox (or <tt>fossil update trunk</tt>), and do
<verbatim>
fossil merge core-8-5-branch
</verbatim>

9. Resolve the inevitable merge conflict in <tt>ChangeLog</tt> and commit.
  #  Resolve the inevitable merge conflict in <tt>ChangeLog</tt> and commit.

10. <tt>fossil sync</tt> and you're done.
  #  <tt>fossil sync</tt> and you're done.