From 305789536aa8419643ba9d329db827dfc1c2626d Mon Sep 17 00:00:00 2001 From: Jeremiah Foster Date: Fri, 29 May 2009 17:11:48 +0300 Subject: [PATCH] Updating web page. --- maemian | 24 ++++++++++++++++-------- www/index.html | 9 +++++++-- 2 files changed, 23 insertions(+), 10 deletions(-) diff --git a/maemian b/maemian index 376c890..c622f4f 100755 --- a/maemian +++ b/maemian @@ -44,11 +44,19 @@ use strict; use warnings; use Getopt::Long; use Carp; - -unshift @INC, "/home/jeremiah/maemian/lib"; -require Maemian::Output; -my $lintout = new Maemian::Output; - +use lib qw(lib/); +use Maemian::Output; + +# --- Output settings. +my $out = new Maemian::Output; +# --- If this is set to true, then you only get msgs +$out->quiet(0); +$out->msg("Notice on"); +# --- If this is set to true, then you will get verbose messages. +$out->verbose(1); +$out->v_msg("Verbose on"); + +$out->color("auto"); # --- Command line options my $inputfile; # --- A file passed to maemian GetOptions ("inputfile|i=s" => \$inputfile); @@ -73,12 +81,12 @@ sub file_tests { print "W: Maintainer email address ($maintainer) might be the same as upstream.\n"; } else { - print "N: $maintainer\n"; + $out->msg("$maintainer"); } if (grep /BEGIN PGP SIGNED MESSAGE/, @lines) { - print "N: $filename is signed\n"; + $out->v_msg("$filename is signed"); } - # print "\n$dirs\n$filename\n"; + $out->debug_msg(3, "\n$dirs\n$filename\n"); } else { croak "File not readable: $!\n"; diff --git a/www/index.html b/www/index.html index 0829f8b..8099477 100644 --- a/www/index.html +++ b/www/index.html @@ -5,11 +5,16 @@ - + + + +

Hello and welcome to Maemian, the policy checker for Maemo.

You can browse the repo here git repo
If you want to check out the code and hack on it, you can clone the repository this way:
-git clone https://git.maemo.org/projects/maemian +git clone https://git.maemo.org/projects/maemian

You can read the summary of the project on the gforge on garage.

Maemian is designed to be a tool to check policy in maemo packages like lintian does for debian packages. The overall aim is to increase quality in maemo applications. There is a -- 1.7.9.5