Subversion Repositories DevTools

Rev

Rev 2319 | Rev 2393 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2319 Rev 2354
Line 102... Line 102...
102
    '.uk'       => { Name => 'UkProject' },
102
    '.uk'       => { Name => 'UkProject' },
103
    '.pmb'      => { Name => 'Pietermaritzburg' },
103
    '.pmb'      => { Name => 'Pietermaritzburg' },
104
    '.vps'      => { Name => 'VixPayments' },
104
    '.vps'      => { Name => 'VixPayments' },
105
    '.ncc'      => { Name => 'NSWClubCard' },
105
    '.ncc'      => { Name => 'NSWClubCard' },
106
    '.rm'       => { Name => 'Rome' },
106
    '.rm'       => { Name => 'Rome' },
-
 
107
    '.vss'      => { Name => 'SmartSite' },
107
    'unknown'   => { Name => 'UnknownProject' },
108
    'unknown'   => { Name => 'UnknownProject' },
108
 
109
 
109
    '.ebr'      => { Name => 'eBrio' , Trunk => 1 },
110
    '.ebr'      => { Name => 'eBrio' , Trunk => 1 },
110
    '.mas'      => { Name => 'Mass'  , Trunk => 1 },
111
    '.mas'      => { Name => 'Mass'  , Trunk => 1 },
111
    '.cr'       => { Name => 'Core'  , Trunk => 1 },
112
    '.cr'       => { Name => 'Core'  , Trunk => 1 },
Line 126... Line 127...
126
    '.pxxx.sydddd'  => '.syd',
127
    '.pxxx.sydddd'  => '.syd',
127
    '.oslo'         => '.oso',
128
    '.oslo'         => '.oso',
128
    '.osl'          => '.oso',
129
    '.osl'          => '.oso',
129
);
130
);
130
 
131
 
-
 
132
my @excludeFromImport = (
-
 
133
 
-
 
134
    # 22-Oct-12: Excluded on request from Kasun Sirikumara
-
 
135
    # Pending VSS work
-
 
136
    'agency_website',
-
 
137
    'alx',
-
 
138
    'alx-api',
-
 
139
    'cardholder_website',
-
 
140
    'loginmodule-ad',
-
 
141
    'ols-enquiry',
-
 
142
    'ols-enquiry-api',
-
 
143
    'olsrpc4j',
-
 
144
    'orca-middleware',
-
 
145
    'orca-middleware-api',
-
 
146
    'orca-salesEngine',
-
 
147
    'orca-web-api',
-
 
148
    'orca-web-utils',
-
 
149
    'TestPaymentGateway',
-
 
150
    'tgen4j',
-
 
151
    'web-cd-client',
-
 
152
);
-
 
153
 
