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

2005-06-27 Thread Leo Simons
On 24-06-2005 15:25, Stefan Bodewig [EMAIL PROTECTED] wrote:
 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.

FWIW, the algorithm I have in my head (come to apachecon! We can talk about
it! :-)) would mean that a migrated project would be *-ed, ie built and
linked against but considered to have an error, and that the corresponding
module would be considered failed, and that the failure cause for the
project would point to the module.

The following e-mails would be sent:
 - to the module owner about the problem (every day)
 - to the project owner about the problem if it doesn't go (after n
   days...in the event module owner and project owner are the same
   its just one e-mail listing two problems)
 - to the gump list in a summary e-mail (every day) that lists the problems
   with causes, the owners of the affected modules, and the duration in that
   state

Basically, we make modules (and repositories and other parts of the object
model) first-class citizens in the gump world, and support notification
about them just as well or just as bad as for projects.

Cheers!

Leo



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



Re: gump.zones.apache.org

2005-06-27 Thread Leo Simons
On 24-06-2005 17:43, Adam  Jack [EMAIL PROTECTED] wrote:
 Somebody (not me) seems to have most/all of a test Gump install on our
 solaris zone. Thanks!!!

That was me :-). Please take over :-)

 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

There aren't any by default. I modified /etc/init.d/apache into
/etc/init.d/apache2 and changed /etc/rc*.d to start/stop/etc apache2
automatically. i.e.:

-rwxr--r--   6 root sys 1649 Jan  8 08:25 ./init.d/apache
-rwxr--r--   1 root sys 1655 Jun 27 10:05 ./init.d/apache2
-rwxr--r--   6 root sys 1649 Jan  8 08:25 ./rc0.d/K16apache
lrwxrwxrwx   1 root root  17 Jun 27 10:08 ./rc0.d/K16apache2 -
../init.d/apache2
-rwxr--r--   6 root sys 1649 Jan  8 08:25 ./rc1.d/K16apache
lrwxrwxrwx   1 root root  17 Jun 27 10:08 ./rc1.d/K16apache2 -
../init.d/apache2
-rwxr--r--   6 root sys 1649 Jan  8 08:25 ./rc2.d/K16apache
lrwxrwxrwx   1 root root  17 Jun 27 10:08 ./rc2.d/K16apache2 -
../init.d/apache2
-rwxr--r--   6 root sys 1649 Jan  8 08:25 ./rc3.d/K16apache
lrwxrwxrwx   1 root root  17 Jun 27 10:08 ./rc3.d/S50apache2 -
../init.d/apache2
-rwxr--r--   6 root sys 1649 Jan  8 08:25 ./rcS.d/K16apache
lrwxrwxrwx   1 root root  17 Jun 27 10:09 ./rcS.d/K16apache2 -
../init.d/apache2


Cheers,


LSD



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



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

2005-06-27 Thread gump
Dear Gumpmeisters,

The following 4 notifys should have been sent

*** G U M P
[EMAIL PROTECTED]: Project nant (in module nant) failed
[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
*** 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 62 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 2327062005, vmgump.apache.org:vmgump-public:2327062005
Gump E-mail Identifier (unique within run) #1.

*** G U M P
[EMAIL PROTECTED]: Project txt2html-task (in module jakarta-servletapi-5) 
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]

Project txt2html-task contains errors.
The current state of this project is 'Success'.

Full details are available at:

http://vmgump.apache.org/gump/public/jakarta-servletapi-5/txt2html-task/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [ant] identifier set to project name
 -INFO- Made directory 
[/usr/local/gump/public/workspace/jakarta-servletapi-5/jsr152/build/ant]
 -INFO- No license on redistributable project with outputs.
 -ERROR- Failed to publish 
[/usr/local/gump/public/workspace/jakarta-servletapi-5/jsr152/build/ant] to 
repository : [Errno 21] Is a directory



The following work was performed:
http://vmgump.apache.org/gump/public/jakarta-servletapi-5/txt2html-task/gump_work/build_jakarta-servletapi-5_txt2html-task.html
Work Name: build_jakarta-servletapi-5_txt2html-task (Type: Build)
Work ended in a state of : Success
Elapsed: 3 secs
Command Line: java -Djava.awt.headless=true 
-Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar
 org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml 
