This file is indexed.

/usr/share/doc/fcm/release_notes/1-2.html is in fcm 2016.12.0-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
<!DOCTYPE html>
<html>
<head>
  <title>FCM 1.2 Release Notes</title>
  <meta name="author" content="FCM team" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <link rel="icon" href="../etc/fcm-icon.png" type="image/png" />
  <link rel="shortcut icon" href="../etc/fcm-icon.png" type="image/png" />
  <link href="../etc/bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen" />
  <link href="../etc/fcm.css" rel="stylesheet" media="screen" />
</head>
<body>
  <div class="navbar navbar-inverse">
    <div class="container-fluid">
      <div class="navbar-header">
        <a class="navbar-brand" href=".."><span class="fcm-version">FCM</span></a>
      </div>
      <div class="collapse navbar-collapse">
        <ul class="nav navbar-nav">
          <li><a href="../installation/">Installation</a></li>

          <li><a href="../user_guide/">User Guide</a></li>
        </ul>
      </div>
    </div>
  </div>

  <div class="page-header">
    <div class="fcm-page-content pull-right well well-sm"></div>
    <h1>FCM 1.2 Release Notes <small>22 March 2007</small></h1>
  </div>

  <div class="container">
  <div class="row">
  <div class="col-md-12">

  <p>These are the release notes for FCM release 1.2. You can use this release
  of FCM freely under the terms of the FCM LICENSE, which you should receive
  with the distribution of this release.</p>

  <p>FCM is maintained by the FCM team at the Met Office. Please feedback any
  bug reports or feature requests to us by <a href=
  "mailto:fcm-team@metoffice.gov.uk">e-mail</a>.</p>

  <h2 id="new">What's New?</h2>

  <p>Code management commands:</p>

  <ul>
    <li>New options <code>--trac</code> and <code>--wiki</code> for <code>fcm
    diff --branch</code>.</li>

    <li>Allow other graphical diff tools to be used in place of
    <code>xxdiff</code>.</li>
  </ul>

  <p>General:</p>

  <ul>
    <li>New document <cite>External Distribution &amp; Collaboration for FCM
    Projects</cite>.</li>
  </ul>

  <h2 id="fix">Minor enhancements &amp; Bug Fixes</h2>

  <p>Build system:</p>

  <ul>
    <li>Extra warnings when multiple targets are detected in the source
    tree.</li>

    <li>Improved the patterns for detecting <code>recursive</code>,
    <code>pure</code> and <code>elemental</code> Fortran subroutines and
    functions.</li>
  </ul>

  <p>Code management commands:</p>

  <ul>
    <li><code>fcm branch --list</code> now prints the branches using FCM URL
    keywords by default. Use the <code>--verbose</code> option to print
    branches in full Subversion URLs.</li>
  </ul>

  <p>General:</p>

  <ul>
    <li>Enhanced <code>fcm cmp-ext-cfg</code> to link to tickets.</li>

    <li>Improved handling of FCM URL keywords. The <code>SET::REPOS</code>
    declaration in the central/user configuration file is deprecated in favour
    of <code>SET::URL</code>. The keyword of the project with the standard
    suffices (<code>_tr</code> or <code>-tr</code> for <em>trunk</em>,
    <code>_br</code> or <code>-br</code> for <em>branches</em>, and
    <code>_tg</code> or <code>-tg</code> for <em>tags</em>) are recognised
    automatically.</li>

    <li>Fix: full extract/build should no longer delete one another's cache if
    they are run in the same directory.</li>

    <li>Various other very minor enhancements and bug fixes.</li>
  </ul>

  <h2 id="req">System Requirements</h2>

  <h3 id="req_perl">Perl</h3>

  <p>The core part of FCM is a set of Perl scripts and modules. For the build
  system to work, you need the following modules installed:</p>

  <ul>
    <li>Carp</li>

    <li>Cwd</li>

    <li>File::Basename</li>

    <li>File::Compare</li>

    <li>File::Find</li>

    <li>File::Path</li>

    <li>File::Spec::Functions</li>

    <li>File::Spec</li>

    <li>FindBin</li>

    <li>Getopt::Long</li>

    <li>POSIX</li>
  </ul>

  <p>The code management commands and extract system need the following
  additional modules installed:</p>

  <ul>
    <li>File::Temp</li>

    <li>Getopt::Long</li>

    <li>HTTP::Date</li>

    <li>XML::DOM</li>
  </ul>

  <p>To use the simple GUI for some of the code management commands, you also
  need the following modules:</p>

  <ul>
    <li>Tk::ROText</li>

    <li>Tk</li>
  </ul>

  <p>At the Met Office we are currently using the complete FCM system with Perl
  5.8.x. In addition the build system is being used with Perl 5.6.x.</p>

  <h3 id="req_svn">Subversion</h3>

  <p>To use the code management commands (and relevant parts of the extract
  system) you need to have <a href=
  "http://subversion.tigris.org/">Subversion</a> installed.</p>

  <ul>
    <li>FCM makes extensive use of peg revisions in both the code management
    and extract systems. This requires Subversion 1.2.0.</li>

    <li>At the Met Office we are currently using Subversion 1.3.2.</li>
  </ul>

  <p>Note that the extract system can mirror extracted code to a remote
  platform for building. Therefore it is only necessary to have Subversion
  installed on the platform where you do your code development. If you use
  other platforms purely for building and running then you do not need to have
  Subversion installed on these platforms.</p>

  <h3 id="req_trac">Trac</h3>

  <p>The use of <a href="http://trac.edgewall.org/">Trac</a> is entirely
  optional (although highly recommended if you are using Subversion).</p>

  <ul>
    <li>The <code>--trac</code> and <code>--wiki</code> options to the
    <code>fcm diff --branch</code> command allow you to view branch differences
    using Trac. This requires Trac 0.10.</li>

    <li>At the Met Office we are currently using Trac 0.10.3.</li>
  </ul>

  <h3 id="req_other">Other Requirements</h3>

  <p>The <code>fcm conflicts</code> command requires <a href=
  "http://furius.ca/xxdiff/">xxdiff</a>. At the Met Office we are currently
  using version 3.1. The <code>fcm diff --graphical</code> command also uses
  xxdiff by default although other graphical diff tools can also be used.</p>

  <p>The build system requires <a href=
  "http://www.gnu.org/software/make/make.html">GNU make</a>. At the Met Office
  we are currently using version 3.79.x and 3.80.</p>

  <p>Optionally, the build system can use <a href=
  "http://www.ifremer.fr/ditigo/molagnon/fortran90/">f90aib</a> to generate
  interface files. However, there is also a built in Perl based interface file
  generator which is quicker and better in most cases so you are unlikely to
  need f90aib unless you hit a problem with some particular code.</p>

  <p>FCM is intended to run on a Unix/Linux system. It is currently used at the
  Met Office on Linux (Red Hat Enterprise 2.1 and 4.4) and HP-UX 11.00.</p>

  <h2 id="ins">Installation</h2>

  <p>FCM is distributed in the form of a compressed tar file. Un-pack the tar
  file into an appropriate location on your system. Then add the
  <samp>bin/</samp> directory into your <var>PATH</var>. Once you have done
  this you should now have full access to the FCM system, assuming that you
  have met the requirements described in the previous section.</p>

  <p>If you wish to define keywords for your systems you will need to create a
  file <samp>etc/fcm.cfg</samp>. An example file, <samp>fcm.cfg.eg</samp>, is
  provided which is a copy of the file currently used at the Met Office. For
  further details please refer to the section <a href=
  "../user_guide/system_admin.html#fcm-keywords">FCM keywords</a> in the System
  Admin chapter of the User Guide.</p>

  <p>The <samp>doc/</samp> directory contains all the system documentation.</p>

  <ul>
    <li><samp>doc/release_notes/</samp> contains these release notes. It also
    contains the release notes for all previous versions which may be useful if
    you have skipped any versions.</li>

    <li><samp>doc/user_guide/</samp> contains the <a href="../user_guide/">FCM
    User Guide</a>.</li>

    <li><samp>doc/design/</samp> contains the <a href="../design/">FCM Detailed
    Design</a> document (currently in draft form).</li>

    <li><samp>doc/standards/</samp> contains the FCM <a href=
    "../standards/perl_standard.html">Perl</a> and <a href=
    "../standards/fortran_standard.html">Fortran</a> coding standards. The Perl
    standard describes the standards followed by the FCM code. The Fortran
    standard contains some <a href=
    "../standards/fortran_standard.html#fcm">specific advice</a> on the best
    way of writing Fortran code for use with FCM as well as more general advice
    on good practise.</li>

    <li><samp>doc/collaboration/</samp> contains the <a href=
    "../collaboration/index.html">External Distribution &amp; Collaboration for
    FCM Projects</a> document which discusses how projects configured under FCM
    can be distributed externally.</li>
  </ul>

  <p>The <samp>tutorial/</samp> directory contains the files necessary to set
  up a tutorial repository. This will allow you to follow the <a href=
  "../user_guide/getting_started.html#tutorial">tutorial section</a> in the
  User Guide.</p>

  <ul>
    <li>The file <samp>tutorial/repos/tutorial.dump</samp> should be loaded
    into an empty repository using the <code>svnadmin load</code> command.</li>

    <li>The hook scripts in <samp>tutorial/hook/</samp> should then be
    installed in this repository in order to prevent any commits to the trunk.
    Note that the configuration file <samp>svnperms.conf</samp> assumes that
    the tutorial repository is called <samp>tutorial_svn</samp>. Please edit
    this file if you use a different name.</li>

    <li>The repository should be configured to allow users write access. You
    may find it easiest to simply allow anonymous access.</li>

    <li>A Trac system should be configured associated with the Tutorial
    repository. You then need to allow users write access. You may find it
    easiest to set up a number of guest accounts for this purpose.</li>
  </ul>

  <p>The <samp>templates/</samp> directory contains various example scripts
  which you may find useful. Note that these scripts are all specific to the
  Met Office and may contain hard coded paths and email addresses. They are
  provided in the hope that you may find them useful as templates for setting
  up similar scripts of your own. However, they should only be used after
  careful review to adapt them to your environment. The contents are as
  follows:</p>

  <dl>
    <dt>templates/hook/pre-commit</dt>

    <dd>
      This script restricts write-access to the repository by checking the
      following:

      <ul>
        <li>It executes the Subversion utility <code>svnperms.py</code> if it
        exists. This utility checks whether the author of the current
        transaction has enough permission to write to particular paths in the
        repository.</li>

        <li>It checks the disk space required by the current transaction. It
        fails the commit if it requires more than 5Mb of disk space.</li>
      </ul>
    </dd>

    <dt>templates/hook/post-commit</dt>

    <dd>A simple post-commit hook script which runs the script
    <code>post-commit-background</code> in the background.</dd>

    <dt>templates/hook/post-commit-background</dt>

    <dd>
      This script runs in the background after each commit

      <ul>
        <li>It updates a <samp>&lt;repos&gt;.latest</samp> file with the latest
        revision number.</li>

        <li>It creates a dump of the new revision.</li>

        <li>It calls the script <code>background_updates.pl</code> if it
        exists.</li>
      </ul>This script is installed as standard in all our repositories.
    </dd>

    <dt>templates/hook/background_updates.pl</dt>

    <dd>An example of how you may want to set up a
    <code>background_updates.pl</code> script to perform post-commit tasks for
    a specific repository. This script uses a lock file to prevent multiple
    commits in quick succession from causing problems.</dd>

    <dt>templates/hook/pre-revprop-change</dt>

    <dd>A simple pre-revprop-change hook script which runs the script
    <code>pre-revprop-change.pl</code>.</dd>

    <dt>templates/hook/pre-revprop-change.pl</dt>

    <dd>If a user attempts to modify the log message of a changeset and he/she
    is not the original author of the changeset, this script will e-mail the
    original author. You can also set up a watch facility to monitor changes of
    log messages that affect particular paths in the repository. For further
    details please refer to the section <a href=
    "../user_guide/system_admin.html#svn_watch">Watching changes in log
    messages</a> in the System Admin chapter of the User Guide.</dd>

    <dt>templates/hook/post-revprop-change</dt>

    <dd>A simple post-revprop-change hook script which runs the script
    <code>post-revprop-change.py</code>.</dd>

    <dt>templates/hook/post-revprop-change.py</dt>

    <dd>This hook script updates the Trac SQLite database following a
    successful change in the log message.</dd>

    <dt>templates/utils/cron_template.ksh</dt>

    <dd>An example of how you might set up a cron job to make use of the
    <samp>&lt;repos&gt;.latest</samp> file.</dd>

    <dt>templates/utils/daily_cron</dt>

    <dd>The cron job which we run each night. It verifies and backs up each of
    our repositories, housekeeps the revision dumps created by
    <code>post-commit-background</code> and backs up each of our Trac systems.
    It also handles the distribution of FCM to various platforms at the Met
    Office.</dd>

    <dt>templates/utils/fcm_add_trac.pl</dt>

    <dd>This script sets up a new Trac system and applies some configuration
    options which we use by default at the Met Office.</dd>

    <dt>templates/utils/recover_svn.pl</dt>

    <dd>This script allows us to recover all of our Subversion repositories by
    using the nightly backups and the repository dumps.</dd>
  </dl>

  </div>
  </div>
  </div>

  <hr/>
  <div class="container-fluid text-center">
    <div class="row"><div class="col-md-12">
    <address><small>
      &copy; British Crown Copyright 2006-16
      <a href="http://www.metoffice.gov.uk">Met Office</a>.
      See <a href="../etc/fcm-terms-of-use.html">Terms of Use</a>.<br />
      This document is released under the British <a href=
      "http://www.nationalarchives.gov.uk/doc/open-government-licence/" rel=
      "license">Open Government Licence</a>.<br />
    </small></address>
    </div></div>
  </div>

  <script type="text/javascript" src="../etc/jquery.min.js"></script>
  <script type="text/javascript" src="../etc/bootstrap/js/bootstrap.min.js"></script>
  <script type="text/javascript" src="../etc/fcm.js"></script>
  <script type="text/javascript" src="../etc/fcm-version.js"></script>
</body>
</html>