Return-Path: Delivered-To: apmail-gump-commits-archive@www.apache.org Received: (qmail 73477 invoked from network); 10 Mar 2005 23:26:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 10 Mar 2005 23:26:13 -0000 Received: (qmail 24293 invoked by uid 500); 10 Mar 2005 23:26:12 -0000 Mailing-List: contact commits-help@gump.apache.org; run by ezmlm Precedence: bulk Reply-To: commits@gump.apache.org List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list commits@gump.apache.org Received: (qmail 24279 invoked by uid 99); 10 Mar 2005 23:26:12 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 10 Mar 2005 15:26:11 -0800 Received: (qmail 73378 invoked by uid 65534); 10 Mar 2005 23:26:08 -0000 Message-ID: <20050310232608.73377.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Mailer: svnmailer-1.0.0-dev Date: Thu, 10 Mar 2005 23:26:08 -0000 Subject: svn commit: r157013 - gump/branches/Gump3/pygump/python/gump/model/__init__.py To: commits@gump.apache.org From: leosimons@apache.org X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Author: leosimons Date: Thu Mar 10 15:26:07 2005 New Revision: 157013 URL: http://svn.apache.org/viewcvs?view=3Drev&rev=3D157013 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/m= odel/__init__.py?view=3Ddiff&r1=3D157012&r2=3D157013 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- 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 =3D "copy-outputs" DEPENDENCY_INHERIT_JARS =3D DEPENDENCY_INHERIT_COPY_OUTPUTS =20 +# 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 potential= ly +# 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 l= ittle +# bigger than what we have now. Hmm. class Dependency(ModelObject): """Model a dependency. =20