2 #==================================================================================
3 # Copyright (c) 2019 Nokia
4 # Copyright (c) 2018-2019 AT&T Intellectual Property.
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
10 # http://www.apache.org/licenses/LICENSE-2.0
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 #==================================================================================
19 # Mnemonic: fmt_changes.ksh
20 # Abstract: This script looks for CHANGES*.txt files at the top level
21 # and builds one {X}fm source file from which the release notes
22 # RTD file is created.
26 .** ------------------------------------------------------------------------
27 .** CAUTION: This .xfm file is automatically generated by fmt_changes.ksh
28 .** do NOT edit. Use 'make rel-notes.xfm' to regenerate.
29 .** ------------------------------------------------------------------------
32 .dv doc_title RMR Release Notes
36 &h1(RMR Release Notes)
37 The following is a list of release highlights for the RMR library.
38 At one point in time the RMR repo also housed a wrapper library with a
39 separate version and release cycle.
40 This resulted in &ital(leap frogging) versions for each package; the
41 RMR core library was assigned odd major numbers (e.g. 3.1.0).
42 When the wrapper code was moved to a different repo the need to leap frog
43 versions ceased, and beginning with version 4.0.0, the RMR versions should
48 for x in ../../../CHANGES*.txt
51 /^#/ { next } # ditch all comments
53 # tag project releases by matching release tag associated
54 /4\.0\.5$/ { printf( "&h1(Bronze Release)\n" ); rheader = 1 }
55 /1\.11\.1$/ { printf( "&h1(Amber Release)\n" ); rheader = 1 }
57 print_raw && /^\t\t/ { # anything indented should be unformatted
58 gsub( "^\t\t", " ", $0 )
65 print_raw && /^$/ { # include blank lines after first real stuff
70 printf( "&space\n\n" );
75 print_raw = 1 # safe to print blank lines
76 printf( "&h2(%s)\n", $0 )