You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gump.apache.org by bo...@apache.org on 2009/02/11 05:52:08 UTC

svn commit: r743223 - in /gump/trunk: python/gump/commands/ python/gump/core/runner/ python/gump/test/ python/gump/test/resources/full1/ python/misc/ src/documentation/content/xdocs/

Author: bodewig
Date: Wed Feb 11 04:52:05 2009
New Revision: 743223

URL: http://svn.apache.org/viewvc?rev=743223&view=rev
Log:
fix eol-style

Modified:
    gump/trunk/python/gump/commands/__init__.py
    gump/trunk/python/gump/commands/build.py
    gump/trunk/python/gump/core/runner/__init__.py
    gump/trunk/python/gump/test/resources/full1/module6.xml   (contents, props changed)
    gump/trunk/python/gump/test/resources/full1/module7.xml   (contents, props changed)
    gump/trunk/python/gump/test/testExample.py
    gump/trunk/python/misc/pgrp.py   (contents, props changed)
    gump/trunk/src/documentation/content/xdocs/bylaws.xml
    gump/trunk/src/documentation/content/xdocs/mail.xml

Modified: gump/trunk/python/gump/commands/__init__.py
URL: http://svn.apache.org/viewvc/gump/trunk/python/gump/commands/__init__.py?rev=743223&r1=743222&r2=743223&view=diff
==============================================================================
--- gump/trunk/python/gump/commands/__init__.py (original)
+++ gump/trunk/python/gump/commands/__init__.py Wed Feb 11 04:52:05 2009
@@ -22,4 +22,4 @@
 
 # tell Python what modules make up this package
 # NOTE: this is used by the command line processing routines so keep it up to date!
-__all__ = ["env","build","check"]
\ No newline at end of file
+__all__ = ["env","build","check"]

Modified: gump/trunk/python/gump/commands/build.py
URL: http://svn.apache.org/viewvc/gump/trunk/python/gump/commands/build.py?rev=743223&r1=743222&r2=743223&view=diff
==============================================================================
--- gump/trunk/python/gump/commands/build.py (original)
+++ gump/trunk/python/gump/commands/build.py Wed Feb 11 04:52:05 2009
@@ -52,4 +52,4 @@
         
     # Perform this integration run...
     return getRunner(run).perform()
-    
\ No newline at end of file
+    

Modified: gump/trunk/python/gump/core/runner/__init__.py
URL: http://svn.apache.org/viewvc/gump/trunk/python/gump/core/runner/__init__.py?rev=743223&r1=743222&r2=743223&view=diff
==============================================================================
--- gump/trunk/python/gump/core/runner/__init__.py (original)
+++ gump/trunk/python/gump/core/runner/__init__.py Wed Feb 11 04:52:05 2009
@@ -26,4 +26,4 @@
 behaviour like multithreading and/or which actors are run.
 
 Which runner to use is determined using the gump.runner.getRunner() method.
-"""
\ No newline at end of file
+"""

Modified: gump/trunk/python/gump/test/resources/full1/module6.xml
URL: http://svn.apache.org/viewvc/gump/trunk/python/gump/test/resources/full1/module6.xml?rev=743223&r1=743222&r2=743223&view=diff
==============================================================================
--- gump/trunk/python/gump/test/resources/full1/module6.xml (original)
+++ gump/trunk/python/gump/test/resources/full1/module6.xml Wed Feb 11 04:52:05 2009
@@ -1,27 +1,27 @@
-<module name="module6">
-
-  <url  href="http://gump.apache.org/"/>
-  <description>
-    Module #6
-  </description>
-
-  <cvs repository="repository1"/>
-
-  <project name="project6">
-    <package>org.apache.project6</package>
-
-    <depend project="project7"><noclasspath/></depend>
-    <depend project="alias1"><noclasspath/></depend>
-
-    <home nested="dist"/>
-    <work nested="classes" />
-
-    <jar name="lib/output.jar" id="output"/>
-
-    <license name="LICENSE"/>
-
-    <nag from="Gump Integration Build &lt;general@gump.apache.org&gt;"
-         to="general@gump.apache.org"/>
-  </project>
-</module>
-
+<module name="module6">
+
+  <url  href="http://gump.apache.org/"/>
+  <description>
+    Module #6
+  </description>
+
+  <cvs repository="repository1"/>
+
+  <project name="project6">
+    <package>org.apache.project6</package>
+
+    <depend project="project7"><noclasspath/></depend>
+    <depend project="alias1"><noclasspath/></depend>
+
+    <home nested="dist"/>
+    <work nested="classes" />
+
+    <jar name="lib/output.jar" id="output"/>
+
+    <license name="LICENSE"/>
+
+    <nag from="Gump Integration Build &lt;general@gump.apache.org&gt;"
+         to="general@gump.apache.org"/>
+  </project>
+</module>
+

