[csw-devel] SF.net SVN: gar:[13930] csw/mgar/gar/v2/doc

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Wed Mar 23 10:02:22 CET 2011


Revision: 13930
          http://gar.svn.sourceforge.net/gar/?rev=13930&view=rev
Author:   wahwah
Date:     2011-03-23 09:02:21 +0000 (Wed, 23 Mar 2011)

Log Message:
-----------
docs: Diagram with connections.

Signed-off-by: Maciej Blizinski <maciej at opencsw.org>

Added Paths:
-----------
    csw/mgar/gar/v2/doc/Makefile
    csw/mgar/gar/v2/doc/connections.dot

Added: csw/mgar/gar/v2/doc/Makefile
===================================================================
--- csw/mgar/gar/v2/doc/Makefile	                        (rev 0)
+++ csw/mgar/gar/v2/doc/Makefile	2011-03-23 09:02:21 UTC (rev 13930)
@@ -0,0 +1,6 @@
+all: diagrams
+
+diagrams: connections.png
+
+%.png: %.dot
+	dot -Tpng -o $@ $<

Added: csw/mgar/gar/v2/doc/connections.dot
===================================================================
--- csw/mgar/gar/v2/doc/connections.dot	                        (rev 0)
+++ csw/mgar/gar/v2/doc/connections.dot	2011-03-23 09:02:21 UTC (rev 13930)
@@ -0,0 +1,53 @@
+// This diagram shows connections between different components on the
+// buildfarm.
+
+digraph connections {
+	subgraph cluster0 {
+		catalog_generator [label="catalog generator"];
+		catalog_notifier [label="catalog notifier"];
+		catalog_notifier -> mirror [label="HTTP (catalog file)"];
+		mirror [label="master mirror\nhttp://mirror.opencsw.org/opencsw-future/"];
+		catalog_generator -> web_app [label="HTTP / REST"];
+		catalog_generator -> mirror [label="writes files"];
+		{
+			rank = same;
+			web_app [label="pkgdb public web app\nhttp://buildfarm.opencsw.org/pkgdb/rest/"];
+			releases_web_app [label="pkgdb releases internal web app\nhttp://buildfarm.opencsw.org/releases/"];
+		}
+		pickled_files [label="pickles"];
+		catalog_notifier -> pickled_files;
+		label = "web zone";
+	}
+
+	subgraph cluster1 {
+		database [label="'checkpkg' database"];
+		label = "mysql zone";
+	}
+
+	subgraph cluster2 {
+		checkpkg_ini [label="/etc/opt/csw/checkpkg.ini",shape=rectangle];
+		csw_upload_pkg [label="csw-upload-pkg"];
+		pkgdb [label="pkgdb cli utility"];
+		checkpkg;
+		maintainer [shape=circle];
+		maintainer -> csw_upload_pkg;
+		maintainer -> pkgdb;
+		maintainer -> checkpkg;
+		label = "unstable{9,10}{s,x}";
+	}
+	mail_server [label="mail server"];
+	mail_server -> maintainer;
+	cron [shape=circle];
+	cron -> catalog_generator;
+	cron -> catalog_notifier;
+
+	catalog_notifier -> mail_server [label="SMTP"];
+	checkpkg -> checkpkg_ini;
+	pkgdb -> checkpkg_ini;
+	web_app -> database [label="mysql"];
+	releases_web_app -> database [label="mysql"];
+	checkpkg -> database [label="mysql"];
+	pkgdb -> database [label="mysql"];
+	csw_upload_pkg -> releases_web_app [label="HTTP / REST"];
+	csw_upload_pkg -> web_app [label="HTTP / REST"];
+}


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list