gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leosim...@apache.org
Subject svn commit: r157013 - gump/branches/Gump3/pygump/python/gump/model/__init__.py
Date Thu, 10 Mar 2005 23:26:08 GMT
Author: leosimons
Date: Thu Mar 10 15:26:07 2005
New Revision: 157013

URL: http://svn.apache.org/viewcvs?view=rev&rev=157013
Log:
Some thoughts about dependency modelling

Modified:
    gump/branches/Gump3/pygump/python/gump/model/__init__.py

Modified: gump/branches/Gump3/pygump/python/gump/model/__init__.py
URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/pygump/python/gump/model/__init__.py?view=diff&r1=157012&r2=157013
==============================================================================
--- gump/branches/Gump3/pygump/python/gump/model/__init__.py (original)
+++ gump/branches/Gump3/pygump/python/gump/model/__init__.py Thu Mar 10 15:26:07 2005
@@ -321,6 +321,16 @@
 DEPENDENCY_INHERIT_COPY_OUTPUTS  = "copy-outputs"
 DEPENDENCY_INHERIT_JARS          = DEPENDENCY_INHERIT_COPY_OUTPUTS
 
+# TODO currently the model is one project has many dependencies which may be
+# further specified by output id, meaning a project can have multiple
+# dependencies with a different id but on the same project. This potentially
+# leads to a big performance hit on the graphing code and the like. Maybe it
+# is a better idea to have multiple (optional,runtime,inherit,id) pairs
+# associated with a (dependency,dependee) pair. Might rename "dependency" to
+# "relationship" and call "(optional,runtime,inherit,id)" the "dependency".
+#
+# That would mean a mismatch between object model and xml model that's a little
+# bigger than what we have now. Hmm.
 class Dependency(ModelObject):
     """Model a dependency.
     



Mime
View raw message