-Dbuild.sysclasspath=only ant 
[Working Directory: 
/usr/local/gump/public/workspace/jakarta-servletapi-5/jsr152]
CLASSPATH: 

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

2005-06-27 Thread gump
Dear Gumpmeisters,

The following 4 notifys should have been sent

*** G U M P
[EMAIL PROTECTED]: Project nant (in module nant) failed
[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
*** 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 62 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 2327062005, vmgump.apache.org:vmgump-public:2327062005
Gump E-mail Identifier (unique within run) #1.

*** G U M P
[EMAIL PROTECTED]: Project txt2html-task (in module jakarta-servletapi-5) 
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]

Project txt2html-task contains errors.
The current state of this project is 'Success'.

Full details are available at:

http://vmgump.apache.org/gump/public/jakarta-servletapi-5/txt2html-task/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Sole output [ant] identifier set to project name
 -INFO- Made directory 
[/usr/local/gump/public/workspace/jakarta-servletapi-5/jsr152/build/ant]
 -INFO- No license on redistributable project with outputs.
 -ERROR- Failed to publish 
[/usr/local/gump/public/workspace/jakarta-servletapi-5/jsr152/build/ant] to 
repository : [Errno 21] Is a directory



The following work was performed:
http://vmgump.apache.org/gump/public/jakarta-servletapi-5/txt2html-task/gump_work/build_jakarta-servletapi-5_txt2html-task.html
Work Name: build_jakarta-servletapi-5_txt2html-task (Type: Build)
Work ended in a state of : Success
Elapsed: 3 secs
Command Line: java -Djava.awt.headless=true 
-Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/java/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar
 org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml 
-Dbuild.sysclasspath=only ant 
[Working Directory: 
/usr/local/gump/public/workspace/jakarta-servletapi-5/jsr152]
CLASSPATH: 

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

2005-06-27 Thread Stefan Bodewig
On Mon, 27 Jun 2005, Leo Simons [EMAIL PROTECTED] wrote:

 FWIW, the algorithm I have in my head (come to apachecon! We can
 talk about it! :-))

I'll be there - and at the hackathon.  Plenty of time to discuss it.

 would mean that a migrated project would be *-ed, ie built and
 linked against but considered to have an error, and that the
 corresponding module would be considered failed, and that the
 failure cause for the project would point to the module.

Sounds fine.

 The following e-mails would be sent:
  - to the module owner about the problem (every day)

only works if the module owner is able to change the module defintion
in Gump's metadata.

 Basically, we make modules (and repositories and other parts of
 the object model) first-class citizens in the gump world, and
 support notification about them just as well or just as bad as for
 projects.

+1

Stefan

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



Patch to requestobject.c for mod_python to allow setting of r-mtime

2005-06-27 Thread Leo Simons
Hi Gregory,

Over at Apache Gump we're building a little mod_python-based webapp (not
sure yet if we're going to be using it, but its fun, mod_python is real
cool!). I wrote a little patch (took a lot of time to write though, I'm
not a C guy) that allows setting mtime which results in a Last-Modified
header, which is nice for caches!

The patch is at

https://svn.apache.org/repos/asf/gump/branches/Gump3/webgump/lib/mod_python.modify-mtime.txt

it would be great if it could be integrated (probably modified for bad
C-isms I wouldn't have a clue about) into mod_python trunk.

I'm e-mailing you directly because I refuse to subscribe to yet another
mailing list. Please forward this to the mod_python mailing list :-))


cheers,


Leo Simons

PS: any reason the mod_python lists are not hosted @ apache?

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



Gump3 and IRC

2005-06-27 Thread Adam Jack
I've been tinkering with an IRC plug-in for Gump3 that allows it to interact
with an IRC channel.

Given how long our runs are, it seems reasonable that we'd like to interact
with them in real-time. Theoretically Gump3 could (one day) become a
long-lived IRC bot that took requests/instructions (i.e. build this, re-load
this metadata, etc.) but I think this is a good first tinker. We'll see what
we think of this, and if it proves useful.

To configure this plugin simply type:

bash gump run [EMAIL PROTECTED]/#asfgump

