9 Omit possible obtrusive error of non-existent @file{.dep} file
10 opening of the failed target.
13 @anchor{Release 2_5_0}
14 @section Release 2.5.0
17 Prevent rare race in the code, where externally modified target may
21 @anchor{Release 2_4_0}
22 @section Release 2.4.0
25 Continue regression fixing of @command{redo-whichdo}.
28 @anchor{Release 2_3_0}
29 @section Release 2.3.0
32 Fix regressions in @command{redo-whichdo} happened after huge refactoring.
35 @anchor{Release 2_2_0}
36 @section Release 2.2.0
39 Prefix target's output lines with the name of the target.
42 @anchor{Release 2_1_0}
43 @section Release 2.1.0
46 Mistakenly path to @file{.do} file was not absolute and OS can
47 refuse to run it because it is not in @env{$PATH}.
50 @anchor{Release 2_0_0}
51 @section Release 2.0.0
54 Huge quantity of performance optimisations.
57 Fixed possible unexpected lock file closing.
60 When resulting target has the same contents, it does not replace
61 already existing one. That was done previously. But now it also
62 copies the file's mode flags to the target (for example making it
66 If @command{redo-*} command runs under control of another
67 (top-level) redo, then it does not parse the flags as options and
68 treat each argument as a target, allowing passing the targets with
69 dashes in the beginning.
72 Prevented possible concurrent stderr writing by multiple running targets.
75 @command{redo-depfix} command now always rewrites dependency files
76 and calculates checksums of the files.
79 Own binary format is used for dependency files (@file{.dep}),
80 instead of recfile (@file{.rec}) one. It is several times smaller
81 and much faster to parse. You must run @command{redo-depfix} to
82 convert all existing @file{.redo/*.rec} files to that binary format.
85 @command{redo-dep2rec} command appeared, that can convert
86 @file{.dep} to recfile on stdout.
90 @anchor{Release 1_32_0}
91 @section Release 1.32.0
94 Omit printing of the @code{resource deadlock avoided} warning when
95 trying to take the lock.
98 @anchor{Release 1_31_0}
99 @section Release 1.31.0
102 Fixed possible race when target can be built more than once.
104 Print out finished targets much more quickly.
107 @anchor{Release 1_30_0}
108 @section Release 1.30.0
111 Fixed wrong OOD-cache value of source file dependency.
112 Targets could be rebuilt without any reason.
115 @anchor{Release 1_29_0}
116 @section Release 1.29.0
119 Fix possible error when two always-ed targets are run simultaneously.
121 Updated dependant libraries.
124 @anchor{Release 1_28_0}
125 @section Release 1.28.0
128 Do not remove @file{.lock} files, that leads to possible races
129 between running targets. Although @command{nncp-cleanup lock}
130 can be used to cleanup.
132 Updated dependant libraries.
135 @anchor{Release 1_27_1}
136 @section Release 1.27.1
139 Fixed lack of @file{.redo.}-prefix in temporary file names.
142 @anchor{Release 1_27_0}
143 @section Release 1.27.0
146 Improved out-of-date check and @file{.do} files search performance,
147 because of caching their results.
150 @anchor{Release 1_26_0}
151 @section Release 1.26.0
154 Debug output contained colour-related attribute even if
155 @env{$NO_COLOR=1} was set.
157 Updated dependant libraries.
160 @anchor{Release 1_25_0}
161 @section Release 1.25.0
164 Target's lock file requires a token from the jobserver now. So
165 amount of simultaneously opened lock files depends on job slots
169 @anchor{Release 1_24_0}
170 @section Release 1.24.0
173 @command{redo-cleanup tmp} also removes temporarily (@code{$3})
177 @anchor{Release 1_23_0}
178 @section Release 1.23.0
181 @command{redo-ifchange}'s @option{-f} option forces each target
182 rebuilding. Comparing to @command{redo}, it will parallelize the
185 Inode's number is also stored as dependency information, just to
186 prevent possible @code{ctime} collision of two files.
188 Performance optimization: do not use target's temporary output file
189 at all, if its hash equals to already existing target's one. Just
190 touch existing target file instead.
193 @anchor{Release 1_22_0}
194 @section Release 1.22.0
197 @code{flock} locks replaced with POSIX @code{fcntl} ones.
198 They could be more portable.
200 @command{redo-depfix} command appeared, that traverses through all
201 @file{.redo} directories and their dependency files, checks if
202 corresponding targets has the same content but different
203 @code{ctime}/@code{mtime} values and rewrites dependencies with that
204 updated inode information.
206 With @env{$REDO_STOP_IF_MODIFIED=1} environment variable redo will
207 stop and fail if it meet externally modified file. By default user
208 is only warned about it, but building continues for convenience.
211 @anchor{Release 1_21_0}
212 @section Release 1.21.0
215 @env{$REDO_INODE_NO_TRUST} is replaced with @env{$REDO_INODE_TRUST}
216 environment variable, that takes either @code{none}, or @code{ctime}
217 (the default one), or @code{mtime} (new one). Check documentation's
218 separate page about that option.
221 @anchor{Release 1_20_0}
222 @section Release 1.20.0
225 Print warning message if both ifcreate and ifchange records were
226 discovered after the target is done.
229 @anchor{Release 1_19_0}
230 @section Release 1.19.0
233 Skip target itself, when searching for corresponding @file{.do}
234 file. For example @file{default.do} must use @file{../default.do}
238 @anchor{Release 1_18_0}
239 @section Release 1.18.0
242 Fix regression of known OODs passing since 1.3.0, that leads to
243 rebuilding of already built targets.
246 @anchor{Release 1_17_0}
247 @section Release 1.17.0
250 If @command{redo*} process is killed, then it sends @code{SIGTERM}
251 to all his children too, properly terminating the whole job queue.
254 @anchor{Release 1_16_0}
255 @section Release 1.16.0
258 Unexistent targets are considered always out-of-date, as it should be.
260 Do not panic if @env{$REDO_LOGS=1} and we were unable to start the command.
263 @anchor{Release 1_15_0}
264 @section Release 1.15.0
267 Explicitly check if @code{$1} target is touched and then fail.
268 Previously we check if @code{$1} was only altered.
271 @anchor{Release 1_14_0}
272 @section Release 1.14.0
275 Fixed @command{redo-ifcreate}'s targets proper relative paths to the target.
278 @anchor{Release 1_13_0}
279 @section Release 1.13.0
282 Use @file{.log-rec} extension, instead of @file{.log.rec}, that
283 won't collide with already existing @file{.log} and @file{.rec} in
284 @file{.redo} directory.
287 @anchor{Release 1_12_0}
288 @section Release 1.12.0
291 Fix possible lack of success finish message printing if any of
295 @anchor{Release 1_11_0}
296 @section Release 1.11.0
299 Fix nasty bug with incorrect @file{.redo/tgt.rec} files renaming.
302 @anchor{Release 1_10_0}
303 @section Release 1.10.0
306 @command{redo-cleanup} now also cleans @file{.redo/tgt.log.rec} files.
308 Recursive logs do not require @file{.redo/tgt.rec} existence anymore.
311 @anchor{Release 1_9_0}
312 @section Release 1.9.0
315 Do not enable command line options not applicable to the command.
316 For example @option{-j} option is only applicable to @command{redo}
317 and @command{redo-ifchange} commands.
320 @item @option{-dry-run} option is renamed to @option{-n}
321 @item @option{-logs} option is renamed to @option{-k}
322 @item @option{-silent} option is renamed to @option{-s}
325 When @code{stderr} logs are kept, all environment variables, working
326 directory, command line arguments, start/finish times, duration,
327 participated PIDs, return codes are saved in corresponding
328 @file{.redo/tgt.log.rec} file. Some of them can be viewed with
329 @option{-c} option to @command{redo-log}.
331 @command{redo-log}'s @option{-r} option allows recursive, indented
332 viewing of the whole redo commands invocations for the given target
336 @anchor{Release 1_8_0}
337 @section Release 1.8.0
340 Fixed possibly wrong relative path record of the dependency, when
341 redo commands are run in different directory from the @file{.do}.
343 Fixed possible failing in @command{redo-sources} if no @file{.dep}
347 @anchor{Release 1_7_0}
348 @section Release 1.7.0
351 Optional compatibility (through @env{$REDO_MAKE=@{bmake|gmake@}})
352 with either NetBSD's bmake or GNU Make jobserver protocols, being
353 able to tightly integrate @command{goredo} with the @command{make}.
356 @anchor{Release 1_6_0}
357 @section Release 1.6.0
360 @command{redo-affects} command appeared, that shows all targets that
361 will be affected by changing the specified ones.
364 @anchor{Release 1_5_0}
365 @section Release 1.5.0
368 @command{redo-ood}, @command{redo-sources} and
369 @command{redo-targets} can optionally take list of targets to apply
370 the command on, to narrow the result.
372 @command{redo-sources} mistakenly missed @file{.do} files in the output.
374 @command{redo-sources} now recursively searches for all source
375 files, not the "first" depth level ones.
378 @anchor{Release 1_4_1}
379 @section Release 1.4.1
382 Even more simpler statusline cleaning function.
385 @anchor{Release 1_4_0}
386 @section Release 1.4.0
389 Fixed proper @option{-xx} and @env{$REDO_TRACE} workability, that
390 previously was not applied to all targets.
392 Simpler statusline cleaning function, does not leading to whitespace
393 junk after long lines.
395 Updated dependant libraries.
398 @anchor{Release 1_3_0}
399 @section Release 1.3.0
402 Experimental @command{redo-sources}, @command{redo-targets} and
403 @command{redo-ood} commands.
405 Repetitive OOD determination optimization: pass all already known to
406 be OOD targets to redoing targets.
409 @anchor{Release 1_2_0}
410 @section Release 1.2.0
413 Dependency files @file{.dep} extension changed to @file{.rec}, to
414 reflect its recfile format nature and editors file type better
417 Reduce number of file descriptors kept open (1 instead of 4) while
418 waiting for job slot token.
421 @anchor{Release 1_1_0}
422 @section Release 1.1.0
425 @command{redo-cleanup} has @option{-dry-run} option.
428 @anchor{Release 1_0_0}
429 @section Release 1.0.0
432 @code{Size} is stored in the state, for faster OOD detection.
433 Previous @command{goredo} state files won't work.
435 Setting of @env{$REDO_INODE_NO_TRUST} environment variable brings no
436 trust to file inode's information (except for its size), forcing its
439 @command{redo-whichdo} resembles @code{apenwarr/redo}'s one behaviour more.
442 @anchor{Release 0_12_3}
443 @section Release 0.12.3
446 Use an updated @code{lukechampine.com/blake3} with possibly working
450 @anchor{Release 0_12_2}
451 @section Release 0.12.2
454 Try to fix failing @code{lukechampine.com/blake3} on arm64 macOS.
456 Fixed tests permissions in the tarball.
459 @anchor{Release 0_12_1}
460 @section Release 0.12.1
463 Tarball uses @file{vendor} directory without @env{$GOPATH}
464 overriding. @command{goredo} and its dependencies anyway uses Go
465 1.12+ versions, that have @file{vendor}-ing support.
468 @anchor{Release 0_12_0}
469 @section Release 0.12.0
472 Do not forget to save even output-less target as a dependency.
474 @option{-debug} option renamed to shorter @option{-d}.
477 @anchor{Release 0_11_0}
478 @section Release 0.11.0
481 Previously @env{$REDO_JOBS} overrided even explicitly specified
482 @option{-j} option. Fix that behaviour -- command line options must
483 precede environment variables.
484 @item @url{https://github.com/BLAKE3-team/BLAKE3, BLAKE3} replaces
485 BLAKE2b hashing algorithm for even better performance.
488 @anchor{Release 0_10_0}
489 @section Release 0.10.0
491 @item Initial tarballed release.