Propchange: gump/trunk/python/gump/test/resources/full1/module6.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: gump/trunk/python/gump/test/resources/full1/module7.xml
URL: http://svn.apache.org/viewvc/gump/trunk/python/gump/test/resources/full1/module7.xml?rev=743223&r1=743222&r2=743223&view=diff
==============================================================================
--- gump/trunk/python/gump/test/resources/full1/module7.xml (original)
+++ gump/trunk/python/gump/test/resources/full1/module7.xml Wed Feb 11 04:52:05 2009
@@ -1,27 +1,27 @@
-<module name="module7">
-
-  <url  href="http://gump.apache.org/"/>
-  <description>
-    Module #7
-  </description>
-
-  <cvs repository="repository1"/>
-
-  <project name="project7">
-    <package>org.apache.project7</package>
-
-    <depend project="project6"><noclasspath/></depend>
-    <depend project="alias1"><noclasspath/></depend>
-
-    <home nested="dist"/>
-    <work nested="classes" />
-
-    <jar name="lib/output.jar" id="output"/>
-
-    <license name="LICENSE"/>
-
-    <nag from="Gump Integration Build &lt;general@gump.apache.org&gt;"
-         to="general@gump.apache.org"/>
-  </project>
-</module>
-
+<module name="module7">
+
+  <url  href="http://gump.apache.org/"/>
+  <description>
+    Module #7
+  </description>
+
+  <cvs repository="repository1"/>
+
+  <project name="project7">
+    <package>org.apache.project7</package>
+
+    <depend project="project6"><noclasspath/></depend>
+    <depend project="alias1"><noclasspath/></depend>
+
+    <home nested="dist"/>
+    <work nested="classes" />
+
+    <jar name="lib/output.jar" id="output"/>
+
+    <license name="LICENSE"/>
+
+    <nag from="Gump Integration Build &lt;general@gump.apache.org&gt;"
+         to="general@gump.apache.org"/>
+  </project>
+</module>
+

Propchange: gump/trunk/python/gump/test/resources/full1/module7.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: gump/trunk/python/gump/test/testExample.py
URL: http://svn.apache.org/viewvc/gump/trunk/python/gump/test/testExample.py?rev=743223&r1=743222&r2=743223&view=diff
==============================================================================
--- gump/trunk/python/gump/test/testExample.py (original)
+++ gump/trunk/python/gump/test/testExample.py Wed Feb 11 04:52:05 2009
@@ -51,4 +51,4 @@
 
 # this allows us to run this test by itself from the commandline
 if __name__ == '__main__':
-    unittest.main()
\ No newline at end of file
+    unittest.main()

