changeset 10:75e651ddd631

okay, now i am actually speccing
author Jeff Hammel <jhammel@mozilla.com>
date Sat, 20 Apr 2013 14:50:48 -0700
parents 3e614fdfad39
children 28133fa9e0ac
files README.txt examples/README.txt examples/github.ini
diffstat 3 files changed, 20 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/README.txt
+++ b/README.txt
@@ -1,21 +1,24 @@
 IntentMadeManifest
 ==================
 
 /python workflow engine via directed graph/
 
 As risen from the stillborn ashes:
 http://k0s.org/mozilla/hg/MozbaseWorkflow/
-[TODO: ^port]
+[TODO: port ^that^ -> this document]
 
 
 Intents
 -------
 
+"Software [...] is communication"
+-- David "Whit" whitfield Morris
+
 /What is a directed graph?/
 
 Several systems take the form of a directed graph:
 
 - dependencies
 - workflow
 
 IntentMadeManifest *utilizes* directed graphs. A framework is provided
@@ -44,16 +47,17 @@ Potential Uses
 
 * hybrid:  of course, since IRL
   `workflow = DAG; dependencies = DAG => ...` ,
   Since a `transition` is causal but necessarily with the `t`
   of spacetime, indeed from the above: `workflow == dependency processing`.
   You can do some crazy things:
   - actions: a class with method dependencies noted by decorators
     (see actions.py)
+  - control workflow via .ini files (see `examples/github.ini`)
 
 Meta:
 - A Formal Definition of Data Flow Graph Models
   http://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber=1676696&contentType=Journals+%26+Magazines
 
 
 Links
 -----
new file mode 100644
--- /dev/null
+++ b/examples/README.txt
@@ -0,0 +1,2 @@
+This directory contains files which support examples of how
+IntentMadeManifest may be applied
new file mode 100644
--- /dev/null
+++ b/examples/github.ini
@@ -0,0 +1,13 @@
+[:state:]
+# global state for whole workflow
+directory = .
+master = http://github.com/mozautomation/mozmill
+origin = http://github.com/k0s/mozmill
+
+[uninitialized -> clean]
+transition = git clone %(master)s 
+             git fetch %(master)s
+
+[clean -> feature]
+transition = git branch bug-%(bug)s
+             git checkout bug-%(bug)s
\ No newline at end of file