Subversion Repositories DevTools

Rev

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

Rev 2403 Rev 2413
Line 177... Line 177...
177
    my $missingPVID = 0;
177
    my $missingPVID = 0;
178
    my $rippleProcessed = 0;
178
    my $rippleProcessed = 0;
179
    my $globalErrors = 0;
179
    my $globalErrors = 0;
180
    my $notProcessed = 0;
180
    my $notProcessed = 0;
181
    my $pkgBase = 0;
181
    my $pkgBase = 0;
-
 
182
    my $pkgProject = 0;
182
    my $adjustedPath = 0;
183
    my $adjustedPath = 0;
183
#    my $rtCount = 0;
184
#    my $rtCount = 0;
184
    my $rtErrorCount = 0;
185
    my $rtErrorCount = 0;
185
    
186
    
186
 
187
 
Line 191... Line 192...
191
        $essentialCount++ if ( $ScmVersions{$entry}{Essential}  );
192
        $essentialCount++ if ( $ScmVersions{$entry}{Essential}  );
192
        $rippleProcessed++ if ( $ScmVersions{$entry}{rippleProcessed} );
193
        $rippleProcessed++ if ( $ScmVersions{$entry}{rippleProcessed} );
193
 
194
 
194
        $globalErrors++ if ( $ScmVersions{$entry}{data}{errFlags} eq 'e' );
195
        $globalErrors++ if ( $ScmVersions{$entry}{data}{errFlags} eq 'e' );
195
        $pkgBase++ if ( $ScmVersions{$entry}{data}{BadProjectBase} );
196
        $pkgBase++ if ( $ScmVersions{$entry}{data}{BadProjectBase} );
-
 
197
        $pkgProject++ if ( $ScmVersions{$entry}{data}{BadMakeProject} );
196
        $adjustedPath++ if ( $ScmVersions{$entry}{data}{adjustedPath} );
198
        $adjustedPath++ if ( $ScmVersions{$entry}{data}{adjustedPath} );
197
        unless ( $ScmVersions{$entry}{TagCreated} )
199
        unless ( $ScmVersions{$entry}{TagCreated} )
198
        {
200
        {
199
            $errorCount++ if ( $ScmVersions{$entry}{Essential}  );
201
            $errorCount++ if ( $ScmVersions{$entry}{Essential}  );
200
            $ecount++;
202
            $ecount++;
Line 248... Line 250...
248
    {
250
    {
249
        #
251
        #
250
        #   Just the packages that have no problems
252
        #   Just the packages that have no problems
251
        #   Short form
253
        #   Short form
252
        #
254
        #
253
#Debug0("$pname", $notOk ,$globalErrors ,$pkgBase ,$errorCount ,$notProcessed ,$rtErrorCount);
255
#Debug0("$pname", $notOk ,$globalErrors ,$pkgBase ,$pkgProject ,$errorCount ,$notProcessed ,$rtErrorCount);
254
        return if ( $notOk ||$globalErrors || $pkgBase ||  $errorCount || $notProcessed || $rtErrorCount );
256
        return if ( $notOk ||$globalErrors || $pkgBase || $pkgProject ||  $errorCount || $notProcessed || $rtErrorCount );
255
        print ("$pname\n");
257
        print ("$pname\n");
256
        return;
258
        return;
257
    }
259
    }
258
 
260
 
259
    if ( $opt_report == 4 )
261
    if ( $opt_report == 4 )
Line 268... Line 270...
268
    }
270
    }
269
    
271
    
270
    
272
    
271
    if ( $opt_report )
273
    if ( $opt_report )
272
    {
274
    {
273
        return unless ($globalErrors || $pkgBase ||  $errorCount || $notProcessed || $rtErrorCount);
275
        return unless ($globalErrors || $pkgBase || $pkgProject ||  $errorCount || $notProcessed || $rtErrorCount);
274
    }
276
    }
275
 
277
 
276
    sub highlight
278
    sub highlight
277
    {
279
    {
278
        my ($value) = @_;
280
        my ($value) = @_;
Line 289... Line 291...
289
            ,"${tpref}Packages pruned           : " . ($rmTotal - $totalCount)
291
            ,"${tpref}Packages pruned           : " . ($rmTotal - $totalCount)
290
            ,"${tpref}Essential Packages        : $essentialCount"
292
            ,"${tpref}Essential Packages        : $essentialCount"
291
            ,"${tpref}Essential Packages Errors : $errorCount" . highlight($errorCount)
293
            ,"${tpref}Essential Packages Errors : $errorCount" . highlight($errorCount)
292
            ,"${tpref}Global Import Errors      : $globalErrors" . highlight($globalErrors)
294
            ,"${tpref}Global Import Errors      : $globalErrors" . highlight($globalErrors)
293
            ,"${tpref}PackageBase Error         : $pkgBase" . highlight($pkgBase)
295
            ,"${tpref}PackageBase Error         : $pkgBase" . highlight($pkgBase)
-
 
296
            ,"${tpref}MakeProject Error         : $pkgProject" . highlight($pkgProject)
294
            ,"${tpref}Adjusted Paths            : $adjustedPath" . highlight($adjustedPath && ($transferred - $adjustedPath))
297
            ,"${tpref}Adjusted Paths            : $adjustedPath" . highlight($adjustedPath && ($transferred - $adjustedPath))
295
            ,"${tpref}Not Transferred Packages  : $ecount"
298
            ,"${tpref}Not Transferred Packages  : $ecount"
296
            ,"${tpref}Transferred Packages      : $transferred" . highlight(!$transferred)
299
            ,"${tpref}Transferred Packages      : $transferred" . highlight(!$transferred)
297
#            ,"${tpref}Release Tags applied      : $rtCount"
300
#            ,"${tpref}Release Tags applied      : $rtCount"
298
#            ,"${tpref}Release Tag errors        : $rtErrorCount" . highlight($rtErrorCount)
301
#            ,"${tpref}Release Tag errors        : $rtErrorCount" . highlight($rtErrorCount)