Bump version and update Changes
[gruntmaster-data.git] / gruntmaster-opener
CommitLineData
a832cd59
MG
1#!/usr/bin/perl
2use 5.014;
3use warnings;
4
5use Gruntmaster::Data;
6use Gruntmaster::Opener;
7
8dbinit $ENV{GRUNTMASTER_DSN} // 'dbi:Pg:';
9handle_line $_ while <>;
10
11__END__
12
13=encoding utf-8
14
15=head1 NAME
16
17gruntmaster-opener - Populate opens table from NCSA access logs
18
19=head1 SYNOPSIS
20
21 gruntmaster-opener /var/log/apache2/access.log
22 varnishncsa | gruntmaster-opener
23
24=head1 DESCRIPTION
25
26gruntmaster-opener reads a NCSA access log supplied via arguments or
27(if there are no arguments) stdin, finds lines that represent
28successful requests to problems during contests, extracts data from
29them and inserts it into the database.
30
31=head1 SEE ALSO
32
33L<Gruntmaster::Opener>
34
35=head1 AUTHOR
36
37Marius Gavrilescu E<lt>marius@ieval.roE<gt>
38
39=head1 COPYRIGHT AND LICENSE
40
b35cbc0d 41Copyright (C) 2014-2016 by Marius Gavrilescu
a832cd59
MG
42
43This library is free software; you can redistribute it and/or modify
e1b9f3dd 44it under the same terms as Perl itself, either Perl version 5.20.1 or,
a832cd59
MG
45at your option, any later version of Perl 5 you may have available.
46
47
48=cut
This page took 0.011726 seconds and 4 git commands to generate.