131
my %specialPackages = (
154
my %specialPackages = (
132
    'core_devl'           =>  ',all,protected,',
155
    'core_devl'           =>  ',all,protected,',
133
    'daf_utils_mos'       => ',flat,',
156
    'daf_utils_mos'       => ',flat,',
134
    'mos_packager'        => ',all,',
157
    'mos_packager'        => ',all,',
135
    'cfmgr-cfmgr'         => ',flat,',
158
    'cfmgr-cfmgr'         => ',flat,',
136
    'daf_utils_button_st' => ',flat,',
159
    'daf_utils_button_st' => ',flat,',
-
 
160
    'ReleaseName'         => ',flat,',
137
 
161
 
138
    # Need to be handled in a special manner
162
    # Need to be handled in a special manner
139
    # Not done by this utility
163
    # Not done by this utility
140
    #
164
    #
141
    'linux_drivers_eb5600'  => ',protected,',
165
    'linux_drivers_eb5600'  => ',protected,',
Line 587... Line 611...
587
    if ( $packageNames[0] =~ m'^br_applet_' )
611
    if ( $packageNames[0] =~ m'^br_applet_' )
588
    {
612
    {
589
        $opt_flat = 1 unless defined $opt_flat;
613
        $opt_flat = 1 unless defined $opt_flat;
590
    }
614
    }
591
 
615
 
-
 
616
    foreach  ( @excludeFromImport )
-
 
617
    {
-
 
618
         $specialPackages{$_} .= 'protected,';
-
 
619
    }
-
 
620
 
592
    if ( exists $specialPackages{$packageNames[0]} )
621
    if ( exists $specialPackages{$packageNames[0]} )
593
    {
622
    {
594
        my $data = $specialPackages{$packageNames[0]};
623
        my $data = $specialPackages{$packageNames[0]};
595
        if ( index( $data, ',all' ) >= 0) {
624
        if ( index( $data, ',all' ) >= 0) {
596
            setPruneMode('none') unless (defined $opt_pruneModeString);
625
            setPruneMode('none') unless (defined $opt_pruneModeString);
Line 1563... Line 1592...
1563
    #   Delete the created view
1592
    #   Delete the created view
1564
    #   Its just a directory, so delete it
1593
    #   Its just a directory, so delete it
1565
    #
1594
    #
1566
    if ( $data{ViewRoot} && -d $data{ViewRoot})
1595
    if ( $data{ViewRoot} && -d $data{ViewRoot})
1567
    {
1596
    {
1568
        if ( !$opt_reuse || ($rv && $rv != 4) )
1597
        if ( !$opt_reuse || ($rv && ($rv != 4 && $rv != 12 )) )
1569
        {
1598
        {
1570
            Message ("Delete View: $data{ViewRoot}");
1599
            Message ("Delete View: $data{ViewRoot}");
1571
            RmDirTree ($data{ViewRoot} );
1600
            RmDirTree ($data{ViewRoot} );
1572
        }
1601
        }
1573
        else
1602
        else
Line 1585... Line 1614...
1585
    #
1614
    #
1586
    #   If this version has any 'ripples' then process them while we have the
1615
    #   If this version has any 'ripples' then process them while we have the
1587
    #   main view. Note the ripple list may contain entries that do not
1616
    #   main view. Note the ripple list may contain entries that do not
1588
    #   exist - they will have been pruned.
1617
    #   exist - they will have been pruned.
1589
    #
1618
    #
1590
if(0) {
1619
if(1) {
1591
    foreach my $rentry ( @{$versions{$entry}{rippleList}} )
1620
    foreach my $rentry ( @{$versions{$entry}{rippleList}} )
1592
    {
1621
    {
1593
        next unless( exists $versions{$rentry} );
1622
        next unless( exists $versions{$rentry} );
1594
 
1623
 
1595
        if ($versions{$rentry}{Processed})
1624
        if ($versions{$rentry}{Processed})
Line 1623... Line 1652...
1623
{
1652
{
1624
    my ($data, $entry) = @_;
1653
    my ($data, $entry) = @_;
1625
    my $rv;
1654
    my $rv;
1626
    my $cc_label;
1655
    my $cc_label;
1627
    my $cc_path;
1656
    my $cc_path;
-
 
1657
    my $cc_path_original;
1628
 
1658
 
1629
    #
1659
    #
1630
    #   Init Data
1660
    #   Init Data
1631
    #
1661
    #
1632
    $data->{rmRef} = 'ERROR';
1662
    $data->{rmRef} = 'ERROR';
Line 1665... Line 1695...
1665
    $data->{tag} =~ m~^(.+?)::(.*?)(::(.+))?$~;
1695
    $data->{tag} =~ m~^(.+?)::(.*?)(::(.+))?$~;
1666
    $cc_label = $4;
1696
    $cc_label = $4;
1667
    $cc_path = $2;
1697
    $cc_path = $2;
1668
    $cc_path = '/' . $cc_path;
1698
    $cc_path = '/' . $cc_path;
1669
    $cc_path =~ tr~\\/~/~s;
1699
    $cc_path =~ tr~\\/~/~s;
-
 
1700
    $cc_path_original = $cc_path;
1670
 
1701
 
1671
    #
1702
    #
1672
    #   Correct well known path mistakes
1703
    #   Correct well known path mistakes
1673
    #
1704
    #
1674
    $cc_path =~ s~/build.pl$~~i;
1705
    $cc_path =~ s~/build.pl$~~i;
1675
    $cc_path =~ s~/src$~~i;
1706
    $cc_path =~ s~/src$~~i;
-
 
1707
    $cc_path =~ s~/cpp$~~i;
1676
    $cc_path =~ s~/MASS_Dev/Infra/~/MASS_Dev_Infra/~i;
1708
    $cc_path =~ s~/MASS_Dev/Infra/~/MASS_Dev_Infra/~i;
1677
    $cc_path =~ s~/MASS_Dev/Tools/~/MASS_Dev_Tools/~i;
1709
    $cc_path =~ s~/MASS_Dev/Tools/~/MASS_Dev_Tools/~i;
1678
    $cc_path =~ s~/MASS_Dev/Bus/~/MASS_Dev_Bus/~i;
1710
    $cc_path =~ s~/MASS_Dev/Bus/~/MASS_Dev_Bus/~i;
1679
    $cc_path =~ s~/MASS_Dev_Bus/Cbp/~/MASS_Dev_Bus/CBP/~i;
1711
    $cc_path =~ s~/MASS_Dev_Bus/Cbp/~/MASS_Dev_Bus/CBP/~i;
1680
    $cc_path =~ s~/MREF_Package/ergpostmongui$~/MREF_Package/ergpostmongui~i;
1712
    $cc_path =~ s~/MREF_Package/ergpostmongui$~/MREF_Package/ergpostmongui~i;
1681
    $cc_path =~ s~/MREF_21/MREF_Package/~/MREF_Package/~i;
1713
    $cc_path =~ s~/MREF_../MREF_Package/~/MREF_Package/~i;
-
 
1714
    $cc_path =~ s~/MREF_Package/mass_ergocdp/~/MREF_Package/ergocdp/~i;
-
 
1715
    $cc_path =~ s~/MASS_Dev_Bus/CBP/systemCD.ejb~/MASS_Dev_Bus/CBP/systemCD/ejb~i;
-
 
1716
    $cc_path =~ s~/MASS_Dev_Bus/Financial/cpp/paymentmanager~/MASS_Dev_Bus/Financial/cpp/paymentmanager~i;
-
 
1717
    $cc_path =~ s~/MASS_Dev_Bus/WebServices~/MASS_Dev_Bus/WebServices~i;
-
 
1718
    $cc_path =~ s~/MASS_Dev_Bus/CBP/nullAdapter~//MASS_Dev_Bus/CBP/nullAdaptor~i;
-
 
1719
 
-
 
1720
    $cc_path = '/MASS_Dev_Bus' if ( $cc_path =~ m~/MASS_Dev_Bus/ImageCapture(/|$)~i );
-
 
1721
    $cc_path = '/MASS_Dev_Bus/CBP/enquiry' if ( $versions{$entry}{name} eq 'EJBEnqPxyConnector');
-
 
1722
    $cc_path = '/MASS_Dev_Bus/CBP/enquiry' if ( $versions{$entry}{name} eq 'proxyif4j');
-
 
1723
    $cc_path = '/MASS_Dev_Bus' if ( $versions{$entry}{name} eq 'ImageCaptureTomcatDeployment');
-
 
1724
    $cc_path = '/MASS_Dev_Bus/WebServices/MassWS' if ( $versions{$entry}{name} eq 'MassWebServicesImpl');
-
 
1725
 
-
 
1726
    if (   $versions{$entry}{name} =~ m/^ERGagency$/i
-
 
1727
        || $versions{$entry}{name} =~ m/^ERGavm$/i
-
 
1728
        || $versions{$entry}{name} =~ m/^ERGboi$/i
-
 
1729
        || $versions{$entry}{name} =~ m/^ERGcallcenter$/i
-
 
1730
        || $versions{$entry}{name} =~ m/^ERGcardholder$/i
-
 
1731
        || $versions{$entry}{name} =~ m/^ERGcdaimports$/i
-
 
1732
        || $versions{$entry}{name} =~ m/^ERGcda$/i
-
 
1733
        || $versions{$entry}{name} =~ m/^ERGcscedit$/i
-
 
1734
        || $versions{$entry}{name} =~ m/^ERGcs$/i
-
 
1735
        || $versions{$entry}{name} =~ m/^ERGofs$/i
-
 
1736
        || $versions{$entry}{name} =~ m/^ERGols$/i
-
 
1737
        || $versions{$entry}{name} =~ m/^ERGtpf$/i
-
 
1738
        || $versions{$entry}{name} =~ m/^ERGorasys$/i
-
 
1739
        || $versions{$entry}{name} =~ m/^ERGoracs$/i
-
 
1740
        || $versions{$entry}{name} =~ m/^ERGpxyif$/i
-
 
1741
        || $versions{$entry}{name} =~ m/^ERGtp5upg$/i
-
 
1742
        || $versions{$entry}{name} =~ m/^ERGinstitutional$/i
-
 
1743
        || $versions{$entry}{name} =~ m/^ERGinfra$/i
-
 
1744
        || $versions{$entry}{name} =~ m/^ERGcrrpts$/i
-
 
1745
        || $versions{$entry}{name} =~ m/^ERGmiddle$/i
-
 
1746
        || $versions{$entry}{name} =~ m/^ERGmiddleapi$/i
-
 
1747
        || $versions{$entry}{name} =~ m/^ERGwebapi$/i
-
 
1748
        || $versions{$entry}{name} =~ m/^ERGwebtestui$/i
-
 
1749
        || $versions{$entry}{name} =~ m/^ERGwebesbui$/i
-
 
1750
        || $versions{$entry}{name} =~ m/^ERGwspiv$/i
-
 
1751
        || $versions{$entry}{name} =~ m/^ERGwscst$/i
-
 
1752
        || $versions{$entry}{name} =~ m/^sposMUG$/i
-
 
1753
        || $versions{$entry}{name} =~ m/^ERGfinman$/i
-
 
1754
        || $versions{$entry}{name} =~ m/^ERGkm$/i
-
 
1755
        || $versions{$entry}{name} =~ m/^ERGxml$/i
-
 
1756
        || $versions{$entry}{name} =~ m/^ERGoradacw$/i
-
 
1757
        || $versions{$entry}{name} =~ m/^ERGtru$/i
-
 
1758
        )
-
 
1759
    {
-
 
1760
        $cc_path = '/MREF_Package';
-
 
1761
    }
1682
 
1762
 
-
 
1763
    if (   $versions{$entry}{name} =~ m/^tp5000_MUG$/i )
-
 
1764
    {
-
 
1765
        if ( $versions{$entry}{version} =~ m~vtk$~ )
-
 
1766
        {
-
 
1767
            $cc_path = '/MREF_Package';
-
 
1768
        }
-
 
1769
    }
1683
 
1770
 
-
 
1771
    if ( $cc_path_original ne $cc_path )
-
 
1772
    {
-
 
1773
            Message ("Package: $versions{$entry}{name}. Forcing CC path to: $cc_path" );
-
 
1774
    }
-
 
1775
    
1684
#print "--- Path: $cc_path, Label: $cc_label\n";
1776
#print "--- Path: $cc_path, Label: $cc_label\n";
1685
 
1777
 
1686
    #
1778
    #
1687
    #   Create CC view
1779
    #   Create CC view
1688
    #   Import into Subversion View
1780
    #   Import into Subversion View
Line 1712... Line 1804...
1712
                    "-label=$cc_label" ,
1804
                    "-label=$cc_label" ,
1713
                    "-path=$cc_path",
1805
                    "-path=$cc_path",
1714
                    @args
1806
                    @args
1715
                    );
1807
                    );
1716
 
1808
 
-
 
1809
        if ( $rv == 10 ) {
-
 
1810
            $data->{errStr} = 'No Files in the extracted view';
-
 
1811
            $data->{errCode} = '0';
-
 
1812
            return 2;
-
 
1813
        }
-
 
1814
        elsif ( $rv == 11 ) {
-
 
1815
            $data->{errStr} = 'Label not found';
-
 
1816
            $data->{errCode} = 'L';
-
 
1817
            return 2;
-
 
1818
        }
-
 
1819
 
1717
        unless ( -d $data->{ViewPath}  )
1820
        unless ( -d $data->{ViewPath}  )
1718
        {
1821
        {
1719
            $data->{errStr} = 'Failed to extract files from CC';
1822
            $data->{errStr} = 'Failed to extract files from CC';
1720
            return 2;
1823
            return 2;
1721
        }
1824
        }
Line 2190... Line 2293...
2190
#
2293
#
2191
# Returns         : 
2294
# Returns         : 
2192
#
2295
#
2193
sub endPackage
2296
sub endPackage
2194
{
2297
{
-
 
2298
    Message ("-- Import Summary ------------------------------------------------" );
2195
    RmDirTree ('SvnImportDir');
2299
    RmDirTree ('SvnImportDir');
2196
 
2300
 
2197
    #
2301
    #
2198
    #   Display versions that did get captured
2302
    #   Display versions that did get captured
2199
    #
2303
    #
Line 2209... Line 2313...
2209
    #
2313
    #
2210
    foreach my $entry ( @processOrder )
2314
    foreach my $entry ( @processOrder )
2211
    {
2315
    {
2212
        $versions{$entry}{Scanned} = 1;
2316
        $versions{$entry}{Scanned} = 1;
2213
        next if ( $versions{$entry}{TagCreated} );
2317
        next if ( $versions{$entry}{TagCreated} );
-
 
2318
        my $reason = $versions{$entry}{data}{errStr} || '';
-
 
2319
        my $tag = $versions{$entry}{vcsTag}|| 'No Tag';
2214
        Warning ("Not Processed: " . GetVname($entry) );
2320
        Warning ("Not Processed: " . GetVname($entry) . ':' . $tag . ' : ' . $reason );
2215
    }
2321
    }
2216
 
2322
 
2217
    foreach my $entry ( keys(%versions) )
2323
    foreach my $entry ( keys(%versions) )
2218
    {
2324
    {
2219
        next if ( $versions{$entry}{Scanned} );
2325
        next if ( $versions{$entry}{Scanned} );
Line 2380... Line 2486...
2380
 
2486
 
2381
#-------------------------------------------------------------------------------
2487
#-------------------------------------------------------------------------------
2382
# Function        : findDirWithStuff
2488
# Function        : findDirWithStuff
2383
#
2489
#
2384
# Description     : Find a directory that contains more than just another subdir
2490
# Description     : Find a directory that contains more than just another subdir
-
 
2491
#                   Note: don't use 'glob' it doesn't work if the name has a space in it.
2385
#
2492
#
2386
# Inputs          : $base               - Start of the scan
2493
# Inputs          : $base               - Start of the scan
2387
#
2494
#
2388
# Returns         : Path to dir with more than just a single dir in it
2495
# Returns         : Path to dir with more than just a single dir in it
2389
#
2496
#
Line 2395... Line 2502...
2395
    {
2502
    {
2396
    my $fileCount = 0;
2503
    my $fileCount = 0;
2397
    my $dirCount = 0;
2504
    my $dirCount = 0;
2398
    my $firstDir;
2505
    my $firstDir;
2399
 
2506
 
-
 
2507
    opendir (my $dh, $base ) || Error ("Cannot opendir $base. $!");
2400
    my @list = glob( $base . '/*');
2508
    my @list =readdir $dh;
-
 
2509
    closedir $dh;
2401
    foreach ( @list )
2510
    foreach ( @list )
2402
    {
2511
    {
2403
        next if ( $_ eq '.' );
2512
        next if ( $_ eq '.' );
2404
        next if ( $_ eq '..' );
2513
        next if ( $_ eq '..' );
-
 
2514
 
-
 
2515
        $_ = $base . '/' . $_;
2405
        if ( -d $_ )
2516
        if ( -d $_ )
2406
        {
2517
        {
2407
            $dirCount++;
2518
            $dirCount++;
2408
            $firstDir = $_ unless ( defined $firstDir );
2519
            $firstDir = $_ unless ( defined $firstDir );
-
 
2520
            return $base
2409
            return $base if ( $dirCount > 1  );
2521
                if ( $dirCount > 1  )
2410
        }
2522
        }
2411
        elsif ( -e $_ )
2523
        elsif ( -e $_ )
2412
        {
2524
        {
2413
            return $base;
2525
            return $base;
2414
        }
2526
        }
2415
 
2527
 
2416
        # else its probably a dead symlink
2528
        # else its probably a dead symlink
2417
    }
2529
    }
-
 
2530
 
-
 
2531
    return $base
2418
    return $base unless ( $dirCount == 1  );
2532
        unless ( $dirCount == 1  );
2419
    $base = $firstDir;
2533
    $base = $firstDir;
2420
    }
2534
    }
2421
}
2535
}
2422
 
2536
 
2423
 
-
 
2424
#-------------------------------------------------------------------------------
2537
#-------------------------------------------------------------------------------
2425
# Function        : JatsToolPrint
2538
# Function        : JatsToolPrint
2426
#
2539
#
2427
# Description     : Print and Execuate a JatsTool command
2540
# Description     : Print and Execuate a JatsTool command
2428
#
2541
#
Line 2912... Line 3025...
2912
{
3025
{
2913
    my ($tag) = @_;
3026
    my ($tag) = @_;
2914
    $tag =~ tr~\\/~/~;
3027
    $tag =~ tr~\\/~/~;
2915
    if ( $tag =~ m~^CC::~ )
3028
    if ( $tag =~ m~^CC::~ )
2916
    {
3029
    {
2917
        $tag =~ s~CC::\s+~CC::~;
3030
        $tag =~ s~CC::load\s+~CC::~;                # Load rule
-
 
3031
        $tag =~ s~CC::\s+~CC::~;                    # Leading white space
-
 
3032
        $tag =~ s~CC::[A-Za-z]\:/~CC::/~;           # Leading driver letter
-
 
3033
        $tag =~ s~CC::/+~CC::/~;                    # Multiple initial /'s
2918
        $tag =~ s~/build.pl::~::~i;
3034
        $tag =~ s~/build.pl::~::~i;
2919
        $tag =~ s~/src::~::~i;
3035
        $tag =~ s~/src::~::~i;
2920
        $tag =~ s~MASS_Dev_Bus/Cbp/~MASS_Dev_Bus/CBP/~i;
3036
        $tag =~ s~MASS_Dev_Bus/Cbp/~MASS_Dev_Bus/CBP/~i;
2921
        $tag =~ s~MASS_Dev_Bus~MASS_Dev_Bus~i;
3037
        $tag =~ s~MASS_Dev_Bus~MASS_Dev_Bus~i;
2922
        $tag =~ s~/MASS_Dev/Infra~MASS_Dev_Infra~i;
3038
        $tag =~ s~/MASS_Dev/Infra~MASS_Dev_Infra~i;
Line 3130... Line 3246...
3130
        push @text, 'b: Bad Singleton';
3246
        push @text, 'b: Bad Singleton';
3131
        push @text, 'B: Bad VCS Tag';
3247
        push @text, 'B: Bad VCS Tag';
3132
        push @text, 'D: DeadWood';
3248
        push @text, 'D: DeadWood';
3133
        push @text, 'E: Essential Release Version';
3249
        push @text, 'E: Essential Release Version';
3134
        push @text, 'G: Glued into Version Tree';
3250
        push @text, 'G: Glued into Version Tree';
-
 
3251
        push @text, 'L: Label not in VOB';
3135
        push @text, 'r: Recent version';
3252
        push @text, 'r: Recent version';
3136
        push @text, 'R: Ripple';
3253
        push @text, 'R: Ripple';
3137
        push @text, 'S: Splitpoint';
3254
        push @text, 'S: Splitpoint';
3138
        push @text, 't: Glued into Project Tree';
3255
        push @text, 't: Glued into Project Tree';
3139
        push @text, 'T: Tip version';
3256
        push @text, 'T: Tip version';
3140
        push @text, 'V: In SVN';
3257
        push @text, 'V: In SVN';
3141
        push @text, '+: In Subversion';
3258
        push @text, '+: In Subversion';
-
 
3259
        push @text, '0: Zero files extracted';
3142
        push @text, '}}';
3260
        push @text, '}}';
3143
 
3261
 
3144
        push @text, '|';
3262
        push @text, '|';
3145
        push @text, 'Outline';
3263
        push @text, 'Outline';
3146
        push @text, 'Red: Dead or Bad VCS Tag';
3264
        push @text, 'Red: Dead or Bad VCS Tag';
3147
        push @text, 'Orange: Project Branch Root';
3265
        push @text, 'Orange: Project Branch Root';
3148
        push @text, 'Green: Ripple Build Version';
3266
        push @text, 'Green: Ripple Build Version';
3149
        push @text, 'Blue: Essential Version';
3267
        push @text, 'Blue: Essential Version';
3150
        push @text, 'Darkmagenta: Entry Glued into tree';
3268
        push @text, 'Darkmagenta: Entry Glued into tree';
3151
        push @text, 'Magenta: Entry added to project tree';
3269
        push @text, 'Magenta: Entry added to project tree';
-
 
3270
        push @text, 'DeepPink: Label not in VOB';
-
 
3271
        push @text, 'DarkViolet: Zero files extracted';
3152
 
3272
 
3153
 
3273
 
3154
        push @text, '|';
3274
        push @text, '|';
3155
        push @text, 'Fill';
3275
        push @text, 'Fill';
3156
        push @text, 'PowderBlue: Essential Version';
3276
        push @text, 'PowderBlue: Essential Version';
Line 3209... Line 3329...
3209
        $stateText .= 'r' if (exists $versions{$entry}{keepRecent} && $versions{$entry}{keepRecent} );
3329
        $stateText .= 'r' if (exists $versions{$entry}{keepRecent} && $versions{$entry}{keepRecent} );
3210
        $stateText .= 'S' if (exists $versions{$entry}{EssentialSplitPoint} && $versions{$entry}{EssentialSplitPoint} > 1 );
3330
        $stateText .= 'S' if (exists $versions{$entry}{EssentialSplitPoint} && $versions{$entry}{EssentialSplitPoint} > 1 );
3211
        $stateText .= 'T' if (exists $versions{$entry}{Tip} );
3331
        $stateText .= 'T' if (exists $versions{$entry}{Tip} );
3212
        $stateText .= 'V' if (exists $versions{$entry}{isSvn} );
3332
        $stateText .= 'V' if (exists $versions{$entry}{isSvn} );
3213
        $stateText .= '+' if (exists $versions{$entry}{svnVersion} );
3333
        $stateText .= '+' if (exists $versions{$entry}{svnVersion} );
-
 
3334
        $stateText .= '0' if (exists $versions{$entry}{data}{errCode} && $versions{$entry}{data}{errCode} eq '0');
-
 
3335
        $stateText .= 'L' if (exists $versions{$entry}{data}{errCode} && $versions{$entry}{data}{errCode} eq 'L');
-
 
3336
 
-
 
3337
 
3214
#        $stateText .= 's' if (exists $versions{$entry}{branchPoint} );
3338
#        $stateText .= 's' if (exists $versions{$entry}{branchPoint} );
3215
#        $stateText .= ' T='. $versions{$entry}{threadId} if (exists $versions{$entry}{threadId});
3339
#        $stateText .= ' T='. $versions{$entry}{threadId} if (exists $versions{$entry}{threadId});
3216
#        $stateText .= ' EssentalPath' if (exists $versions{$entry}{EssentialPath});
3340
#        $stateText .= ' EssentalPath' if (exists $versions{$entry}{EssentialPath});
3217
#        $stateText .= ' Count='. $versions{$entry}{EssentialSplitPoint} if (exists $versions{$entry}{EssentialSplitPoint});
3341
#        $stateText .= ' Count='. $versions{$entry}{EssentialSplitPoint} if (exists $versions{$entry}{EssentialSplitPoint});
3218
#        $stateText .= ' M='. $versions{$entry}{maxVersion} if (exists $versions{$entry}{maxVersion});
3342
#        $stateText .= ' M='. $versions{$entry}{maxVersion} if (exists $versions{$entry}{maxVersion});
3219
 
3343
 
3220
        push @label, "(${stateText})" if ( $stateText );
3344
        push @label, "(${stateText})" if ( length($stateText) );
3221
 
3345
 
3222
##       Insert Release Names
3346
##       Insert Release Names
3223
        foreach my $rtag_id ( keys %{$versions{$entry}{Releases}}  ) {
3347
        foreach my $rtag_id ( keys %{$versions{$entry}{Releases}}  ) {
3224
            next unless ( exists $ukHopsReleases{$rtag_id} );
3348
            next unless ( exists $ukHopsReleases{$rtag_id} );
3225
            push @label, "Release: $versions{$entry}{Releases}{$rtag_id}{rname}";
3349
            push @label, "Release: $versions{$entry}{Releases}{$rtag_id}{rname}";
Line 3250... Line 3374...
3250
           $color = 'color=orange style=bold' if ( $versions{$entry}{newSuffix} );
3374
           $color = 'color=orange style=bold' if ( $versions{$entry}{newSuffix} );
3251
           $color = 'color=red style=bold' if ( $versions{$entry}{DeadWood} || $versions{$entry}{badVcsTag} );
3375
           $color = 'color=red style=bold' if ( $versions{$entry}{DeadWood} || $versions{$entry}{badVcsTag} );
3252
           $color = 'color=blue style=bold' if ( $versions{$entry}{Essential} );
3376
           $color = 'color=blue style=bold' if ( $versions{$entry}{Essential} );
3253
           $color = 'color=darkmagenta style=bold' if ( $versions{$entry}{GluedIn} );
3377
           $color = 'color=darkmagenta style=bold' if ( $versions{$entry}{GluedIn} );
3254
           $color = 'color=magenta style=bold' if ( $versions{$entry}{MakeTree} );
3378
           $color = 'color=magenta style=bold' if ( $versions{$entry}{MakeTree} );
-
 
3379
           $color = 'color=DeepPink style=bold' if (exists $versions{$entry}{data}{errCode} && $versions{$entry}{data}{errCode} eq 'L');
-
 
3380
           $color = 'color=DarkViolet style=bold' if (exists $versions{$entry}{data}{errCode} && $versions{$entry}{data}{errCode} eq '0');
3255
 
3381
 
3256
           $fill = 'style=filled fillcolor=powderblue' if ( $versions{$entry}{Essential} );
3382
           $fill = 'style=filled fillcolor=powderblue' if ( $versions{$entry}{Essential} );
3257
           $fill = 'style=filled fillcolor=red' if ( $versions{$entry}{Essential} && $versions{$entry}{badVcsTag} );
3383
           $fill = 'style=filled fillcolor=red' if ( $versions{$entry}{Essential} && $versions{$entry}{badVcsTag} );
3258
           $fill = 'style=filled fillcolor="#99FF99"' if ( exists $versions{$entry}{svnVersion} );
3384
           $fill = 'style=filled fillcolor="#99FF99"' if ( exists $versions{$entry}{svnVersion} );
3259
 
3385