Modified: gump/trunk/python/misc/pgrp.py
URL: http://svn.apache.org/viewvc/gump/trunk/python/misc/pgrp.py?rev=743223&r1=743222&r2=743223&view=diff
==============================================================================
--- gump/trunk/python/misc/pgrp.py (original)
+++ gump/trunk/python/misc/pgrp.py Wed Feb 11 04:52:05 2009
@@ -1,69 +1,69 @@
-
-import os
-import sys
-import time
-import logging
-import signal
-
-def shutdownProcessAndProcessGroup(pid):
-    """
-    Kill this group (i.e. instigator and all child processes).
-    """
-    print 'Kill process group (anything launched by PID' + str(pid) + ')'  
-    try:
-        pgrpID=os.getpgid(pid)
-        if -1 != pgrpID:
-            print 'Kill process group : (' + str(pgrpID) + ')'  
-            os.killpg(pgrpID,signal.SIGHUP)
-        else:
-            print 'No such PID' + str(pid) + '.'
-    except Exception, details:
-        print 'Failed to dispatch signal ' + str(details)
-       
-def hup(sig,stack):
-    print "HUP : %s:%s" % ( os.getpgrp(), os.getpid() )
-    sys.exit(1)
-    
-if __name__=='__main__':
-    forkPID = os.fork();
-            
-    # Child gets PID = 0
-    if 0 == forkPID:
-        
-        # Become a process group leader
-        os.setpgrp()
-        
-        signal.signal( signal.SIGHUP, hup )
-        
-        # First Grandchild get's 0
-        forkPID = os.fork()
-        
-        if 0 == forkPID:            
-            os.fork()
-            os.fork()
-            os.fork()
-            os.system('sleep 100000')
-        else:
-            os.waitpid(forkPID,0)            
-                        
-        print 'Child Exit : %s' % os.getpid()
-    
-    # Parent gets real PID
-    else:
-        # Timeout support
-        timer = None
-        timeout = 10
-        if timeout:
-            import threading
-            timer = threading.Timer(timeout, shutdownProcessAndProcessGroup, [forkPID])
-            timer.start()
-            
-        # Run the command
-        waitcode = os.waitpid(forkPID,0)
-                
-        print 'Wait Code : %s : %s ' % ( waitcode, timer )
-        
-        # Stop timer (if still running)
-        if timer and timer.isAlive(): timer.cancel()  
-                        
-    print 'Exit : %s:%s' % ( os.getpgrp(), os.getpid() )
\ No newline at end of file
+
+import os
+import sys
+import time
+import logging
+import signal
+
+def shutdownProcessAndProcessGroup(pid):
+    """
+    Kill this group (i.e. instigator and all child processes).
+    """
+    print 'Kill process group (anything launched by PID' + str(pid) + ')'  
+    try:
+        pgrpID=os.getpgid(pid)
+        if -1 != pgrpID:
+            print 'Kill process group : (' + str(pgrpID) + ')'  
+            os.killpg(pgrpID,signal.SIGHUP)
+        else:
+            print 'No such PID' + str(pid) + '.'
+    except Exception, details:
+        print 'Failed to dispatch signal ' + str(details)
+       
+def hup(sig,stack):
+    print "HUP : %s:%s" % ( os.getpgrp(), os.getpid() )
+    sys.exit(1)
+    
+if __name__=='__main__':
+    forkPID = os.fork();
+            
+    # Child gets PID = 0
+    if 0 == forkPID:
+        
+        # Become a process group leader
+        os.setpgrp()
+        
+        signal.signal( signal.SIGHUP, hup )
+        
+        # First Grandchild get's 0
+        forkPID = os.fork()
+        
+        if 0 == forkPID:            
+            os.fork()
+            os.fork()
+            os.fork()
+            os.system('sleep 100000')
+        else:
+            os.waitpid(forkPID,0)            
+                        
+        print 'Child Exit : %s' % os.getpid()
+    
+    # Parent gets real PID
+    else:
+        # Timeout support
+        timer = None
+        timeout = 10
+        if timeout:
+            import threading
+            timer = threading.Timer(timeout, shutdownProcessAndProcessGroup, [forkPID])
+            timer.start()
+            
+        # Run the command
+        waitcode = os.waitpid(forkPID,0)
+                
+        print 'Wait Code : %s : %s ' % ( waitcode, timer )
+        
+        # Stop timer (if still running)
+        if timer and timer.isAlive(): timer.cancel()  
+                        
+    print 'Exit : %s:%s' % ( os.getpgrp(), os.getpid() )

Propchange: gump/trunk/python/misc/pgrp.py
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: gump/trunk/src/documentation/content/xdocs/bylaws.xml
URL: http://svn.apache.org/viewvc/gump/trunk/src/documentation/content/xdocs/bylaws.xml?rev=743223&r1=743222&r2=743223&view=diff
==============================================================================
--- gump/trunk/src/documentation/content/xdocs/bylaws.xml (original)
+++ gump/trunk/src/documentation/content/xdocs/bylaws.xml Wed Feb 11 04:52:05 2009
@@ -378,4 +378,4 @@
       </section>
     </section>
   </body>
-</document>
\ No newline at end of file
+</document>

Modified: gump/trunk/src/documentation/content/xdocs/mail.xml
URL: http://svn.apache.org/viewvc/gump/trunk/src/documentation/content/xdocs/mail.xml?rev=743223&r1=743222&r2=743223&view=diff
==============================================================================
--- gump/trunk/src/documentation/content/xdocs/mail.xml (original)
+++ gump/trunk/src/documentation/content/xdocs/mail.xml Wed Feb 11 04:52:05 2009
@@ -71,4 +71,4 @@
       </section>
     </section>
   </body>
-</document>
\ No newline at end of file
+</document>