Re: Apache Gump now uses pylid

2005-06-24 Thread Aldo Cortesi
Thus spake Leo Simons ([EMAIL PROTECTED]):

 I found
 
   http://www.nullcube.com/software/pylid.html
 
 while looking for a usable code coverage tool and test
 runner. It's much better than what we (Gump [1]) had (we
 used testrunner.py from Zope which is a real ugly script
 which I made uglier to have it run our tests).

Cool - glad you find pylid useful! 

 I changed it a little bit to support multiple basedir
 arguments since we have several source trees to aggregate.
 Patch attached. Feel free to reuse under the BSD license
 or the Apache License v2.0, or not, whatever.

Yes, multiple base directories does seem to be a useful
feature. I've had a look at your patch for this, and I think
it would be better to pass the -b option multiple times to
indicate multiple base directories, rather than pass a
colon-delimited list of directories. This keeps the
mechanism general (i.e. the rare cases where you may have a
directory-name containing a colon), and it fits in better
with the way pylid currently handles exclusion directories
(passing -e multiple times). 

 We may be adding some more features or modding the code a
 little to work in our environment. If you feel like it you
 could follow that progress at
 
   http://svn.apache.org/repos/asf/gump/branches/Gump3/bin/pylid-0.3/

I'll keep an eye on this.

 Also, it isn't generating the coverage stats properly just
 yet, but I'm sure I'll figure that out.

If you find any cases where pylid fails to work correctly,
I'd be very interested in knowing about them. A minimal case
should be added to the unit tests to reproduce the problem,
and then we should fix it 

 If I do mod stuff I'll be happy to provide patches to
 integrate upstream but I couldn't find any info on a
 version control repo so...

I'd be more than happy to fold back improvements that are
not too specific to your project back into Pylid - please
keep me up to date if it isn't too much trouble. At the
moment the version control for pylid is internal to
Nullcube, but if there is enough activity I'd be happy to
make a CVS or subversion repository publically available. 

Thanks for letting me know about using pylid!



Cheers,




Aldo





-- 
Aldo Cortesi
[EMAIL PROTECTED]
http://www.nullcube.com
Off: (02) 9283 1131
Mob: 0419 492 863

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: BATCH: All dressed up, with nowhere to go...

2005-06-24 Thread Stefan Bodewig

 Does anyone ever do anything with the content of these messages?

Yes, I look for module failures and even worse for module success but
with warnings.  The later usually means stuff has been moved in svn,
we are now unable to check it out, but Gump doesn't consider it a
failure.

Stefan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Dependencies update for jakarta commons-logging

2005-06-24 Thread Stefan Bodewig
On Fri, 24 Jun 2005, Simon Kitching [EMAIL PROTECTED] wrote:

 commons-logging now depends on both:
  * logging-log4j 1.2.x  as ${log4j12.jar}, and
  * logging-log4j 1.3 (currently at alpha-6) as ${log4j13.jar}

easy to fix since Gump builds both branches.  I'll take care of it.

Stefan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Dependencies update for jakarta commons-logging

2005-06-24 Thread Stefan Bodewig
On Fri, 24 Jun 2005, Simon Kitching [EMAIL PROTECTED] wrote:

 By the way, the jars generated by the ant build.xml file also now
 have a version number in them,

yes, but Gump can (and will) override it using the component.version
property.

Stefan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



BATCH: All dressed up, with nowhere to go...

2005-06-24 Thread gump
Dear Gumpmeisters,

The following 7 notifys should have been sent

*** G U M P
[EMAIL PROTECTED]: Module castor success, but with warnings.
[EMAIL PROTECTED]: Project nant (in module nant) failed
[EMAIL PROTECTED]: Module jaxen success, but with warnings.
[EMAIL PROTECTED]: Project txt2html-task (in module jakarta-servletapi-5) 
success, but with warnings.
[EMAIL PROTECTED]: Project httpunit (in module httpunit) failed
[EMAIL PROTECTED]: Project derby-split-2 (in module db-derby) failed
[EMAIL PROTECTED]: Project jaxen (in module jaxen) failed
*** G U M P
[EMAIL PROTECTED]: Module castor success, but with warnings.
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Module castor contains errors.
The current state of this module is 'Success'.

Full details are available at:
http://vmgump.apache.org/gump/public/castor/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -ERROR- *** Failed to update from source control. Stale contents ***



