[Bps-public-commit] RT-Extension-SLA branch, performance-stats, repushed

Alex Vandiver alexmv at bestpractical.com
Mon Jun 16 20:58:14 EDT 2014


The branch performance-stats was deleted and repushed:
       was 843ec8ab39770e3d0905adb329502748d5b5b35b
       now febab40de51e0f2468943001d14d672f5240cbac

 1:  2e7e0eb =  1:  e91485d fist pass on a reporting
 2:  7f1f29c =  2:  e1ee748 another pass on reporting
 3:  2d62d17 !  3:  d649911 another round, close to something testable
    @@ -17,9 +17,9 @@
     +RT 3.8.1 then you have to uninstall that manually. List of files
     +you can find in the MANIFEST.
     +
    - =head1 INSTALL
    - 
    - =over 4
    + =head1 INSTALLATION
    + 
    + =over
     @@
      controlled in the RT's config using option C<%RT::ServiceAgreements>
      and C<%RT::ServiceBusinessHours>. For example:
    @@ -268,12 +268,11 @@
      use strict;
      use warnings;
      
    --use Test::More tests => 1;
    -+use Test::More tests => 2;
    +-use RT::Extension::SLA::Test tests => 1, nodb => 1;
    ++use RT::Extension::SLA::Test tests => 2, nodb => 1;
      
      use_ok 'RT::Extension::SLA';
     +use_ok 'RT::Extension::SLA::Report';
      
    - 
      1;
     
 4:  ef5d140 =  4:  e427268 update TODO with some ideas
 5:  665cceb =  5:  caed878 more changes here and there regarding reporting * new Summary.pm to help combine multiple reports   together
 6:  247c990 !  6:  8e581f8 add first html, more simple tests and changes Summary
    @@ -108,13 +108,12 @@
      use strict;
      use warnings;
      
    --use Test::More tests => 2;
    -+use Test::More tests => 3;
    +-use RT::Extension::SLA::Test tests => 2, nodb => 1;
    ++use RT::Extension::SLA::Test tests => 3, nodb => 1;
      
      use_ok 'RT::Extension::SLA';
      use_ok 'RT::Extension::SLA::Report';
     +use_ok 'RT::Extension::SLA::Summary';
      
    - 
      1;
     
 7:  a9834df =  7:  821f0a0 cleanup debug code * fix some bugs
 8:  9cbc836 =  8:  cc90411 show user using a component * show some simple form
 9:  56dceb3 =  9:  cdc0a9d new test file, basics of reporting
10:  ea3e755 < --:  ------- bump dev. version, update manifest and meta
11:  2acbcef < --:  ------- update M::I
--:  ------- > 10:  a70a5c0 bump dev. version, update manifest and meta
12:  2f1294f ! 11:  8fbcfba add protection by a right
    @@ -1,19 +1,6 @@
     Author: Ruslan Zakirov <ruz at bestpractical.com>
     
         add protection by a right
    -
    -diff --git a/META.yml b/META.yml
    ---- a/META.yml
    -+++ b/META.yml
    -@@
    - configure_requires:
    -   ExtUtils::MakeMaker: 6.42
    - distribution_type: module
    --generated_by: 'Module::Install version 0.85'
    -+generated_by: 'Module::Install version 0.87'
    - license: gpl2
    - meta-spec:
    -   url: http://module-build.sourceforge.net/META-spec-v1.4.html
     
     diff --git a/html/Callbacks/RT-Extension-SLA/Tools/Reports/Elements/Tabs/Default b/html/Callbacks/RT-Extension-SLA/Tools/Reports/Elements/Tabs/Default
     --- a/html/Callbacks/RT-Extension-SLA/Tools/Reports/Elements/Tabs/Default
13:  5548273 = 12:  f949be6 add tabs to tickets so you can jump to a report right after search
14:  50b6170 = 13:  4d89610 add report per ticket for debugging and analysis
15:  3f16054 = 14:  657771e store txn in the stats
16:  260414c ! 15:  a57aabc update manifest
    @@ -8,6 +8,7 @@
     @@
      Changes
      etc/initialdata
    + etc/upgrade/0.06/content
     +html/Callbacks/RT-Extension-SLA/Ticket/Elements/Tabs/Default
      html/Callbacks/RT-Extension-SLA/Tools/Reports/Elements/Tabs/Default
     +html/Ticket/SLA.html
17:  f38dd47 < --:  ------- update M::I
18:  afb655c < --:  ------- bump version
19:  e50a053 < --:  ------- upgrade M::I
20:  29fe4af < --:  ------- subsitute vars in Test.pm, not in t/utils.pl
21:  7b86671 = 16:  af6067f convert tests over Test.pm
22:  54ba321 ! 17:  1a6f860 rework SLA Reports
    @@ -379,11 +379,8 @@
     --- a/lib/RT/Extension/SLA.pm
     +++ b/lib/RT/Extension/SLA.pm
     @@
    - use warnings;
    - 
    - package RT::Extension::SLA;
    --
    - our $VERSION = '0.05_01';
    + 
    + our $VERSION = '0.08_01';
      
     +use RT::Extension::SLA::Report;
     +
    @@ -400,7 +397,7 @@
          my $right = 'SeeSLAReports';
          use RT::System;
     @@
    -     return $res;
    +     return $self->CalculateTime( @_ );
      }
      
     +sub SecondsBetween {
    @@ -421,7 +418,7 @@
     +
      sub Starts {
          my $self = shift;
    -     my %args = ( Level => undef, Time => undef, @_ );
    +     return $self->CalculateTime( @_, Type => 'Starts' );
     @@
          return $RT::ServiceAgreements{'Default'};
      }
    @@ -864,19 +861,6 @@
      }
      
      1;
    -
    -diff --git a/t/basics.t b/t/basics.t
    ---- a/t/basics.t
    -+++ b/t/basics.t
    -@@
    - use strict;
    - use warnings;
    - 
    --use RT::Extension::SLA::Test tests => 6, nodb => 1;
    -+use RT::Extension::SLA::Test tests => 3, nodb => 1;
    - 
    - use_ok 'RT::Extension::SLA';
    - use_ok 'RT::Extension::SLA::Report';
     
     diff --git a/t/reporting/basic.t b/t/reporting/basic.t
     --- a/t/reporting/basic.t
23:  79d4a13 = 18:  411a8b6 make sure $field is empty before we fall into if block
24:  f2d456c = 19:  3cf0626 fix merging results
25:  ee73ace = 20:  b72ba23 protect all menu items with right check
26:  21419ce = 21:  a5093d1 put menu under Tools and Feeds
27:  62e5178 = 22:  d4bd1c1 incorrect box heading
28:  5f5f363 = 23:  cc49383 make it clear that query is required field
29:  cb90052 = 24:  4eecfe0 update POD
30:  376263e < --:  ------- update M::I
31:  7323bbf < --:  ------- generate README from POD
32:  8bd55be < --:  ------- update manifest
--:  ------- > 25:  831e145 generate README from POD
--:  ------- > 26:  d8e9eca update manifest
33:  843ec8a = 27:  febab40 There was code to handle owner changes, but no method



More information about the Bps-public-commit mailing list