to have the nickname gump3 connect to channel #asfgump.

BTW: --debug will make it more verbose.

Right now this is experimental. It takes commands (replying to the
requesting user) and
gives output on start-up/shutdown and all module/project
process/skip/failure. The commands it processes are:

1) version -- what version are you?
2) help -- tell me how to talk to you.
3) disconnect -- go away.
4) die -- really really go away. [We'll see if we have issues w/ this or
not.]
5) ... ok, we need some real ones next. e.g. querying the run order, eta of
X, status of X, enable/disable debug, etc. etc.

The plugin uses:

http://sourceforge.net/projects/irclib/

Which (despite documentation lackings) is functional enough, it seems 
lighter weight than some of the others I've looked at. That said, I'm game
to switch should we find a better candidate.

There are a few issues w/ the current implementation:

1) If the gump run is short (a few seconds long) the IRCbot doesn't get
chance to log in.
2) The shutdown doesn't appear clean (it exists the IRC channel, but not
stating done.) For me (on win32) the thread.join seems to exit prematurely,
so I've hacked in a nasty sleep. I'll test this on other OSes.
3) Sometimes a run simply fails to connect (for no obvious reason.) Maybe
this is due to some spambot avoidance at irc.freenode.net, who knows.

Let me know your thoughts on this.

regards

Adam


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



Re: Gump3 and IRC

2005-06-27 Thread Leo Simons
Adam Jack wrote:
 I've been tinkering with an IRC plug-in for Gump3 that allows it to interact
 with an IRC channel.

Whoah! Cool! Is this up and working on any of our servers atm? Can we
fix up a cronjob somewhere to enable this?

(...)
 Let me know your thoughts on this.

I like.

Have only looked at the code real briefly. Looks nice. One thing I
noticed...

# What is the request?
+if cmd == 'version':
+c.notice(peer_nick,'%s:%s' % (GUMPBOT_NAME, GUMPBOT_VERSION))
+elif cmd =='help':
+c.notice(peer_nick,'help,disconnect,die,stats,dcc,version')
+elif cmd == disconnect:
+self.disconnect()
+elif cmd == die:
+self.die()
+elif cmd == stats:

...doesn't scale if we want to do a whole lot of this (which I'm not too
sure of). The next step up would be some kind of a table, probably...

# pseudocode which probably won't compile
CMDS = {'version': handle_version_cmd,
'help': handle_help_cmd
# ...
   }
# ...
  self.peer_nick = nm_to_n(e.source())
  if CMDS.has_key(cmd):
command_function = CMDS.get(cmd)
command_function(bot=self)
  else:
self.connection.notice(self.peer_nick, Not understood:  + cmd)

If we don't want to flexibilize, it's great to see how little code we
need to make this work. Maybe we could have even less code on the
push-messages side of things by having logging configured to go to a
channel in some way...no idea if functionality exists for that. But
that's basically design-ahead-of-need, for now this is nice.

The other top-of-head idea is that its nice to have a persistent bot,
e.g. one that we can actually tell to fire up a gump run (or stop one,
or list active ones). That would probably require an out-of-process
server and some kind of remote procedure calls??

(...)

The final obvious thought is it will take time to figure out the
interactions and/or notifications that we would want on IRC, but it
would be nice to note how to do it and how easy it is to add commands.

cheers  gnight/morning,

LSD

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



Re: Gump3 and IRC

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

Adam Jack wrote:

I've been tinkering with an IRC plug-in for Gump3 that allows it to interact
with an IRC channel.


Whoah! Cool! Is this up and working on any of our servers atm? Can we
fix up a cronjob somewhere to enable this?


I'm not able to get my SSH tunnel to work right now (since the upgrade 
perhaps?), so mail access will be hampered. I'm on IRC if you want me through. 
;-) If VmGump were up we ought be able to add [EMAIL PROTECTED]/#asfgump to 
there.

regards,

Adam

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



Re: gump.zones.apache.org

2005-06-27 Thread Bill Barker
Is it possible to put GNU 'make' in front of the Solaris 'make' on the path? 
If I really have to support Solaris make, I guess I'll have to.  However, 
I'd rather not :).

Example project:  commons-daemon-native.

Adam Jack [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 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]