diff --git a/README.md b/README.md index d7d3f65..0b47e55 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Note that this app consists of a single PSGI script, a template file and Bootstr In order to use this app you will need perl 5 and the following perl modules installed: Plack -LWP::Simple +LWP::UserAgent JSON Text::Template diff --git a/spb_copr_status.psgi b/spb_copr_status.psgi index 53166dd..5199f5a 100644 --- a/spb_copr_status.psgi +++ b/spb_copr_status.psgi @@ -59,19 +59,27 @@ sub info2html { my $table_entries=""; foreach my $key (%{$info}) { next if(ref($key) eq 'HASH'); - my $fill_row; - if($info->{$key}->{'v4_version'} eq $info->{$key}->{'v5_version'} && $info->{$key}->{'v4_version'} eq $info->{$key}->{git_version}) { - $fill_row = "success"; + my $fill_v4_row; + my $fill_v5_row; + if($info->{$key}->{'v4_version'} eq $info->{$key}->{git_version}) { + $fill_v4_row = "success"; } else { - $fill_row = "danger"; + $fill_v4_row = "danger"; } - $table_entries .= "
This app fetches data from softwarepublico Copr EPEL7 repositories and compares package versions. In short, red rows mean package versions differ among the repositories and/or git (note that this is NOT necessarily a bad thing).
+This app fetches data from softwarepublico Copr EPEL7 repositories and compares package versions. In short, a red cell means that the package version differ from the git one (note that this is NOT necessarily a bad thing).
PACKAGE | +git | softwarepublico/v4 | softwarepublico/v5 | -git |
---|