Subversion Repositories DevTools

Rev

Rev 884 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 884 Rev 894
Line 188... Line 188...
188
          // max 50 chars
188
          // max 50 chars
189
          rippleBuildExclude(p, p.mId, "Package build dependency not in the release", null);
189
          rippleBuildExclude(p, p.mId, "Package build dependency not in the release", null);
190
           
190
           
191
          // take the package out of the build
191
          // take the package out of the build
192
          p.mBuildFile = -4;
192
          p.mBuildFile = -4;
193
          mLogger.warn("planRelease set mBuildFile to -4 for package " + p.mAlias );
193
          mLogger.info("planRelease set mBuildFile to -4 for package " + p.mAlias );
194
          break;
194
          break;
195
        }
195
        }
196
        
196
        
197
        p.mPackageDependencyCollection.add(dependency);
197
        p.mPackageDependencyCollection.add(dependency);
198
      }
198
      }
Line 213... Line 213...
213
          // max 50 chars
213
          // max 50 chars
214
          rippleBuildExclude(p, p.mId, "Package has no build environment", null);
214
          rippleBuildExclude(p, p.mId, "Package has no build environment", null);
215
 
215
 
216
          // package is not reproducible, discard
216
          // package is not reproducible, discard
217
          p.mBuildFile = -1;
217
          p.mBuildFile = -1;
218
          mLogger.warn("planRelease set mBuildFile to -1 for package " + p.mAlias );
218
          mLogger.info("planRelease set mBuildFile to -1 for package " + p.mAlias );
219
        }
219
        }
220
      }
220
      }
221
    }
221
    }
222
    
222
    
223
    // process packages which are not reproducible on the build platforms configured for this baseline
223
    // process packages which are not reproducible on the build platforms configured for this baseline
Line 273... Line 273...
273
          // max 50 chars
273
          // max 50 chars
274
          rippleBuildExclude(p, p.mId, "Package not built for configured platforms", null);
274
          rippleBuildExclude(p, p.mId, "Package not built for configured platforms", null);
275
          
275
          
276
          // package is not reproducible on the build platforms configured for this baseline, discard
276
          // package is not reproducible on the build platforms configured for this baseline, discard
277
          p.mBuildFile = -2;
277
          p.mBuildFile = -2;
278
          mLogger.warn("planRelease set mBuildFile to -2 for package " + p.mAlias );
278
          mLogger.info("planRelease set mBuildFile to -2 for package " + p.mAlias );
279
        }
279
        }
280
      }
280
      }
281
    }      
281
    }      
282
      
282
      
283
    if (mDaemon)
283
    if (mDaemon)
Line 300... Line 300...
300
              // provide the root id and cause as recorded in the database
300
              // provide the root id and cause as recorded in the database
301
              rippleBuildExclude(p, be, it);
301
              rippleBuildExclude(p, be, it);
302
              
302
              
303
              // package is not reproducible, discard
303
              // package is not reproducible, discard
304
              p.mBuildFile = -3;
304
              p.mBuildFile = -3;
305
              mLogger.warn("planRelease set mBuildFile to -3 for package " + p.mAlias );
305
              mLogger.info("planRelease set mBuildFile to -3 for package " + p.mAlias );
306
            }
306
            }
307
            break;
307
            break;
308
          }
308
          }
309
        }
309
        }
310
      }
310
      }
Line 497... Line 497...
497
                {
497
                {
498
                  if ( canBeBuiltNow )
498
                  if ( canBeBuiltNow )
499
                  {
499
                  {
500
                    // flag package with build requirement, may get downgraded to future build requirement
500
                    // flag package with build requirement, may get downgraded to future build requirement
501
                    p.mBuildFile = 1;
501
                    p.mBuildFile = 1;
502
                    mLogger.warn("planRelease set mBuildFile to 1 for package " + p.mAlias );
502
                    mLogger.info("planRelease set mBuildFile to 1 for package " + p.mAlias );
503
                  }
503
                  }
504
                  else
504
                  else
505
                  {
505
                  {
506
                    // flag package with future build requirement
506
                    // flag package with future build requirement
507
                    p.mBuildFile = 2;
507
                    p.mBuildFile = 2;
508
                    mLogger.warn("planRelease set mBuildFile to 2 for package " + p.mAlias );
508
                    mLogger.info("planRelease set mBuildFile to 2 for package " + p.mAlias );
509
                  }
509
                  }
510
                }
510
                }
511
                else
511
                else
512
                {
512
                {
513
                  if ( canBeBuiltNow )
513
                  if ( canBeBuiltNow )
Line 569... Line 569...
569
          Package p = it.next();
569
          Package p = it.next();
570
          
570
          
571
          if ( p.mProcessed && p.mBuildFile == 1 )
571
          if ( p.mProcessed && p.mBuildFile == 1 )
572
          {
572
          {
573
            p.mBuildFile = buildFile;
573
            p.mBuildFile = buildFile;
574
            mLogger.warn("planRelease 2 set mBuildFile to " + buildFile + " for package " + p.mAlias );
574
            mLogger.info("planRelease 2 set mBuildFile to " + buildFile + " for package " + p.mAlias );
575
                        
575
                        
576
            if ( buildFile == 1 )
576
            if ( buildFile == 1 )
577
            {
577
            {
578
              int pvApplied = p.applyPV(mReleaseManager, mBaseline);
578
              int pvApplied = p.applyPV(mReleaseManager, mBaseline);
579
              
579
              
Line 615... Line 615...
615
            // at this point...
615
            // at this point...
616
            // only 1 package with a build requirement has a mBuildFile of 1,
616
            // only 1 package with a build requirement has a mBuildFile of 1,
617
            // all other packages with a build requirement have an mBuildFile of 2
617
            // all other packages with a build requirement have an mBuildFile of 2
618
            // give packages with no build requirement, reproducible or not, an mBuildFile of 3
618
            // give packages with no build requirement, reproducible or not, an mBuildFile of 3
619
            p.mBuildFile = 3;
619
            p.mBuildFile = 3;
620
            mLogger.warn("planRelease 1 set mBuildFile to 3 for package " + p.mAlias );
620
            mLogger.info("planRelease 1 set mBuildFile to 3 for package " + p.mAlias );
621
          }
621
          }
622
        }
622
        }
623
      }
623
      }
624
      else
624
      else
625
      {
625
      {
Line 867... Line 867...
867
  {
867
  {
868
    mLogger.debug("rippleBuildExclude");
868
    mLogger.debug("rippleBuildExclude");
869
    if ( p.mBuildFile == 0 || p.mBuildFile == 1 )
869
    if ( p.mBuildFile == 0 || p.mBuildFile == 1 )
870
    {
870
    {
871
      p.mBuildFile = -5;
871
      p.mBuildFile = -5;
872
      mLogger.warn("rippleBuildExclude set mBuildFile to -5 for package " + p.mAlias );
872
      mLogger.info("rippleBuildExclude set mBuildFile to -5 for package " + p.mAlias );
873
      
873
      
874
      // if found, process it, else add it (unprocessed)
874
      // if found, process it, else add it (unprocessed)
875
      boolean found = false;
875
      boolean found = false;
876
      for (Iterator<BuildExclusion> it = mBuildExclusionCollection.iterator(); it.hasNext(); )
876
      for (Iterator<BuildExclusion> it = mBuildExclusionCollection.iterator(); it.hasNext(); )
877
      {
877
      {