Debian Codegraph @

ChangeLog

raw
1 2025-01-02 Andrew Ruthven
2 Release version 1.2.0.
3
4 There isn't really a default action for the Makefile, running the tests
5 isn't really sensible.
6
7 2025-01-01 Andrew Ruthven
8 Strip out Debian package logic from Makefile, now in a dedicated repo.
9
10 Generate the files that need to find other parts of this package to for
11 them to be installed in other places. This will hopefully simplify the
12 packaging on distros other than Debian where things may be in other places
13 than I expect.
14
15 Install man pages in /usr/share/man as per FHS.
16
17 2023-08-01 Andrew Ruthven
18 If mythtv-update-motd is run via interactive shell, always try to run,
19 regardless of the flags.
20
21 Provide, hopefully sane, defaults in health-check.
22
23 Support the Fedora config file for: health-check, mythtv_recording_now,
24 mythtv_recording_soon (not just mythtv-update-motd).
25
26 2023-07-27 Andrew Ruthven
27 Install the systemd files into the UsrMerge location so we'll work with
28 more distributions, thanks to Göran Uddeborg for pointing this out.
29
30 If molly-guard or the Ubuntu/Debian style update-motd is present, install
31 our hooks for those.
32
33 2023-07-27 Göran Uddeborg
34 Install mythtv-update-motd
35
36 Use a default for $HOST in all scripts.
37
38 2023-07-23 Andrew Ruthven
39 Release version 1.1.0.
40
41 2023-07-16 Andrew Ruthven
42 Remove bashisms
43
44 Include my Makefile in the tarball, this allows using "make install" to install
45 mythtv-status.
46
47 Make all shell scripts much cleaner according to shellcheck.
48
49 Refresh URLs in FAQ, update libmythtv-perl package name.
50
51 Remove obsolete question/answer from FAQ as my patch for improving storage
52 group data was merged in 2008.
53
54 Update the "Why this tool?" section in the README.
55
56 Actually install the mythtv-update-motd man page!
57
58 Provide systemd service and timer files in tarball, hopefully useful as a
59 starting point for distros other than Debian.
60
61 2001-02-14 Andrew Ruthven
62 Release version 1.0.2.
63
64 2020-12-06 Andrew Ruthven
65 Minor update to systemd service file.
66
67 I noticed that if /run/motd.mythtv-status doesn't exist then
68 update-motd.d/50-mythtv-status exits with exit code 1 and pam_motd spits a
69 warning. I don't really want that to happen.
70
71 2019-01-29 Andrew Ruthven
72 Release version 1.0.1.
73
74 2019-01-27 Andrew Ruthven
75 Switching from using -w to use warnings, caused my previous method to
76 disable warnings when calling MythTV::Program to break..
77
78 The warning we're suppressing is:
79 Argument "Default" isn't numeric in bitwise and (&) at /usr/share/perl5/MythTV/Program.pm line 95.
80
81 Thanks to Göran Uddeborg for spotting this regression.
82
83 2019-01-11 Andrew Ruthven
84 Add support for Fedora to mythtv-update-motd based on proposed file
85 from Göran Uddeborg.
86
87 mythtv-update-status now uses UPDATE_MOTD and UPDATE_MOTD_ARGS
88 to replace RUN and ARGS respectively. Both RUN and ARGS will be
89 used if the new variables aren't defined.
90
91 Switch from /var/run to /run.
92
93 Update the Copyright years.
94
95 Release version 1.0.0.
96
97 2018-12-31 Andrew Ruthven
98 Ship a systemd service file which correctly starts and stops the motd
99 update services. As part of this change, if you use systemd or sysvinit
100 to stop mythtv-status it will stop updating the motd snippet via cron.
101
102 2018-12-30 Andrew Ruthven
103 Modify mythtv-update-motd to look to see if /etc/update-motd.d is
104 present, if it is, then generate MOTD content in a compatible fashion.
105 On Debian derived systems we now install a snippet into /etc/update-motd.d
106 to cat the generated file if it is present.
107
108 2018-12-30 David Meritt
109 Fix the output of Next Recording to never have negative numbers.
110
111 2018-12-09 Andrew Ruthven
112 Traditionally I've considered any state which could cause you to lose
113 recordings to be warning state. Some people don't want to be warned
114 if an encoder is recording, so allow that with --no-encoder-warn-non-idle.
115
116 2018-12-07 Andrew Ruthven
117 Tidy up conversion logic for disk sizes to fix a long running bug when
118 the free space is converted to a different unit than the total space.
119
120 Adjust threshold for when we switch to TB.
121
122 Add an option --highlight which uses asterisk to highlight warnings.
123 This is useful in emails to highlight your attention to the right place
124
125 2018-11-13 Andrew Ruthven
126 Show device type in encoder output (i.e: DVB).
127 Thanks to Eric Wilde for the suggestion and proposed patch.
128
129 Eradicate tabs from the code.
130
131 2018-11-12 Eric Wilde
132 Make Config::Auto an optional module.
133 Minor re-arrangement of output to make it more consistent.
134 Remove dependency on Sys::SigAction.
135
136 2017-01-26 Andrew Ruthven
137 Update the Copyright years.
138 Decode UTF-8 characters when we're getting data using MythTV::Program,
139 thank you Illés Solfor submitting a patch to fix Schedule Conflicts.
140
141 Release version 0.10.8.
142
143 2016-09-09 Andrew Ruthven
144 Fix a bug where it wasn't possible to disable skipping idle
145 encoders via the config file. Thanks to Karl for finding this.
146
147 2016-08-02 Andrew Ruthven
148 Fix a long standing bug where if the Next Recording is a week
149 and one day in the future, the Next Recording only shows
150 the hours.
151
152 2016-08-02 Andrew Ruthven
153 Somewhere between Date::Manip v6.0 and v6.32 the behaviour for
154 DateCalc has changed, so that now a DateCalc will keep on
155 increasing the hours field, without rolling over the days field.
156
157 Switching to an approximate mode for DateCalc which resolves this.
158
159 2015-01-10 Andrew Ruthven
160 Make the cron.d file for Debian use mythtv-update-motd to stop
161 systemd from being upset.
162
163 Release version 0.10.7.
164
165 2014-12-02 Andrew Ruthven
166 Add in more UTF-8 encodings as required for Perl v5.18, thanks to
167 Jan Schneider for reporting the UTF-8 issue.
168
169 Release versions 0.10.5 & 0.10.6.
170
171 2014-09-11 Andrew Ruthven
172 Spotted that if the next recording is in 30 hours, then it is
173 displayed as "0 Days, 3". Correct it so it'll be displayed
174 as "30 Hours". Also fixes an issue where "0 hours" was removed
175 if the hour was a multiple of 10. Thanks to Stephan Seitz for
176 reporting the multiple of 10 issue.
177
178 Release version 0.10.4.
179
180 2013-10-28 Andrew Ruthven
181 Guard against zero total disk space, this affected Werner Mahr.
182
183 Fix up processing of dates with old style timestamps for in
184 progress recordings.
185
186 Add support to specify the date we're running mythtv-status on
187 so that we can test various scenarios.
188
189 2013-10-27 Andrew Ruthven
190 Handle the handling in POD in Perl 5.18. Force the return code
191 =item lines to be handled correctly.
192
193 2013-02-09 Andrew Ruthven
194 Update Jan's patch to be acceptable to non-US folks. ;)
195
196 Also process the timezone info for in progress recordings so the
197 Ends time is correct.
198
199 2013-02-09 Jan Schneider
200 Add support for processing the UTC time stamps for the schedule
201 start time as well.
202
203 2013-01-29 Andrew Ruthven
204 MythTV 0.26 now uses UTC in the time/date attributes in Status.
205 We now convert it to the local timezone.
206
207 2012-07-07 Andrew Ruthven
208 Switch to using the exact mode when working out the time to the
209 next recording. Also, if the next recording is in 1 Hour, 1 Minute
210 don't report it as "1 Hour, 1 Minutes". Thank you to Julian Gilbey
211 for the patch fixing this.
212
213 If the next recording is in $x Hours, 0 Minutes, remove the comma
214 as well, previously it was outputting "$x Hours,".
215
216 If the next recording is in more than 1 day, then switch to showing
217 it in days and hours, for example "1 Day, 2 Hours".
218
219 Hrmm, the XML protocol version was wrong for the encoder status,
220 so we incorrectly showed "7" instead of "Recording" for an encoder
221 that was in fact recording.
222
223 Release version 0.10.2.
224
225 2012-07-06 Andrew Ruthven
226 Correctly handle UTF-8 in the output from MythTV.
227
228 2012-06-14 Andrew Ruthven
229 Setting $0 stopped --help and -? from working, fix that.
230
231 Add the start of a test suite!
232
233 Release versions 0.10.0 & 0.10.1.
234
235 2012-03-04 Andrew Ruthven
236 It turns out that some email clients treat the oneliner block
237 as a paragraph that absolutely most be wrapped. Which causes
238 rather ugly results. Add a --oneliner-bullets option that
239 puts asterisks at the start of each oneliner line to make them
240 a bullet-ed list.
241
242 2012-01-18 Andrew Ruthven
243 MythTV 0.25 now has the status info in a different location, look
244 there.
245
246 2011-05-19 Andrew Ruthven
247 It seems that MythTV has changed the ProtoVer field in
248 0.23 to be a different version number. Update some
249 stanzas to use current version numbers.
250
251 2011-05-15 Andrew Ruthven
252 My method of trying to ensure that we don't have long lived
253 processes hanging around didn't work. Now we fork a child
254 to perform the query.
255
256 2011-03-03 Andrew Ruthven
257 It turns out that $SIG{ALRM} doesn't always work with LWP::UserAgent
258 as you'd expect. I've certainly noticed mythtv-status hanging
259 during cron jobs on a regular basis, and this could well explain
260 it.
261
262 Release version 0.9.6.
263
264 2010-12-01 Andrew Ruthven
265 Make sure that Date::Manip is running in 5.x compatibility mode.
266
267 Release version 0.9.5.
268
269 2010-09-16 Andrew Ruthven
270 Add support for extra recording state.
271
272 Be ready to switch to TB earlier.
273
274 2010-06-13 Andrew Ruthven
275 Allow skipping idle encoders when showing the encoder status and
276 make that the default. Thanks to Ron Kellam for the suggestion.
277
278 It seems that Date::Manip::DateCalc in some versions require that
279 you parse in a ref for the error ref, passing in undef causes it
280 to not perform the date calculation. Parse in a ref, even if we
281 don't actually check it. Thanks to Ron Kellam for doing some
282 leg work on tracking this issue down.
283
284 Release version 0.9.4.
285
286 2010-04-29 Andrew Ruthven
287 Handle the case where the disk space units returned from the server
288 are different. i.e., total is in GB and used is in MB.
289
290 Fix my redirection of STDERR.
291
292 Release version 0.9.4.
293
294 2009-05-22 Andrew Ruthven
295 Only move /var/run/motd.new if it exists.
296
297 Release version 0.9.3.
298
299 2009-04-11 Andrew Ruthven
300 Show the encoder details for "Recording Now".
301 Pass on that charset that MythTV gave us in any emails we send and
302 set a sensible encoding.
303
304 2009-03-31 Andrew Ruthven
305 Add support for the newer encoder statuses.
306
307 2009-02-20 Andrew Ruthven
308 Allow using a YAML file for setting most of the command line flags.
309
310 2008-08-01 Andrew Ruthven
311 Automatically convert the disk space units to more human readable
312 forms if it is many GB.
313
314 2008-07-30 Andrew Ruthven
315 Suppress the errors from XML::LibXML.
316
317 2008-07-11 Andrew Ruthven
318 Relicense under the GPL v3.
319
320 Release version 0.9.0.
321
322 2008-07-06 Andrew Ruthven
323 Fix a couple of minor typos in the argument passing, and the help
324 screen. Thank you Mike Holden for reporting these.
325
326 2008-06-19 Andrew Ruthven
327 Just extend the copyright time ranges to include 2008.
328
329 Release version 0.8.1.
330
331 2008-06-18 Andrew Ruthven
332 Modify the auto expire logic to reduce the amount of needless work
333 that is done. Thank you Tom Metro for point this out.
334
335 Release version 0.8.0.
336
337 2008-05-28 Andrew Ruthven
338 It turns out that secondary backends don't return total disk space,
339 handle that in a nicer manner. Thank you Steve Gunther for letting
340 me know.
341
342 2008-05-23 Andrew Ruthven
343 Add a timeout for the HTTP request to the backend.
344
345 2008-04-19 Andrew Ruthven
346 Add a molly-guard check
347
348 2008-04-11 Andrew Ruthven
349 Provide helper scripts that'll return true if the MythTV backend
350 is:
351 * recording a show now,
352 * will be recording one within the next hour (or is currently
353 recording)
354
355 2008-03-11 Andrew Ruthven
356 Be less stressed about the XML protocol, let XPath matching do
357 the validation for us.
358
359 Release version 0.7.3.
360
361 2008-03-07 Andrew Ruthven
362 The MythTV protocol on release-0-21-fixes has been increased to 39.
363
364 Release version 0.7.2.
365
366 2008-01-24 Andrew Ruthven
367 Release version 0.7.1.
368
369 2008-01-22 Andrew Ruthven
370 Change the version boundaries for the disk space blocks to reflect
371 current SVN.
372 The backend returns the disk usage in MB, not GB.
373 Optionally show the input ID and channel number for recordings.
374
375 2008-01-20 Andrew Ruthven
376 Show the shows that will be deleted by the auto expirer, and their
377 order.
378
379 Release version 0.7.0
380
381 2007-12-26 Andrew Ruthven
382 Release version 0.6.2
383
384 2007-12-25 Andrew Ruthven
385 Conflicts should show the channel name as well.
386
387 2007-12-13 Andrew Ruthven
388 Warn if there isn't enough guide data present.
389 Show the channel name next to program details.
390
391 Release version 0.6.1
392
393 2007-12-12 Andrew Ruthven
394 Release version 0.6.0
395
396 2007-12-08 Andrew Ruthven
397 Allow using my new xmlVer attribute in the XML.
398 If using my XML patches against MythTV show the disk space details.
399
400 2007-12-07 Andrew Ruthven
401 Better suppress warnings from the MythTV Perl API if we can't access
402 the database.
403
404 2007-12-06 Andrew Ruthven
405 Be more paranoid about handling error conditions in the
406 substitution code.
407 Handle the case where there is no next recording scheduled
408 in a nicer fashion.
409
410 Release version 0.5.3.
411
412 2007-12-02 Andrew Ruthven
413 Allow sending emails only if there is low disk space or recording
414 conflicts. (0.6)
415
416 2007-11-28 Andrew Ruthven
417 Be more wary about processing what the backend has sent us.
418 This includes cleaning up some invalid UTF-8 characters.
419 Add support for reading XML from a file.
420 Be a bit more forgiving on the XML we're receiving.
421
422 Release version 0.5.2.
423
424 Show how much disk space is used - currently only total. (0.6)
425 Rename "Time till next recording" to "Next Recording In". (0.6)
426 Put all the one liners together in the output and make them line
427 up nicely. (0.6)
428
429 2007-11-23 Andrew Ruthven
430 Don't set the background when changing the colour.
431 Make the new debconf prompt lintian clean and say how to specify
432 multiple email addresses.
433
434 Release version 0.5.1.
435
436 2007-11-21 Andrew Ruthven
437 Now the results can be sent via email with the subject set correctly.
438 With an option to only send out email if schedule conflicts are
439 detected.
440
441 Release version 0.5.
442
443 2007-11-20 Andrew Ruthven
444 Allow suppressing blocks of output.
445 Add a semi-FAQ.
446
447 2007-11-18 Andrew Ruthven
448 Add support for showing the version of the script.
449 Now we show any schedule conflicts, or if the MythTV Perl API isn't
450 usable, a warning. (This is because we need to be able to read
451 the mysql.txt file and connect to the database to use the API, ick.)
452 Display the amount of time until the next recording.
453
454 2007-11-17 Andrew Ruthven
455 Add support for printing colour in the encoder status display.
456
457 2007-11-16 Francois Marier
458 Many fixes to the Debian packaging to make lintian happy.
459 Fixes to the Makefile for supporting Debian sponsoring.
460 Check if the initscript exists before running it
461
462 2007-11-16 Andrew Ruthven
463 Add additional encoder states and logic for displaying the
464 connected state of encoders.
465
466 Release version 0.3.
467
468 Changes to the Makefile required by new packaging.
469 Tweaks to the Debian packaging.
470 Optionally display programs description and/or subtitle.
471
472 Release version 0.4.
473
474 2007-11-15 Andrew Ruthven
475 Fix up publishing the tar ball.
476
477 Release version 0.2.
478
479 2007-11-05 Andrew Ruthven
480 Add an example when recording.
481 Work the Debian packaging
482
483 2007-10-31 Andrew Ruthven
484 Expand out MOTD in the documentation.
485 Add a section to the perldoc which describes what is in the output.
486
487 2007-10-27 Andrew Ruthven
488 Debian packaging:
489 - Convert the perldoc to a man page, and install it.
490 - Ignore the build files/directories.
491 Remove the bit about how to get the GPLv2 from the perldoc.
492 Add perldoc.
493
494 Release version 0.1.
495
496 2007-10-22 Andrew Ruthven
497 Add Debian directory
498 Add a README file.
499 Check for the Debian settings and use them.
500 Add license.
501 Update the MOTD.
502 Rename to what we'll use when installing it.
503 Pull out the XML generated timestamp and allow one line output.