On Jan 24, 2011, at 10:40 PM, Daniel Pittman wrote:
> On Mon, Jan 24, 2011 at 02:39, Trevor Vaughan <[email protected]> wrote:
>
>> I'd like to see dot output but only if it was simple and human readable.
>
> Well, the current output format for a couple of cycles is this:
>
> err: Could not apply complete catalog: Found 2 dependency cycles:
> (Notify[a] => Notify[b] => Notify[c] => Notify[a])
> (Notify[mp1-1] => Notify[multipath] => Notify[mp1] => Notify[mp1-1])
> (Notify[mp1-1] => Notify[multipath] => Notify[mp2] => Notify[mp2-2] =>
> Notify[multipath])
> Try the '--graph' option and opening the '.dot' file in OmniGraffle or
> GraphViz
>
> In view of that, do you think it is worth doing the extra work to emit
> DOT format data natively?
> It would be almost-but-not-quite the same as the current data,
> allowing a trivial injection:
>
> { "Notify[a]" -> "Notify[b]" -> "Notify[c]" -> "Notify[a]" }
>
> I can do that, but I don't strongly feel it is needed with the above output.
>
> Notably, the current version of the code will emit a reasonable but
> not exhaustive set of paths, so pretty much all the value of the dot
> stuff would be to draw up exactly what you can read out anyway.
>
> So, still interested?
I guess my question is, who will normally be encountering this problem, and how
do we expect them to solve it?
My guess is that people who most commonly encounter this problem need an
insanely simple solution, and, um, telling them how easy it is to convert the
existing output into dot isn't it. :)
Don't get me wrong -- your code is great and is shippable either way. But if
you feel like going that extra mile...
--
A lot of people mistake a short memory for a clear conscience.
-- Doug Larson
---------------------------------------------------------------------
Luke Kanies -|- http://puppetlabs.com -|- +1(615)594-8199
--
You received this message because you are subscribed to the Google Groups
"Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-dev?hl=en.