The following work was performed:
http://vmgump.apache.org/gump/public/castor/gump_work/update_castor.html
Work Name: update_castor (Type: Update)
Work ended in a state of : Failed
Elapsed: 8 secs
Command Line: cvs -q -z3 -d :pserver:[EMAIL PROTECTED]:/scm/castor update -P -d 
-A 
[Working Directory: /usr/local/gump/public/workspace/cvs/castor]
-
cvs server: failed to create lock directory for `/scm/castor/castor/lib/tests' 
(/home/projects/castor/haus.d/lock/cvs/castor/lib/tests/#cvs.lock): Permission 
denied
cvs server: failed to obtain dir lock in repository 
`/scm/castor/castor/lib/tests'
cvs [server aborted]: read lock failed - giving up
-

To subscribe to this information via syndicated feeds:
- RSS: http://vmgump.apache.org/gump/public/castor/rss.xml
- Atom: http://vmgump.apache.org/gump/public/castor/atom.xml

== Gump Tracking Only ===
Produced by Gump version 2.2.
Gump Run 2624062005, vmgump.apache.org:vmgump-public:2624062005
Gump E-mail Identifier (unique within run) #1.

*** G U M P
[EMAIL PROTECTED]: Project nant (in module nant) failed
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project nant has an issue affecting its community integration.
This issue affects 1 projects,
 and has been outstanding for 50 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- nant :  NAnt is a free .NET build tool. In theory it is kind of like...


Full details are available at:
http://vmgump.apache.org/gump/public/nant/nant/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -INFO- Failed with reason build failed



