Commit | Line | Data |
---|---|---|
e0f03d36 C |
1 | |
2 | ||
3 | ||
4 | BUGFILER(8) 1990 BUGFILER(8) | |
5 | ||
6 | ||
7 | ||
8 | N\bNA\bAM\bME\bE | |
9 | bugfiler - file bug reports in folders automatically | |
10 | ||
11 | S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS | |
12 | b\bbu\bug\bgf\bfi\bil\ble\ber\br [ -ar ] [-v version] | |
13 | ||
14 | D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN | |
15 | _\bB_\bu_\bg_\bf_\bi_\bl_\be_\br is a program to automatically intercept, ack- | |
16 | nowledge, redistribute and store bug reports. _\bB_\bu_\bg_\bf_\bi_\bl_\be_\br is | |
17 | normally invoked by the mail delivery program with a line | |
18 | similar to the following in /etc/aliases. | |
19 | ||
20 | bugs: "|bugfiler" | |
21 | ||
22 | It should be noted that the login ``bugs'' must exist for | |
23 | the bugfiler to run. Unless otherwise noted all paths used | |
24 | by _\bb_\bu_\bg_\bf_\bi_\bl_\be_\br are relative to the home directory of this | |
25 | login. _\bB_\bu_\bg_\bf_\bi_\bl_\be_\br also expects all of its files and direc- | |
26 | tories to be owned by ``bugs''. | |
27 | ||
28 | For the bug report to be correctly filed, it must contain a | |
29 | line in the following format: | |
30 | ||
31 | Index: _\bf_\bo_\bl_\bd_\be_\br _\bv_\be_\br_\bs_\bi_\bo_\bn | |
32 | ||
33 | The directories ~bugs/_\bv_\be_\br_\bs_\bi_\bo_\bn and ~bugs/_\bv_\be_\br_\bs_\bi_\bo_\bn/_\bf_\bo_\bl_\bd_\be_\br must | |
34 | exist before _\bb_\bu_\bg_\bf_\bi_\bl_\be_\br attempts to store the bug report. Bug | |
35 | reports will be stored in files named by the concatenation | |
36 | of _\bv_\be_\br_\bs_\bi_\bo_\bn, _\bf_\bo_\bl_\bd_\be_\br, and sequential numbers, i.e. if _\bv_\be_\br_\bs_\bi_\bo_\bn | |
37 | is ``4.3BSD'' and _\bf_\bo_\bl_\bd_\be_\br is ``ucb'' the first bug report | |
38 | will be placed in ~bugs/4.3BSD/ucb/1. If _\bf_\bo_\bl_\bd_\be_\br contains | |
39 | more than one component only the first one will be used, | |
40 | e.g. if _\bf_\bo_\bl_\bd_\be_\br is ``bin/from.c'' or ``bin/adb/con.c'' it | |
41 | will be treated as if it were simply ``bin''. The -_\bv flag | |
42 | is provided as a means to override the _\bv_\be_\br_\bs_\bi_\bo_\bn provided | |
43 | within the bug report itself. | |
44 | ||
45 | A mail acknowledgement is automatically sent to the bug | |
46 | report filer unless the -\b-a\ba flag is supplied. The file | |
47 | ~bugs/_\bv_\be_\br_\bs_\bi_\bo_\bn/bug:ack is appended to this acknowledgement. | |
48 | ||
49 | If the -\b-r\br flag is not supplied, redistribution of the bug | |
50 | reports is done as specified in the file | |
51 | ~bugs/_\bv_\be_\br_\bs_\bi_\bo_\bn/bug:redist. This file is in the format of the | |
52 | _\ba_\bl_\bi_\ba_\bs_\be_\bs(5) file, including comments and entries requiring | |
53 | multiple lines, with the single exception that the _\bf_\bo_\bl_\bd_\be_\br | |
54 | component of the ``Index:'' line replaces the name to alias. | |
55 | The special folder ``all:'' receives a redistribution of all | |
56 | bug reports sent to this _\bv_\be_\br_\bs_\bi_\bo_\bn. For example, the | |
57 | _\bb_\bu_\bg:_\br_\be_\bd_\bi_\bs_\bt file | |
58 | ||
59 | ||
60 | ||
61 | ||
62 | ||
63 | Printed 7/27/90 June 1 | |
64 | ||
65 | ||
66 | ||
67 | ||
68 | ||
69 | ||
70 | BUGFILER(8) 1990 BUGFILER(8) | |
71 | ||
72 | ||
73 | ||
74 | # bigbug gets a copy of everything | |
75 | all: bigbug | |
76 | # ucb folder redistribution list | |
77 | ucb: karels, kjd@coke.berkeley.edu | |
78 | ra@beno.css.gov | |
79 | ||
80 | will send copies of all bug reports with ``ucb'' as the | |
81 | _\bf_\bo_\bl_\bd_\be_\br to bigbug, karels, kjd, and ra. | |
82 | ||
83 | Reports that cannot be filed, due to an invalid ``Index:'' | |
84 | line or some other error, are placed in the directory | |
85 | ~bugs/errors. The _\bb_\bu_\bg_\bf_\bi_\bl_\be_\br maintainer should correct these | |
86 | bug reports and then run _\bb_\bu_\bg_\bf_\bi_\bl_\be_\br, with the corrected report | |
87 | as its standard input, as bug reports with errors are nei- | |
88 | ther acknowledged or redistributed. All reports that _\bb_\bu_\bg_\b- | |
89 | _\bf_\bi_\bl_\be_\br handles are logged in ~bugs/log. | |
90 | ||
91 | Valid bugs are also logged in the file | |
92 | ~bugs/_\bv_\be_\br_\bs_\bi_\bo_\bn/summary. This file has an entry for each bug | |
93 | report for _\bv_\be_\br_\bs_\bi_\bo_\bn in the format: | |
94 | ||
95 | Filename Date | |
96 | Subject: | |
97 | Index: | |
98 | Owner: Bugs Bunny | |
99 | Status: Received | |
100 | ||
101 | _\bF_\bi_\bl_\be_\bn_\ba_\bm_\be is the concatenation of _\bv_\be_\br_\bs_\bi_\bo_\bn, _\bf_\bo_\bl_\bd_\be_\br, and a | |
102 | number as described above. _\bD_\ba_\bt_\be is the date as reported by | |
103 | the system clock, using ctime(3). The _\bS_\bu_\bb_\bj_\be_\bc_\bt: and _\bI_\bn_\bd_\be_\bx: | |
104 | lines are copies of the ``Subject:'' and ``Index:'' lines | |
105 | contained in the bug report. The _\bO_\bw_\bn_\be_\br and _\bS_\bt_\ba_\bt_\bu_\bs fields | |
106 | are intended to provide a rudimentary method of tracking the | |
107 | status of bug reports. | |
108 | ||
109 | The file ~bugs/bug:lock is the focus of all locking for _\bb_\bu_\bg_\b- | |
110 | _\bf_\bi_\bl_\be_\br. If you wish to manipulate any of the log or error | |
111 | files, rename or remove it and _\bb_\bu_\bg_\bf_\bi_\bl_\be_\br will treat all bug | |
112 | reports that it receives as if they were incorrectly format- | |
113 | ted, i.e. it will place them in the directory ~bugs/errors, | |
114 | for later recovery by the _\bb_\bu_\bg_\bf_\bi_\bl_\be_\br maintainer. Obviously, | |
115 | this file must be created when you first install _\bb_\bu_\bg_\bf_\bi_\bl_\be_\br. | |
116 | ||
117 | All errors that occur before ~bugs/log is found are logged | |
118 | into the system log file, using _\bs_\by_\bs_\bl_\bo_\bg(8). | |
119 | ||
120 | F\bFI\bIL\bLE\bES\bS | |
121 | ~bugs/bug:ack the acknowledgement message | |
122 | ||
123 | ~bugs/bug:redist the redistribution list | |
124 | ||
125 | ~bugs/bug:lock the locking file | |
126 | ||
127 | ||
128 | ||
129 | Printed 7/27/90 June 2 | |
130 | ||
131 | ||
132 | ||
133 | ||
134 | ||
135 | ||
136 | BUGFILER(8) 1990 BUGFILER(8) | |
137 | ||
138 | ||
139 | ||
140 | ~bugs/errors/BUG_?????? bug reports with format errors | |
141 | ||
142 | ~bugs/log the log file | |
143 | ||
144 | ~bugs/folder/summary the summary files | |
145 | ||
146 | /usr/sbin/sendmail the mail delivery program | |
147 | ||
148 | /usr/share/misc/bugformat | |
149 | a sample bug report format | |
150 | ||
151 | S\bSE\bEE\bE A\bAL\bLS\bSO\bO | |
152 | sendbug(1), aliases(5), syslog(8) | |
153 | ||
154 | B\bBU\bUG\bGS\bS | |
155 | Since mail can be forwarded in a number of different ways, | |
156 | _\bb_\bu_\bg_\bf_\bi_\bl_\be_\br does not recognize forwarded mail and will ack- | |
157 | nowledge to the forwarder instead of the original sender | |
158 | unless there is a `Reply-To' field in the header. | |
159 | ||
160 | This version of the bugfiler is not compatible with the ver- | |
161 | sion released with 4.3BSD in that it doesn't complain to the | |
162 | sender about incorrectly formatted bug reports. Frankly, we | |
163 | got tired of the profanity, not to mention the extended | |
164 | conversations _\bb_\bu_\bg_\bf_\bi_\bl_\be_\br was holding with _\bv_\ba_\bc_\ba_\bt_\bi_\bo_\bn(1). | |
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 | Printed 7/27/90 June 3 | |
196 | ||
197 | ||
198 |