run: Don't kill children twice.
[dss.git] / NEWS
1 -----------------------
2 1.0.0 (to be announced)
3 -----------------------
4
5 - The gengetopt option parser has been replaced by the
6 [lopsub](http://people.tuebingen.mpg.de/maan/lopsub) library. Hence
7 lopsub must be installed to compile this package. help2man is
8 no longer required since lopsub has built-in roff support.
9
10 - New subcommand "configtest" to check the command line options and
11 the configuration file for syntactic correctness.
12
13 - New option: --mountpoint. If this option is given, dss aborts if
14 no file system is mounted on the destination directory.
15
16 - New option --checksum to let rsync compute checksums occasionally.
17
18 - The kill subcommand gained the new --wait option which instructs dss
19 to wait until the signalled process has terminated.
20
21 - The --no-resume option has been removed.
22
23 - On exit, the run subcommand now waits for any previously spawned
24 rsync or rm processes to terminate.
25
26 - The ls subcommand now shows the age of incomplete snapshots rather
27 than 0:00.
28
29 - In run mode, dss no longer exits successfully if another instance
30 is already running.
31
32 - The command specified as the argument to --exit-hook is now subject
33 to word splitting. Previously, the string was executed as-is.
34
35 - Improved error diagnostics for the kill subcommand.
36
37 - For all subcommands other than "run", timestamps and function names
38 are omitted from the log output.
39
40 - "make install" will install the executable and the man page.
41
42 - CFLAGS, CPPFLAGS and LDFLAGS can now be used to override the flags
43 of the build system.
44
45 - Source code files are now annotated with the SPDX GPL-2.0 license
46 identifier.
47
48 - The dss logo is now created with ImageMagick rather than dia.
49
50 ------------------
51 0.1.7 (2017-04-17)
52 ------------------
53
54 - Documentation improvements.
55
56 - Improved error diagnostics.
57
58 - dss no longer refuses to run in daemon mode without a log file.
59
60 - Minor tweaks to the snapshot pruning algorithm.
61
62 - A fix for create mode when rsync exists unsuccessfully.
63
64 - NEWS and README have been converted to markdown format.
65
66 - We now compile with -Wunused-parameter and -Wshadow.
67
68 ------------------
69 0.1.6 (2015-08-05)
70 ------------------
71
72 - New option --min-complete to specify the minimal number of snapshots
73 to keep.
74
75 - Improved handling of rsync errors. The new --max-rsync-errors option
76 tells dss to terminate after the given number of rsync failures.
77
78 - New home page URL and email address.
79
80 - Reworked rsync restart logic, new --max-rsync-errors option.
81
82 - Avoidance of "Errors with program diagnostics" error from rsync.
83
84 - Improved signal handling.
85
86 ------------------
87 0.1.5 (2014-01-14)
88 ------------------
89
90 - snapshot recycling: outdated, redundant and orphaned snapshots are
91 reused as the basis for new snapshots.
92
93 - New subcommands: --kill, --reload.
94
95 - The semaphore-based locking system prevents to start multiple
96 instances of dss.
97
98 - When dss receives SIGHUP it now writes the internal state and the
99 configuration to the log file
100
101 - First steps to make the source code ANSI C conform (thanks to
102 Daniel Richard G).
103
104 - dss writes log messages to stderr rather than to the logfile unless
105 running in daemon mode.
106
107 - Default hooks work also on systems where "/bin/true" does not exist,
108 e.g. Mac OS.
109
110 ------------------
111 0.1.4 (2010-11-08)
112 ------------------
113 This version of dss contains some new features, many improvements of
114 existing features and several bug fixes.
115
116 Support for resuming snapshot creation after restart has been added
117 and snapshot removal is deferred until at least one current snapshot
118 exists. The internal handling of the various hooks has been simplified
119 and many error messages have been clarified. On SIGHUP, dss now writes
120 its configuration and internal state to the log file.
121
122 ------------------
123 0.1.3 (2009-06-06)
124 ------------------
125 You can now specify pre-rm/post-rm-hooks that are executed whenever
126 a snapshot is deleted. This release adds better compatibility with
127 rsync 3.0, and avoids busy loops when automatically restarting the
128 rsync process.
129
130 ------------------
131 0.1.2 (2009-03-05)
132 ------------------
133 This release includes the reason why a snapshot gets removed in the
134 log message. It will never remove the snapshot that is currently
135 being created. It will really pass the full path to the last complete
136 snapshot in the post_create_hook.
137
138 ------------------
139 0.1.1 (2008-11-13)
140 ------------------
141 This release prevents busy loops on rsync exit code 13. It ignores
142 any snapshot directory with creation time >= completion time. It
143 opens /dev/null for reading and writing when executing rsync. It shows
144 human readable snapshot creation duration when listing snapshots. It
145 restarts the rsync process if it returned with exit code 13.
146
147 ------------------
148 0.1.0 (2008-10-10)
149 ------------------
150 Initial public release.