Changes between Version 2 and Version 3 of VisualizingDjangoChangesetDependencies
- Timestamp:
- May 8, 2007, 12:00:46 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
VisualizingDjangoChangesetDependencies
v2 v3 9 9 Given the fact that in {{{darcs}}} patches (changesets, patchsets) are first class citizens, it is easier to track and visualize the dependencies among them by using it together with some related '''![3]'''tools and '''![4]'''{{{GraphViz}}}. 10 10 11 If we add a couple of ad-hoc scripts and some tips from the experience gained to the mix we can get something like this: 11 If we add a couple of ad-hoc scripts and some tips from the experience gained to the mix we can get something like this (partial output): 12 13 {{{ 14 #!html 15 <p style="text-align: center;"> 16 <img src="http://rmorales.net/media/django-deps/django-deps-r5165-partial.png" alt="django deps r5165, partial, PNG format" /> 17 </p> 18 }}} 12 19 13 20 == Scripts == … … 84 91 We filter that otput first through our two custom filtering scripts (see above) to change some graph node attributes, and then through {{{unflatten(1)}}} (part of {{{Graphviz}}}) to enhance the layout of the graphic representation. 85 92 86 And finally we feed the result to {{{dot(1)}}} (also part of {{{Graphviz}}}) to get our final output. In the case 87 of some output methods (PDF [via Postscript] and server/client side image maps) we'll be able to click on the nodes and get our Web browser to go to the Django Trac page associated with the changeset at hand. 93 And finally we feed the result to {{{dot(1)}}} (also part of {{{Graphviz}}}) to get our final output. For some output methods (PDF [via Postscript] and server/client side image maps) we'll be able to click on the nodes and get our Web browser to go to the Django Trac page associated with the changeset at hand. 88 94 89 For the PDF output we use {{{poster(1)}}} in the intermediate Postcript output to crate a legible non-cropped multi-page output.95 For the PDF output we use {{{poster(1)}}} on the intermediate Postcript output to create a legible non-cropped multi-page output. 90 96 91 97 == Example output == … … 93 99 Status as of [5165] (May 8 2007 3:43 UTC): 94 100 101 Files hosted eslsewhere while the Trac guys solve the [http://trac.edgewall.org/ticket/4087 bug] that keeps us from attaching binary files to the Wiki and tickets: 102 103 * PNG output: [http://rmorales.net/media/django-deps/django-deps-r5165.png django-deps-r5165.png] 104 * PDF output: [http://rmorales.net/media/django-deps/django-deps-r5165.pdf django-deps-r5165.pdf] 95 105 96 106 == References ==