gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nicola...@apache.org
Subject cvs commit: jakarta-gump/python/gump check.py
Date Mon, 05 May 2003 21:11:11 GMT
nicolaken    2003/05/05 14:11:11

  Modified:    python/gump check.py
  Log:
  Check is now telling users something more about the projects
  that are missing and that have to be installed.
  
  Revision  Changes    Path
  1.6       +21 -5     jakarta-gump/python/gump/check.py
  
  Index: check.py
  ===================================================================
  RCS file: /home/cvs/jakarta-gump/python/gump/check.py,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- check.py	5 May 2003 10:42:56 -0000	1.5
  +++ check.py	5 May 2003 21:11:11 -0000	1.6
  @@ -107,14 +107,30 @@
     return 0
     
   def peekInGlobalProfile(missing):
  -
  +   
     workspace=load(default.globalws)
     
     for missed in missing:
  -    print "  " + missed
  -    if(missed in Project.list):
  -      print "found: " , missed
  -  
  +    print  
  +    print      
  +    print "  **** Project: " + missed
  +    print
  +    if missed in Project.list:
  +      currentproject = Project.list[missed]
  +      currentmodule = Module.list[currentproject.module]
  +      
  +      print "   Get " + missed + " here:" 
  +      print "   -url: " , currentmodule.url
  +      print "   -cvs: " , currentmodule.cvs
  +      print "   -description: " , currentmodule.description
  +      if currentmodule.redistributable:
  +        print  
  +        print "   NOTE: You can also get it in the Gump jar repository." 
  +        
  +    else:
  +      print "   Gump doesn't know about it. Or it's wrong, or you have to "
  +      print "   install the artifacts of " + missed +" manually."
  +            
   
   # static void main()
   if __name__=='__main__':
  
  
  

Mime
View raw message