gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leosim...@apache.org
Subject cvs commit: jakarta-gump/python build.py gumpcore.py
Date Thu, 24 Apr 2003 23:20:24 GMT
leosimons    2003/04/24 16:20:24

  Modified:    python   build.py gumpcore.py
  Log:
  some docs. No other changes
  
  Revision  Changes    Path
  1.5       +10 -2     jakarta-gump/python/build.py
  
  Index: build.py
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/python/build.py,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- build.py	24 Apr 2003 22:57:54 -0000	1.4
  +++ build.py	24 Apr 2003 23:20:24 -0000	1.5
  @@ -1,7 +1,13 @@
   #!/usr/bin/python
   """
  -        Look for obsolete installed packages, cvs checkouts, and build
  -        directories.
  +        This is the entrypoint into gump. It at the moment basically
  +        calls gumpcore.load() to get the workspace, then dumps
  +        information about what it should be doing to stdout.
  +
  +        The main thing to do here is to clone dumpDeps to create a
  +        build() method which executes the appropriate script
  +        (probably only ant at the moment; would be nice to have)
  +        support for maven) for each of the dependencies.        
   """
   
   import os.path,os,sys
  @@ -90,6 +96,8 @@
     else:
       ps=default.project    
   
  +  # get parsed workspace definition
     workspace=load(ws)
  +  # print info on the definition
     dumpDeps(workspace, ps);          
     sys.exit(0)
  
  
  
  1.5       +11 -1     jakarta-gump/python/gumpcore.py
  
  Index: gumpcore.py
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/python/gumpcore.py,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- gumpcore.py	24 Apr 2003 22:51:19 -0000	1.4
  +++ gumpcore.py	24 Apr 2003 23:20:24 -0000	1.5
  @@ -1,6 +1,16 @@
   #!/usr/bin/python
   """
  -	Gump core model
  +	Gump core functionality. It contains a sax dispatcher tool, a dependency
  +	walker, and an object model which is built from an xmlfile using
  +	the sax dispatcher.
  +
  +    The idea is that a subclass of GumpBase is used for each of the various
  +    xml tags which can appear in a gump profile, with a saxdispatcher
  +    generating a tree of GumpBase objects from the profile, dynamically
  +    merging as it finds href references.
  +
  +    You can then use the dependencies() method to get an ordered, flat vector
  +    of the projects in the profile.
   """
   
   import os.path, os, time, urllib, urlparse, shutil, string, os.path
  
  
  

Mime
View raw message