supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* "redo" behavior in subdirectory
@ 2019-01-25 19:49 Patrick Mahoney
  0 siblings, 0 replies; only message in thread
From: Patrick Mahoney @ 2019-01-25 19:49 UTC (permalink / raw)
  To: supervision

I'm comparing two implementations of "redo":

First, jdebp/redo 1.4 [1]
Second, apenwarr/redo 0.41 [2]

[1] http://jdebp.eu/Softwares/redo/
[2] https://github.com/apenwarr/redo

Given a project "toplevel" with a subdirectory "subdir" where one's current dir is "toplevel":

In jdebp implementation, running "redo subdir/target" invokes target.do with working dir "toplevel"
In jdebp implementation, running "cd subdir && redo target" creates a new .redo database in subdir

In apenwarr implementation, running "redo subdir/target" invokes target.do with working dir "toplevel/subdir"
In apenwarr implementation, running "cd subdir && redo target" reuses "toplevel/.redo" (assuming it already exists)

The apenwarr implementation seems more useful for constructing a build system
for a project with many nested subprojects, but I may be missing something (I
don't have much experience with any redo implementation). Anyone have comments
on this, or example nested subprojects using "redo"?

-- 
Patrick


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-01-25 19:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-25 19:49 "redo" behavior in subdirectory Patrick Mahoney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).