Changes between Version 2 and Version 3 of VisualizingDjangoChangesetDependencies


Ignore:
Timestamp:
May 8, 2007, 12:00:46 AM (18 years ago)
Author:
Ramiro Morales < >
Comment:

Link to externally hosted binary files

Legend:

Unmodified
Added
Removed
Modified
  • VisualizingDjangoChangesetDependencies

    v2 v3  
    99Given 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}}}.
    1010
    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:
     11If 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}}}
    1219
    1320== Scripts ==
     
    8491We 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.
    8592
    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.
     93And 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.
    8894
    89 For the PDF output we use {{{poster(1)}}} in the intermediate Postcript output to crate a legible non-cropped multi-page output.
     95For the PDF output we use {{{poster(1)}}} on the intermediate Postcript output to create a legible non-cropped multi-page output.
    9096
    9197== Example output ==
     
    9399Status as of [5165] (May 8 2007 3:43 UTC):
    94100
     101Files 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]
    95105
    96106== References ==
Back to Top