Subversion Repositories DevTools

Rev

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

Rev 2354 Rev 2412
Line 1470... Line 1470...
1470
        'Netbula'                               => 'COTS',
1470
        'Netbula'                               => 'COTS',
1471
        'ObjectiveGrid'                         => 'COTS',
1471
        'ObjectiveGrid'                         => 'COTS',
1472
        'lmos'                                  => 'DPG_SWBase',
1472
        'lmos'                                  => 'DPG_SWBase',
1473
#        'daf_cd_transap'                        => 'DPG_SWBase',
1473
#        'daf_cd_transap'                        => 'DPG_SWBase',
1474
        'basetypes'                             => 'MASS_Dev_Infra',
1474
        'basetypes'                             => 'MASS_Dev_Infra',
1475
        'accesscontrol_ejb-api'                 => 'MASS_Dev_Infra/security',
1475
        'accesscontrol_ejb-api'                 => 'MASS_Dev_Infra/Security',
1476
        'tp5000_MUG'                            => 'MREF_Package',
1476
        'tp5000_MUG'                            => 'MREF_Package',
1477
        'udman'                                 => 'MASS_Dev_Infra',
1477
        'udman'                                 => 'MASS_Dev_Infra',
1478
        'emvud'                                 => 'DPG_SWBase/emvud',
1478
        'emvud'                                 => 'DPG_SWBase/emvud',
1479
        'daf_mmi_ti'                            => 'DPG_SWBase',
1479
        'daf_mmi_ti'                            => 'DPG_SWBase',
1480
        'mos_api'                               => 'MOS',
1480
        'mos_api'                               => 'MOS',
Line 1486... Line 1486...
1486
        'pgres'                                 => 'ITSO_TRACS/DataManagement' ,
1486
        'pgres'                                 => 'ITSO_TRACS/DataManagement' ,
1487
        'ERGcda_imports'                        => 'MREF_Package',
1487
        'ERGcda_imports'                        => 'MREF_Package',
1488
        'daf_dataman_extras'                    => 'ProjectCD/seattle',
1488
        'daf_dataman_extras'                    => 'ProjectCD/seattle',
1489
        'XmlDocInterface'                       => 'MASS_Dev_Infra',
1489
        'XmlDocInterface'                       => 'MASS_Dev_Infra',
1490
 
1490
 
-
 
1491
 
1491
        # Kill single package subdirs
1492
        # Kill single package subdirs
1492
        'application'                           => 'MASS_Dev_Bus',
1493
        'application'                           => 'MASS_Dev_Bus',
1493
        'card'                                  => 'MASS_Dev_Bus',
1494
        'card'                                  => 'MASS_Dev_Bus',
1494
        'cardholder'                            => 'MASS_Dev_Bus',
1495
        'cardholder'                            => 'MASS_Dev_Bus',
1495
        'opman-database'                        => 'MASS_Dev_Bus',
1496
        'opman-database'                        => 'MASS_Dev_Bus',
1496
        'product'                               => 'MASS_Dev_Bus',
1497
        'product'                               => 'MASS_Dev_Bus',
1497
        'VmtInterface'                          => 'MASS_Dev_Bus',
1498
        'VmtInterface'                          => 'MASS_Dev_Bus',
1498
        'systemcd_ejb-api'                      => 'MASS_Dev_Bus/CBP',
1499
        'systemcd_ejb-api'                      => 'MASS_Dev_Bus/CBP',
1499
        'boi'                                   => 'MASS_Dev_Bus/BOI',
1500
        'boi'                                   => 'MASS_Dev_Bus/BOI',
1500
 
1501
 
-
 
1502
        'mrviewer'                              => 'MASS_Dev_Infra/Reports',
-
 
1503
        'cdss'                                  => 'MASS_Dev_Infra/Cdss',
-
 
1504
        'InfraPSS'                              => 'MASS_Dev_Infra',
-
 
1505
        
1501
    );
