Part of lp.soyuz.model.binarypackagebuild View In Hierarchy
Method | new | See IBinaryPackageBuildSet . |
Method | getByID | See IBinaryPackageBuildSet . |
Method | getByBuildFarmJob | See ISpecificBuildFarmJobSource . |
Method | preloadBuildsData | Undocumented |
Method | getByBuildFarmJobs | See ISpecificBuildFarmJobSource . |
Method | getBySourceAndLocation | Undocumented |
Method | handleOptionalParamsForBuildQueries | Construct query clauses needed/shared by all getBuild..() methods. |
Method | getBuildsForBuilder | See IBinaryPackageBuildSet . |
Method | getBuildsForArchive | See IBinaryPackageBuildSet . |
Method | getBuildsForDistro | See IBinaryPackageBuildSet . |
Method | getBuildsBySourcePackageRelease | See IBinaryPackageBuildSet . |
Method | findBuiltOrPublishedBySourceAndArchive | See IBinaryPackageBuildSet . |
Method | getStatusSummaryForBuilds | See IBinaryPackageBuildSet . |
Method | getByQueueEntry | See IBinaryPackageBuildSet . |
Static Method | addCandidateSelectionCriteria | See ISpecificBuildFarmJobSource . |
Static Method | postprocessCandidate | See ISpecificBuildFarmJobSource . |
Method | createForSource | See ISourcePackagePublishingHistory . |
Method | _decorate_with_prejoins | Decorate build records with related data prefetch functionality. |
Method | _prefetchBuildData | Used to pre-populate the cache with build related data. |
Method | _getAllowedArchitectures | Filter out any restricted architectures not specifically allowed |
This method is not exposed via the public interface as it is only used to DRY-up trusted code.
Parameters | clauses | container to which to add any resulting query clauses. |
origin | container to which to add joined tables. | |
status | optional build state for which to add a query clause if present. | |
name | optional source package release name (or list of source package release names) for which to add a query clause if present. | |
optional pocket (or list of pockets) for which to add a query clause if present. | ||
arch_tag | optional architecture tag for which to add a query clause if present. |
When dealing with a group of Build records we can't use the prejoin facility to also fetch BuildQueue, SourcePackageRelease and LibraryFileAlias records in a single query because the result set is too large and the queries time out too often.
So this method receives a list of Build instances and fetches the corresponding SourcePackageRelease and LibraryFileAlias rows (prejoined with the appropriate SourcePackageName and LibraryFileContent respectively) as well as builders related to the Builds at hand.
ISpecificBuildFarmJobSource
.