Wiki page
[Tracking Thread Sources] by
dgp
2011-04-07 20:09:28.
D 2011-04-07T20:09:28.009
L Tracking\sThread\sSources
P 2a50bdef798921eb9460d1160453ca36e880bb62
U dgp
W 1480
The source code history of <b>Thread</b> is kept by
a distributed version control system called
[http://www.fossil-scm.org/|Fossil]. The master copy
of <b>Thread</b> sources are kept here at
[http://core.tcl.tk/thread/]
and a mirror server is kept at
[http://mirror1.tcl.tk/thread/]
in case anything goes wrong with the master.
Tracking or contributing to the <b>Thread</b> sources
requires a release of Fossil that supports the
<tt>fossil open --nested</tt>
option. Use
<tt>fossil version</tt>
to determine the vintage of your fossil client program,
and confirm that it is no older than 2011-02-08. Upgrade
as necessary.
Then start by cloning the repositories for <b>Thread</b>
and <b>tclconfig</b>, a set of TEA build support files
that <b>Thread</b> makes use of.
<tt>fossil clone http://core.tcl.tk/thread/ /path/to/thread.fossil</tt>
<tt>fossil clone http://core.tcl.tk/tclconfig/ /path/to/tclconfig.fossil</tt>
Then construct your workspace:
<tt>cd /my/work/space</tt>
<tt>mkdir thread</tt>
<tt>cd thread</tt>
<tt>fossil open /path/to/thread.fossil trunk</tt>
<tt>mkdir tclconfig</tt>
<tt>cd tclconfig</tt>
<tt>fossil open --nested /path/to/tclconfig.fossil trunk</tt>
And at that point you have in <tt>/my/work/space/thread</tt> the
current development state of the source files of <b>Thread</b>
and <b>tclconfig</b>, which you can build, install, edit, etc.
Z 9f541b0cb2b84679a92ba2ed65df06fe