public inbox for goredo-devel@lists.cypherpunks.ru
Atom feed
* Re: arguments for redo-targets and redo-sources?
@ 2021-06-21 16:32 Karolis K
  2021-06-22  7:56 ` Sergey Matveev
  0 siblings, 1 reply; 4+ messages in thread
From: Karolis K @ 2021-06-21 16:32 UTC (permalink / raw)
  To: goredo-devel

Hello and wow - thank you for such a prompt response!

I like the implementation of redo-source, but I expected something a bit different for redo-targets.
And on the second thought, maybe it was my misunderstanding …

I imagined (for some reason) that redo-targets would be the opposite of redo-sources. i.e.:

`redo-sources file`- lists all the files that, if changed, could potentially affect the file
`redo-targets file` - lists all the files that could potentially be affected by the change in the file

I now see that maybe I misunderstood things. But I imagine a command listing all the files that have some target as a source would be useful nonetheless.
Maybe there is a better way to do this currently, which I am naively not aware of?

Warm regards,
Karolis K.

^ permalink raw reply	[flat|nested] 4+ messages in thread
* arguments for redo-targets and redo-sources?
@ 2021-06-20  9:38 Karolis K
  2021-06-21 13:47 ` Sergey Matveev
  0 siblings, 1 reply; 4+ messages in thread
From: Karolis K @ 2021-06-20  9:38 UTC (permalink / raw)
  To: goredo-devel

Hello,

I have one suggestion/request/opinion about redo-targets and redo-sources.

It would be nice if those scripts would accept a filename(s) argument and then list targets/sources only related to the provided filename(s).
This would allow to quickly check the targets and sources for a particular artefact.
In my use case it would enable me to check which dependencies I might break by changing a particular .do script.

Note that this was also on the roadmap of apenwarr's redo implementation:
https://redo.readthedocs.io/en/latest/Roadmap/#redo-sourcestargetsood-should-take-a-list-of-targets

Warm regards,
Karolis K.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-06-22  7:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-21 16:32 arguments for redo-targets and redo-sources? Karolis K
2021-06-22  7:56 ` Sergey Matveev
  -- strict thread matches above, loose matches on Subject: below --
2021-06-20  9:38 Karolis K
2021-06-21 13:47 ` Sergey Matveev