9 Continue regression fixing of @command{redo-whichdo}.
12 @anchor{Release 2_3_0}
13 @section Release 2.3.0
16 Fix regressions in @command{redo-whichdo} happened after huge refactoring.
19 @anchor{Release 2_2_0}
20 @section Release 2.2.0
23 Prefix target's output lines with the name of the target.
26 @anchor{Release 2_1_0}
27 @section Release 2.1.0
30 Mistakenly path to @file{.do} file was not absolute and OS can
31 refuse to run it because it is not in @env{$PATH}.
34 @anchor{Release 2_0_0}
35 @section Release 2.0.0
38 Huge quantity of performance optimisations.
41 Fixed possible unexpected lock file closing.
44 When resulting target has the same contents, it does not replace
45 already existing one. That was done previously. But now it also
46 copies the file's mode flags to the target (for example making it
50 If @command{redo-*} command runs under control of another
51 (top-level) redo, then it does not parse the flags as options and
52 treat each argument as a target, allowing passing the targets with
53 dashes in the beginning.
56 Prevented possible concurrent stderr writing by multiple running targets.
59 @command{redo-depfix} command now always rewrites dependency files
60 and calculates checksums of the files.
63 Own binary format is used for dependency files (@file{.dep}),
64 instead of recfile (@file{.rec}) one. It is several times smaller
65 and much faster to parse. You must run @command{redo-depfix} to
66 convert all existing @file{.redo/*.rec} files to that binary format.
69 @command{redo-dep2rec} command appeared, that can convert
70 @file{.dep} to recfile on stdout.
74 @anchor{Release 1_32_0}
75 @section Release 1.32.0
78 Omit printing of the @code{resource deadlock avoided} warning when
79 trying to take the lock.
82 @anchor{Release 1_31_0}
83 @section Release 1.31.0
86 Fixed possible race when target can be built more than once.
88 Print out finished targets much more quickly.
91 @anchor{Release 1_30_0}
92 @section Release 1.30.0
95 Fixed wrong OOD-cache value of source file dependency.
96 Targets could be rebuilt without any reason.
99 @anchor{Release 1_29_0}
100 @section Release 1.29.0
103 Fix possible error when two always-ed targets are run simultaneously.
105 Updated dependant libraries.
108 @anchor{Release 1_28_0}
109 @section Release 1.28.0
112 Do not remove @file{.lock} files, that leads to possible races
113 between running targets. Although @command{nncp-cleanup lock}
114 can be used to cleanup.
116 Updated dependant libraries.
119 @anchor{Release 1_27_1}
120 @section Release 1.27.1
123 Fixed lack of @file{.redo.}-prefix in temporary file names.
126 @anchor{Release 1_27_0}
127 @section Release 1.27.0
130 Improved out-of-date check and @file{.do} files search performance,
131 because of caching their results.
134 @anchor{Release 1_26_0}
135 @section Release 1.26.0
138 Debug output contained colour-related attribute even if
139 @env{$NO_COLOR=1} was set.
141 Updated dependant libraries.
144 @anchor{Release 1_25_0}
145 @section Release 1.25.0
148 Target's lock file requires a token from the jobserver now. So
149 amount of simultaneously opened lock files depends on job slots
153 @anchor{Release 1_24_0}
154 @section Release 1.24.0
157 @command{redo-cleanup tmp} also removes temporarily (@code{$3})
161 @anchor{Release 1_23_0}
162 @section Release 1.23.0
165 @command{redo-ifchange}'s @option{-f} option forces each target
166 rebuilding. Comparing to @command{redo}, it will parallelize the
169 Inode's number is also stored as dependency information, just to
170 prevent possible @code{ctime} collision of two files.
172 Performance optimization: do not use target's temporary output file
173 at all, if its hash equals to already existing target's one. Just
174 touch existing target file instead.
177 @anchor{Release 1_22_0}
178 @section Release 1.22.0
181 @code{flock} locks replaced with POSIX @code{fcntl} ones.
182 They could be more portable.
184 @command{redo-depfix} command appeared, that traverses through all
185 @file{.redo} directories and their dependency files, checks if
186 corresponding targets has the same content but different
187 @code{ctime}/@code{mtime} values and rewrites dependencies with that
188 updated inode information.
190 With @env{$REDO_STOP_IF_MODIFIED=1} environment variable redo will
191 stop and fail if it meet externally modified file. By default user
192 is only warned about it, but building continues for convenience.
195 @anchor{Release 1_21_0}
196 @section Release 1.21.0
199 @env{$REDO_INODE_NO_TRUST} is replaced with @env{$REDO_INODE_TRUST}
200 environment variable, that takes either @code{none}, or @code{ctime}
201 (the default one), or @code{mtime} (new one). Check documentation's
202 separate page about that option.
205 @anchor{Release 1_20_0}
206 @section Release 1.20.0
209 Print warning message if both ifcreate and ifchange records were
210 discovered after the target is done.
213 @anchor{Release 1_19_0}
214 @section Release 1.19.0
217 Skip target itself, when searching for corresponding @file{.do}
218 file. For example @file{default.do} must use @file{../default.do}
222 @anchor{Release 1_18_0}
223 @section Release 1.18.0
226 Fix regression of known OODs passing since 1.3.0, that leads to
227 rebuilding of already built targets.
230 @anchor{Release 1_17_0}
231 @section Release 1.17.0
234 If @command{redo*} process is killed, then it sends @code{SIGTERM}
235 to all his children too, properly terminating the whole job queue.
238 @anchor{Release 1_16_0}
239 @section Release 1.16.0
242 Unexistent targets are considered always out-of-date, as it should be.
244 Do not panic if @env{$REDO_LOGS=1} and we were unable to start the command.
247 @anchor{Release 1_15_0}
248 @section Release 1.15.0
251 Explicitly check if @code{$1} target is touched and then fail.
252 Previously we check if @code{$1} was only altered.
255 @anchor{Release 1_14_0}
256 @section Release 1.14.0
259 Fixed @command{redo-ifcreate}'s targets proper relative paths to the target.
262 @anchor{Release 1_13_0}
263 @section Release 1.13.0
266 Use @file{.log-rec} extension, instead of @file{.log.rec}, that
267 won't collide with already existing @file{.log} and @file{.rec} in
268 @file{.redo} directory.
271 @anchor{Release 1_12_0}
272 @section Release 1.12.0
275 Fix possible lack of success finish message printing if any of
279 @anchor{Release 1_11_0}
280 @section Release 1.11.0
283 Fix nasty bug with incorrect @file{.redo/tgt.rec} files renaming.
286 @anchor{Release 1_10_0}
287 @section Release 1.10.0
290 @command{redo-cleanup} now also cleans @file{.redo/tgt.log.rec} files.
292 Recursive logs do not require @file{.redo/tgt.rec} existence anymore.
295 @anchor{Release 1_9_0}
296 @section Release 1.9.0
299 Do not enable command line options not applicable to the command.
300 For example @option{-j} option is only applicable to @command{redo}
301 and @command{redo-ifchange} commands.
304 @item @option{-dry-run} option is renamed to @option{-n}
305 @item @option{-logs} option is renamed to @option{-k}
306 @item @option{-silent} option is renamed to @option{-s}
309 When @code{stderr} logs are kept, all environment variables, working
310 directory, command line arguments, start/finish times, duration,
311 participated PIDs, return codes are saved in corresponding
312 @file{.redo/tgt.log.rec} file. Some of them can be viewed with
313 @option{-c} option to @command{redo-log}.
315 @command{redo-log}'s @option{-r} option allows recursive, indented
316 viewing of the whole redo commands invocations for the given target
320 @anchor{Release 1_8_0}
321 @section Release 1.8.0
324 Fixed possibly wrong relative path record of the dependency, when
325 redo commands are run in different directory from the @file{.do}.
327 Fixed possible failing in @command{redo-sources} if no @file{.dep}
331 @anchor{Release 1_7_0}
332 @section Release 1.7.0
335 Optional compatibility (through @env{$REDO_MAKE=@{bmake|gmake@}})
336 with either NetBSD's bmake or GNU Make jobserver protocols, being
337 able to tightly integrate @command{goredo} with the @command{make}.
340 @anchor{Release 1_6_0}
341 @section Release 1.6.0
344 @command{redo-affects} command appeared, that shows all targets that
345 will be affected by changing the specified ones.
348 @anchor{Release 1_5_0}
349 @section Release 1.5.0
352 @command{redo-ood}, @command{redo-sources} and
353 @command{redo-targets} can optionally take list of targets to apply
354 the command on, to narrow the result.
356 @command{redo-sources} mistakenly missed @file{.do} files in the output.
358 @command{redo-sources} now recursively searches for all source
359 files, not the "first" depth level ones.
362 @anchor{Release 1_4_1}
363 @section Release 1.4.1
366 Even more simpler statusline cleaning function.
369 @anchor{Release 1_4_0}
370 @section Release 1.4.0
373 Fixed proper @option{-xx} and @env{$REDO_TRACE} workability, that
374 previously was not applied to all targets.
376 Simpler statusline cleaning function, does not leading to whitespace
377 junk after long lines.
379 Updated dependant libraries.
382 @anchor{Release 1_3_0}
383 @section Release 1.3.0
386 Experimental @command{redo-sources}, @command{redo-targets} and
387 @command{redo-ood} commands.
389 Repetitive OOD determination optimization: pass all already known to
390 be OOD targets to redoing targets.
393 @anchor{Release 1_2_0}
394 @section Release 1.2.0
397 Dependency files @file{.dep} extension changed to @file{.rec}, to
398 reflect its recfile format nature and editors file type better
401 Reduce number of file descriptors kept open (1 instead of 4) while
402 waiting for job slot token.
405 @anchor{Release 1_1_0}
406 @section Release 1.1.0
409 @command{redo-cleanup} has @option{-dry-run} option.
412 @anchor{Release 1_0_0}
413 @section Release 1.0.0
416 @code{Size} is stored in the state, for faster OOD detection.
417 Previous @command{goredo} state files won't work.
419 Setting of @env{$REDO_INODE_NO_TRUST} environment variable brings no
420 trust to file inode's information (except for its size), forcing its
423 @command{redo-whichdo} resembles @code{apenwarr/redo}'s one behaviour more.
426 @anchor{Release 0_12_3}
427 @section Release 0.12.3
430 Use an updated @code{lukechampine.com/blake3} with possibly working
434 @anchor{Release 0_12_2}
435 @section Release 0.12.2
438 Try to fix failing @code{lukechampine.com/blake3} on arm64 macOS.
440 Fixed tests permissions in the tarball.
443 @anchor{Release 0_12_1}
444 @section Release 0.12.1
447 Tarball uses @file{vendor} directory without @env{$GOPATH}
448 overriding. @command{goredo} and its dependencies anyway uses Go
449 1.12+ versions, that have @file{vendor}-ing support.
452 @anchor{Release 0_12_0}
453 @section Release 0.12.0
456 Do not forget to save even output-less target as a dependency.
458 @option{-debug} option renamed to shorter @option{-d}.
461 @anchor{Release 0_11_0}
462 @section Release 0.11.0
465 Previously @env{$REDO_JOBS} overrided even explicitly specified
466 @option{-j} option. Fix that behaviour -- command line options must
467 precede environment variables.
468 @item @url{https://github.com/BLAKE3-team/BLAKE3, BLAKE3} replaces
469 BLAKE2b hashing algorithm for even better performance.
472 @anchor{Release 0_10_0}
473 @section Release 0.10.0
475 @item Initial tarballed release.