The following work was performed:
http://vmgump.apache.org/gump/public/nant/nant/gump_work/build_nant_nant.html
Work Name: build_nant_nant (Type: Build)
Work ended in a state of : Failed
Elapsed: 2 secs
Command Line: make 
[Working Directory: /usr/local/gump/public/workspace/nant]
-
mkdir -p bootstrap
cp -R lib/ bootstrap/lib
# Mono loads log4net before privatebinpath is set-up, so we need this in the 
same directory
# as NAnt.exe
cp lib/log4net.dll bootstrap
cp src/NAnt.Console/App.config bootstrap/NAnt.exe.config
mcs -target:exe -define:MONO -out:bootstrap/NAnt.exe -r:bootstrap/log4net.dll \
-recurse:src/NAnt.Console/*.cs src/CommonAssemblyInfo.cs
Compilation succeeded
resgen  src/NAnt.Core/Resources/Strings.resx 
bootstrap/NAnt.Core.Resources.Strings.resources
make: resgen: Command not found
make: *** [bootstrap/NAnt.Core.dll] Error 127
-

To subscribe to this information via syndicated feeds:
- RSS: http://vmgump.apache.org/gump/public/nant/nant/rss.xml
- Atom: http://vmgump.apache.org/gump/public/nant/nant/atom.xml

== Gump Tracking Only ===
Produced by Gump version 2.2.
Gump Run 2624062005, vmgump.apache.org:vmgump-public:2624062005
Gump E-mail Identifier (unique within run) #2.

*** G U M P
[EMAIL PROTECTED]: Module jaxen success, but with warnings.
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more 

BATCH: All dressed up, with nowhere to go...

2005-06-24 Thread gump
Dear Gumpmeisters,

The following 7 notifys should have been sent

*** G U M P
[EMAIL PROTECTED]: Module castor success, but with warnings.
[EMAIL PROTECTED]: Project nant (in module nant) failed
[EMAIL PROTECTED]: Module jaxen success, but with warnings.
[EMAIL PROTECTED]: Project txt2html-task (in module jakarta-servletapi-5) 
success, but with warnings.
[EMAIL PROTECTED]: Project httpunit (in module httpunit) failed
[EMAIL PROTECTED]: Project derby-split-2 (in module db-derby) failed
[EMAIL PROTECTED]: Project jaxen (in module jaxen) failed
*** G U M P
[EMAIL PROTECTED]: Module castor success, but with warnings.
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Module castor contains errors.
The current state of this module is 'Success'.

Full details are available at:
http://vmgump.apache.org/gump/public/castor/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -ERROR- *** Failed to update from source control. Stale contents ***



The following work was performed:
http://vmgump.apache.org/gump/public/castor/gump_work/update_castor.html
Work Name: update_castor (Type: Update)
Work ended in a state of : Failed
Elapsed: 8 secs
Command Line: cvs -q -z3 -d :pserver:[EMAIL PROTECTED]:/scm/castor update -P -d 
-A 
[Working Directory: /usr/local/gump/public/workspace/cvs/castor]
-
cvs server: failed to create lock directory for `/scm/castor/castor/lib/tests' 
(/home/projects/castor/haus.d/lock/cvs/castor/lib/tests/#cvs.lock): Permission 
denied
cvs server: failed to obtain dir lock in repository 
`/scm/castor/castor/lib/tests'
cvs [server aborted]: read lock failed - giving up
-

To subscribe to this information via syndicated feeds:
- RSS: http://vmgump.apache.org/gump/public/castor/rss.xml
- Atom: http://vmgump.apache.org/gump/public/castor/atom.xml

== Gump Tracking Only ===
Produced by Gump version 2.2.
Gump Run 2624062005, vmgump.apache.org:vmgump-public:2624062005
Gump E-mail Identifier (unique within run) #1.

*** G U M P
[EMAIL PROTECTED]: Project nant (in module nant) failed
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project nant has an issue affecting its community integration.
This issue affects 1 projects,
 and has been outstanding for 50 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- nant :  NAnt is a free .NET build tool. In theory it is kind of like...


Full details are available at:
http://vmgump.apache.org/gump/public/nant/nant/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -INFO- Failed with reason build failed



The following work was performed:
http://vmgump.apache.org/gump/public/nant/nant/gump_work/build_nant_nant.html
Work Name: build_nant_nant (Type: Build)
Work ended in a state of : Failed
Elapsed: 2 secs
Command Line: make 
[Working Directory: /usr/local/gump/public/workspace/nant]
-
mkdir -p bootstrap
cp -R lib/ bootstrap/lib
# Mono loads log4net before privatebinpath is set-up, so we need this in the 
same directory
# as NAnt.exe
cp lib/log4net.dll bootstrap
cp src/NAnt.Console/App.config bootstrap/NAnt.exe.config
mcs -target:exe -define:MONO -out:bootstrap/NAnt.exe -r:bootstrap/log4net.dll \
-recurse:src/NAnt.Console/*.cs src/CommonAssemblyInfo.cs
Compilation succeeded
resgen  src/NAnt.Core/Resources/Strings.resx 
bootstrap/NAnt.Core.Resources.Strings.resources
make: resgen: Command not found
make: *** [bootstrap/NAnt.Core.dll] Error 127
-

To subscribe to this information via syndicated feeds:
- RSS: http://vmgump.apache.org/gump/public/nant/nant/rss.xml
- Atom: http://vmgump.apache.org/gump/public/nant/nant/atom.xml

== Gump Tracking Only ===
Produced by Gump version 2.2.
Gump Run 2624062005, vmgump.apache.org:vmgump-public:2624062005
Gump E-mail Identifier (unique within run) #2.

*** G U M P
[EMAIL PROTECTED]: Module jaxen success, but with warnings.
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more 

Re: Dependencies update for jakarta commons-logging

2005-06-24 Thread Simon Kitching
On Fri, 2005-06-24 at 08:43 +0200, Stefan Bodewig wrote:
 On Fri, 24 Jun 2005, Simon Kitching [EMAIL PROTECTED] wrote:
 
  commons-logging now depends on both:
   * logging-log4j 1.2.x  as ${log4j12.jar}, and
   * logging-log4j 1.3 (currently at alpha-6) as ${log4j13.jar}
 
 easy to fix since Gump builds both branches.  I'll take care of it.

Thanks.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: BATCH: All dressed up, with nowhere to go...

2005-06-24 Thread Adam R. B. Jack



  Does anyone ever do anything with the content of these messages?

 Yes, I look for module failures and even worse for module success but
 with warnings.  The later usually means stuff has been moved in svn,
 we are now unable to check it out, but Gump doesn't consider it a
 failure.


Want this to go away now that SF.net have their CVS act together  we are
doing a lot of SVN migrations? As I know you'll recall, this was due to cvs
updates from SF.net working/failing/working/failing ... and with junit at
that repository a failure was causing huge parts of the tree not to be
built.

If currently says if I have a copy and an update fails I'll simple warn it
is stale not set it as failed. Want this to be fail is fail -- or
configurable on the module/repository?

regards,

Adam


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: BATCH: All dressed up, with nowhere to go...

2005-06-24 Thread Stefan Bodewig
On Fri, 24 Jun 2005, Adam R. B. Jack [EMAIL PROTECTED] wrote:

 Yes, I look for module failures and even worse for module success
 but with warnings.  The later usually means stuff has been moved
 in svn, we are now unable to check it out, but Gump doesn't
 consider it a failure.
 
 Want this to go away now that SF.net have their CVS act together 
 we are doing a lot of SVN migrations?

No, it doesn't go away.

Velocity tools recently moved from /jakarta/velocity-tools/trunk to
/jakarta/velocity/tools/trunk and dvsl did the same.  Velocity itself
went from /jakarta/velocity/trunk to /jakarta/velocity/core/trunk.

Now that people have the option of moving stuff around in SVN, they
will start to do so ;-)

 Want this to be fail is fail -- or configurable on the
 module/repository?

Yes, please.

Stefan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: svn commit: r201624 - in /gump/trunk/python/gump/core/update: cvs.py p4.py svn.py

2005-06-24 Thread Stefan Bodewig
On Fri, 24 Jun 2005, [EMAIL PROTECTED] wrote:

 SCM update failure a module failure (even if we have a stale copy.)

Cool thanks.

The commit itself made me itch to spend more time on Python, the exact
same code-change in three different files.

Well, there are at least four proprietary MS technologies to tackle
before that, I'm afraid.

Stefan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: svn commit: r201624 - in /gump/trunk/python/gump/core/update: cvs.py p4.py svn.py

2005-06-24 Thread Adam R. B. Jack

 The commit itself made me itch to spend more time on Python, the exact
 same code-change in three different files.

Yeah, bad copy-n-paste on my part (ok, 1 of the 2 copies). The more I look
at Gump2 these days, the more I feel I need to spend time on Gump3  see if
I can do Python right these days.

regards

Adam


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



gump.zones.apache.org

2005-06-24 Thread Adam Jack
Folks,

Somebody (not me) seems to have most/all of a test Gump install on our
solaris zone. Thanks!!!

I simply (after some poking around) had to re-create /var/run/apache2 and
start the HTTPD, and we get these pages.

I've just kicked off a test run.

http://gump.zones.apache.org/gump/test/buildLog.html

and we are already getting out update failures. ;-)

http://gump.zones.apache.org/gump/test/jakarta-velocity/index.html

BTW: Having read this, I still need to figure out how to get the RC scripts
for HTTPD installed. Pointers appreciated.

http://www.apache.org/dev/solaris-zones.html

regards,

Adam


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[jira] Created: (GUMP-140) Gump crashes when listing

2005-06-24 Thread Adam Jack (JIRA)
Gump crashes when listing 
--

 Key: GUMP-140
 URL: http://issues.apache.org/jira/browse/GUMP-140
 Project: Gump
Type: Bug
  Components: Python-based Gump  
Versions: Gump2-2.3
 Environment: Solaris (likely all)
Reporter: Adam Jack
 Assigned to: Adam Jack 


A symlink pointed to a missing file. Gump was trying to 'list' this.

Traceback (most recent call last):
  File bin/integrate.py, line 113, in ?
irun()
  File bin/integrate.py, line 90, in irun
result = getRunner(run).perform()
  File /export/home/gump/test/gump/python/gump/core/runner/runner.py, line 25
3, in perform
return self.performRun()
  File /export/home/gump/test/gump/python/gump/core/runner/demand.py, line 19
9, in performRun
self.performBuild(project)
  File /export/home/gump/test/gump/python/gump/core/runner/demand.py, line 13
0, in performBuild
self.run.generateEvent(project)
  File /export/home/gump/test/gump/python/gump/core/run/gumprun.py, line 202,
 in generateEvent
self._dispatchEvent(EntityRunEvent(self, entity))
  File /export/home/gump/test/gump/python/gump/core/run/gumprun.py, line 185,
 in _dispatchEvent
actor._processEvent(event)
  File /export/home/gump/test/gump/python/gump/core/run/actor.py, line 82, in
 _processEvent
self.processEvent(event)
  File /export/home/gump/test/gump/python/gump/core/run/actor.py, line 124, i
n processEvent
self._processProject(entity)
  File /export/home/gump/test/gump/python/gump/core/run/actor.py, line 171, i
n _processProject
self.processProject(project)
  File /export/home/gump/test/gump/python/gump/actor/document/xdocs/documenter
.py, line 87, in processProject
self.documentProject(project,True)
  File /export/home/gump/test/gump/python/gump/actor/document/xdocs/documenter
.py, line 1801, in documentProject
self.documentFileList(document,project,'Project-level Files')
  File /export/home/gump/test/gump/python/gump/actor/document/xdocs/documenter
.py, line 2547, in documentFileList
self.documentFile(fileReference)
  File /export/home/gump/test/gump/python/gump/actor/document/xdocs/documenter
.py, line 2591, in documentFile
listingRow.createData(str(os.path.getsize(filePath)))

  File /usr/sfw/lib/python2.3/posixpath.py, line 142, in getsize
return os.stat(filename).st_size
OSError: [Errno 2] No such file or directory: '/export/home/gump/test/packages/
java-runtime-1.3/LICENSE'
Process Exit Code : 1


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]