smokeserv - Pugs Smoke Reports Server
smokeserv-client.pl is a Perl 5 program which submits smokes as generated by the smoke-* make targets (smoke, smoke-perl5, smoke-js) to a public smokeserver.
smokeserv-client.pl
smoke-*
smoke
smoke-perl5
smoke-js
smokeserv-server.pl is the smokeserver which accepts the smokes submitted by smokeserv-client.pl.
smokeserv-server.pl
Using the client is easy. In the first place, you have to generate a smoke.html. You can achieve this by running make:
smoke.html
make
$ make smoke # or $ make smoke-js # or $ make smoke-perl5 # or $ make smoke-pir
Then you can upload the resulting smoke:
$ ./tools/util/smokeserv-client.pl ./smoke.html
You don't need to be careful to only submit a smoke only once, etc. -- the smokeserver takes care of this.
Setting up a server is easy, too, all you have to do is to install several CPAN modules (CGI, CGI::Carp, Fcntl, Storable, HTML::Template, Algorithm::TokenBucket, Time::Piece, Time::Seconds, Compress::Zlib, and Compress::Bzip2) and change the constants at the top of smokeserv-server.pl.
CGI
CGI::Carp
Fcntl
Storable
HTML::Template
Algorithm::TokenBucket
Time::Piece
Time::Seconds
Compress::Zlib
Compress::Bzip2
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlgpl and perlartistic for details.
To install Ruby, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Ruby
CPAN shell
perl -MCPAN -e shell install Ruby
For more information on module installation, please visit the detailed CPAN module installation guide.