9 Mistakenly path to @file{.do} file was not absolute and OS can
10 refuse to run it because it is not in @env{$PATH}.
13 @anchor{Release 2_0_0}
14 @section Release 2.0.0
17 Huge quantity of performance optimisations.
20 Fixed possible unexpected lock file closing.
23 When resulting target has the same contents, it does not replace already
24 existing one. That was done previously. But now it also copies the file's
25 mode flags to the target (for example making it executable).
28 If @command{redo-*} command runs under control of another (top-level)
29 redo, then it does not parse the flags as options and treat each
30 argument as a target, allowing passing the targets with dashes in the
34 Prevented possible concurrent stderr writing by multiple running
38 @command{redo-depfix} command now always rewrites dependency files and
39 calculates checksums of the files.
42 Own binary format is used for dependency files (@file{.dep}), instead of
43 recfile (@file{.rec}) one. It is several times smaller and much faster
44 to parse. You must run @command{redo-depfix} to convert all existing
45 @file{.redo/*.rec} files to that binary format.
48 @command{redo-dep2rec} command appeared, that can convert @file{.dep} to
53 @anchor{Release 1_32_0}
54 @section Release 1.32.0
57 Omit printing of the @code{resource deadlock avoided} warning when
58 trying to take the lock.
61 @anchor{Release 1_31_0}
62 @section Release 1.31.0
65 Fixed possible race when target can be built more than once.
67 Print out finished targets much more quickly.
70 @anchor{Release 1_30_0}
71 @section Release 1.30.0
74 Fixed wrong OOD-cache value of source file dependency.
75 Targets could be rebuilt without any reason.
78 @anchor{Release 1_29_0}
79 @section Release 1.29.0
82 Fix possible error when two always-ed targets are run simultaneously.
84 Updated dependant libraries.
87 @anchor{Release 1_28_0}
88 @section Release 1.28.0
91 Do not remove @file{.lock} files, that leads to possible races
92 between running targets. Although @command{nncp-cleanup lock}
93 can be used to cleanup.
95 Updated dependant libraries.
98 @anchor{Release 1_27_1}
99 @section Release 1.27.1
102 Fixed lack of @file{.redo.}-prefix in temporary file names.
105 @anchor{Release 1_27_0}
106 @section Release 1.27.0
109 Improved out-of-date check and @file{.do} files search performance,
110 because of caching their results.
113 @anchor{Release 1_26_0}
114 @section Release 1.26.0
117 Debug output contained colour-related attribute even if
118 @env{$NO_COLOR=1} was set.
120 Updated dependant libraries.
123 @anchor{Release 1_25_0}
124 @section Release 1.25.0
127 Target's lock file requires a token from the jobserver now. So
128 amount of simultaneously opened lock files depends on job slots
132 @anchor{Release 1_24_0}
133 @section Release 1.24.0
136 @command{redo-cleanup tmp} also removes temporarily (@code{$3})
140 @anchor{Release 1_23_0}
141 @section Release 1.23.0
144 @command{redo-ifchange}'s @option{-f} option forces each target
145 rebuilding. Comparing to @command{redo}, it will parallelize the
148 Inode's number is also stored as dependency information, just to
149 prevent possible @code{ctime} collision of two files.
151 Performance optimization: do not use target's temporary output file
152 at all, if its hash equals to already existing target's one. Just
153 touch existing target file instead.
156 @anchor{Release 1_22_0}
157 @section Release 1.22.0
160 @code{flock} locks replaced with POSIX @code{fcntl} ones.
161 They could be more portable.
163 @command{redo-depfix} command appeared, that traverses through all
164 @file{.redo} directories and their dependency files, checks if
165 corresponding targets has the same content but different
166 @code{ctime}/@code{mtime} values and rewrites dependencies with that
167 updated inode information.
169 With @env{$REDO_STOP_IF_MODIFIED=1} environment variable redo will
170 stop and fail if it meet externally modified file. By default user
171 is only warned about it, but building continues for convenience.
174 @anchor{Release 1_21_0}
175 @section Release 1.21.0
178 @env{$REDO_INODE_NO_TRUST} is replaced with @env{$REDO_INODE_TRUST}
179 environment variable, that takes either @code{none}, or @code{ctime}
180 (the default one), or @code{mtime} (new one). Check documentation's
181 separate page about that option.
184 @anchor{Release 1_20_0}
185 @section Release 1.20.0
188 Print warning message if both ifcreate and ifchange records were
189 discovered after the target is done.
192 @anchor{Release 1_19_0}
193 @section Release 1.19.0
196 Skip target itself, when searching for corresponding @file{.do}
197 file. For example @file{default.do} must use @file{../default.do}
201 @anchor{Release 1_18_0}
202 @section Release 1.18.0
205 Fix regression of known OODs passing since 1.3.0, that leads to
206 rebuilding of already built targets.
209 @anchor{Release 1_17_0}
210 @section Release 1.17.0
213 If @command{redo*} process is killed, then it sends @code{SIGTERM}
214 to all his children too, properly terminating the whole job queue.
217 @anchor{Release 1_16_0}
218 @section Release 1.16.0
221 Unexistent targets are considered always out-of-date, as it should be.
223 Do not panic if @env{$REDO_LOGS=1} and we were unable to start the command.
226 @anchor{Release 1_15_0}
227 @section Release 1.15.0
230 Explicitly check if @code{$1} target is touched and then fail.
231 Previously we check if @code{$1} was only altered.
234 @anchor{Release 1_14_0}
235 @section Release 1.14.0
238 Fixed @command{redo-ifcreate}'s targets proper relative paths to the target.
241 @anchor{Release 1_13_0}
242 @section Release 1.13.0
245 Use @file{.log-rec} extension, instead of @file{.log.rec}, that
246 won't collide with already existing @file{.log} and @file{.rec} in
247 @file{.redo} directory.
250 @anchor{Release 1_12_0}
251 @section Release 1.12.0
254 Fix possible lack of success finish message printing if any of
258 @anchor{Release 1_11_0}
259 @section Release 1.11.0
262 Fix nasty bug with incorrect @file{.redo/tgt.rec} files renaming.
265 @anchor{Release 1_10_0}
266 @section Release 1.10.0
269 @command{redo-cleanup} now also cleans @file{.redo/tgt.log.rec} files.
271 Recursive logs do not require @file{.redo/tgt.rec} existence anymore.
274 @anchor{Release 1_9_0}
275 @section Release 1.9.0
278 Do not enable command line options not applicable to the command.
279 For example @option{-j} option is only applicable to @command{redo}
280 and @command{redo-ifchange} commands.
283 @item @option{-dry-run} option is renamed to @option{-n}
284 @item @option{-logs} option is renamed to @option{-k}
285 @item @option{-silent} option is renamed to @option{-s}
288 When @code{stderr} logs are kept, all environment variables, working
289 directory, command line arguments, start/finish times, duration,
290 participated PIDs, return codes are saved in corresponding
291 @file{.redo/tgt.log.rec} file. Some of them can be viewed with
292 @option{-c} option to @command{redo-log}.
294 @command{redo-log}'s @option{-r} option allows recursive, indented
295 viewing of the whole redo commands invocations for the given target
299 @anchor{Release 1_8_0}
300 @section Release 1.8.0
303 Fixed possibly wrong relative path record of the dependency, when
304 redo commands are run in different directory from the @file{.do}.
306 Fixed possible failing in @command{redo-sources} if no @file{.dep}
310 @anchor{Release 1_7_0}
311 @section Release 1.7.0
314 Optional compatibility (through @env{$REDO_MAKE=@{bmake|gmake@}})
315 with either NetBSD's bmake or GNU Make jobserver protocols, being
316 able to tightly integrate @command{goredo} with the @command{make}.
319 @anchor{Release 1_6_0}
320 @section Release 1.6.0
323 @command{redo-affects} command appeared, that shows all targets that
324 will be affected by changing the specified ones.
327 @anchor{Release 1_5_0}
328 @section Release 1.5.0
331 @command{redo-ood}, @command{redo-sources} and
332 @command{redo-targets} can optionally take list of targets to apply
333 the command on, to narrow the result.
335 @command{redo-sources} mistakenly missed @file{.do} files in the output.
337 @command{redo-sources} now recursively searches for all source
338 files, not the "first" depth level ones.
341 @anchor{Release 1_4_1}
342 @section Release 1.4.1
345 Even more simpler statusline cleaning function.
348 @anchor{Release 1_4_0}
349 @section Release 1.4.0
352 Fixed proper @option{-xx} and @env{$REDO_TRACE} workability, that
353 previously was not applied to all targets.
355 Simpler statusline cleaning function, does not leading to whitespace
356 junk after long lines.
358 Updated dependant libraries.
361 @anchor{Release 1_3_0}
362 @section Release 1.3.0
365 Experimental @command{redo-sources}, @command{redo-targets} and
366 @command{redo-ood} commands.
368 Repetitive OOD determination optimization: pass all already known to
369 be OOD targets to redoing targets.
372 @anchor{Release 1_2_0}
373 @section Release 1.2.0
376 Dependency files @file{.dep} extension changed to @file{.rec}, to
377 reflect its recfile format nature and editors file type better
380 Reduce number of file descriptors kept open (1 instead of 4) while
381 waiting for job slot token.
384 @anchor{Release 1_1_0}
385 @section Release 1.1.0
388 @command{redo-cleanup} has @option{-dry-run} option.
391 @anchor{Release 1_0_0}
392 @section Release 1.0.0
395 @code{Size} is stored in the state, for faster OOD detection.
396 Previous @command{goredo} state files won't work.
398 Setting of @env{$REDO_INODE_NO_TRUST} environment variable brings no
399 trust to file inode's information (except for its size), forcing its
402 @command{redo-whichdo} resembles @code{apenwarr/redo}'s one behaviour more.
405 @anchor{Release 0_12_3}
406 @section Release 0.12.3
409 Use an updated @code{lukechampine.com/blake3} with possibly working
413 @anchor{Release 0_12_2}
414 @section Release 0.12.2
417 Try to fix failing @code{lukechampine.com/blake3} on arm64 macOS.
419 Fixed tests permissions in the tarball.
422 @anchor{Release 0_12_1}
423 @section Release 0.12.1
426 Tarball uses @file{vendor} directory without @env{$GOPATH}
427 overriding. @command{goredo} and its dependencies anyway uses Go
428 1.12+ versions, that have @file{vendor}-ing support.
431 @anchor{Release 0_12_0}
432 @section Release 0.12.0
435 Do not forget to save even output-less target as a dependency.
437 @option{-debug} option renamed to shorter @option{-d}.
440 @anchor{Release 0_11_0}
441 @section Release 0.11.0
444 Previously @env{$REDO_JOBS} overrided even explicitly specified
445 @option{-j} option. Fix that behaviour -- command line options must
446 precede environment variables.
447 @item @url{https://github.com/BLAKE3-team/BLAKE3, BLAKE3} replaces
448 BLAKE2b hashing algorithm for even better performance.
451 @anchor{Release 0_10_0}
452 @section Release 0.10.0
454 @item Initial tarballed release.