[Rt-commit] rt branch, 4.2/command-line-parsing, repushed

Alex Vandiver alexmv at bestpractical.com
Wed Dec 3 23:17:50 EST 2014


The branch 4.2/command-line-parsing was deleted and repushed:
       was 235a374ba7a7bf4bad95d57df0ccd068974e022c
       now 582d022c17b8ea16391547896995da4e658cf2c5

 1:  1b35faa =  1:  1b35faa Drop GetMessageContent; it is not currently called, and last was in RT2
 2:  831674b =  2:  831674b $debug is never set; remove unreachable code
 3:  fa3c25d =  3:  fa3c25d Deprecate unused and debug() sub
 4:  8e36160 =  4:  8e36160 Modernize SYNOPSYS
 5:  a315e34 =  5:  a315e34 Deprecate CleanEnv
 6:  b5e9dfc =  6:  b5e9dfc Add a wrapper around Getopt::Long to add default --help option
 7:  c07f7a8 =  7:  c07f7a8 Init() also loads RT, removing more boilerplate for short scripts
 8:  3ce1ac4 =  8:  3ce1ac4 Default to enabling error warnings to the screen for CLI tools
 9:  a2afc4e =  9:  a2afc4e Allow standard --quiet and --verbose options via Init()
10:  7542b3f ! 10:  9d354ba Switch interactive tools to use Init()
    @@ -163,8 +163,11 @@
     +use RT::Interface::CLI qw(Init);
     +Init();
      
    - my $dbh = $RT::Handle->dbh;
    +-my $dbh = $RT::Handle->dbh;
    ++my $dbh = RT->DatabaseHandle->dbh;
      my $ids = $dbh->selectcol_arrayref(
    +     "SELECT t1.id FROM Tickets t1, Tickets t2 WHERE t1.id = t2.EffectiveId"
    +     ." AND t2.id != t2.EffectiveId AND t2.EffectiveId = t1.id"
     
     diff --git a/etc/upgrade/upgrade-articles.in b/etc/upgrade/upgrade-articles.in
     --- a/etc/upgrade/upgrade-articles.in
11:  ac6b0c8 = 11:  e522b35 Instead of explicitly printing to STDERR, use the logging infrastructure
12:  235a374 ! 12:  0242e29 POD technically requires a blank line before each directive
    @@ -34,3 +34,4 @@
      =head1 NAME
      
      rt-shredder - Script which wipe out tickets from RT DB
    +
--:  ------- > 13:  582d022 Forward-port run_validator (and timeout functionality) from RT 4.0



More information about the rt-commit mailing list