1506
    );
1502
 
1507
 
1503
    my %VobRename = (
1508
    my %VobRename = (
1504
        'LMOS'              => 'LinuxDevices',
1509
        'LMOS'              => 'LinuxDevices',
1505
        'MANUFACTURING'     => 'Manufacturing',
1510
        'MANUFACTURING'     => 'Manufacturing',
Line 1509... Line 1514...
1509
        'MASS_Dev_Tools'    => 'DevTools',
1514
        'MASS_Dev_Tools'    => 'DevTools',
1510
 
1515
 
1511
        'GMPTE2005'             => 'ITSO_TRACS',
1516
        'GMPTE2005'             => 'ITSO_TRACS',
1512
        'GMPTE2005_obe'         => 'ITSO_TRACS',
1517
        'GMPTE2005_obe'         => 'ITSO_TRACS',
1513
        'UK_ITSO_COMPLIANT'     => 'ITSO_TRACS',
1518
        'UK_ITSO_COMPLIANT'     => 'ITSO_TRACS',
-
 
1519
 
-
 
1520
        'MASS_Dev_Infra/security'   => 'MASS_Dev_Infra/Security',
-
 
1521
        'MASS_Dev_Infra/web'        => 'MASS_Dev_Infra/Web',
-
 
1522
        'MASS_Dev_Infra/cdss'       => 'MASS_Dev_Infra/Cdss',
1514
    );
1523
    );
1515
 
1524
 
1516
    my %PreferredPath = (
1525
    my %PreferredPath = (
1517
        'MASS_Dev_Bus/Reports'      => 1,
1526
        'MASS_Dev_Bus/Reports'      => 1,
1518
        'MASS_Dev_Bus/CBP'          => 1,
1527
        'MASS_Dev_Bus/CBP'          => 1,
1519
        'MASS_Dev_Bus/Business'     => 1,
1528
        'MASS_Dev_Bus/Business'     => 1,
1520
        'MASS_Dev_Bus/CIPP'        => 1,
1529
        'MASS_Dev_Bus/CIPP'        => 1,
-
 
1530
 
-
 
1531
        'MASS_Dev_Infra/ProjectSpecific' => 1,
1521
    );
1532
    );
1522
 
1533
 
1523
    # default is 1
1534
    # default is 1
1524
    my %VobDepth = (
1535
    my %VobDepth = (
1525
        'DPG_SWBase'                => 2,
1536
        'DPG_SWBase'                => 2,
Line 1676... Line 1687...
1676
    #
1687
    #
1677
    #   Can we map the package into a preferred path
1688
    #   Can we map the package into a preferred path
1678
    #
1689
    #
1679
    foreach my $ppath ( sort keys %PreferredPath )
1690
    foreach my $ppath ( sort keys %PreferredPath )
1680
    {
1691
    {
1681
        if ( $path =~ m~${ppath}(/|$)~ )
1692
        if ( $path =~ m~${ppath}(/|$)~i )
1682
        {
1693
        {
1683
#print "---- Preferred path: $name, $ppath\n";
1694
#print "---- Preferred path: $name, $ppath\n";
1684
            return $ppath;
1695
            return $ppath;
1685
        }
1696
        }
-
 
1697
 
-
 
1698
        #
-
 
1699
        #   Try a little harder
-
 
1700
        #
-
 
1701
        foreach my $tpath  ( keys %{$PackageData{$pkgid}{vobPath}} )
-
 
1702
        {
-
 
1703
            if ( $tpath =~ m~${ppath}(/|$)~i )
-
 
1704
            {
-
 
1705
#print "---- Preferred path: $name, $ppath\n";
-
 
1706
                return $ppath;
-
 
1707
            }
-
 
1708
        }
1686
    }
1709
    }
1687
 
1710
 
1688
    #
1711
    #
1689
    #   Determine depth for this path
1712
    #   Determine depth for this path
1690
    #
1713
    #