Documentation
¶
Overview ¶
Package pointless contains code for the pointless build checker.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckBuilder ¶
func CheckBuilder( affectedFiles []string, relevantPaths []*testplans_pb.PointlessBuildCheckRequest_Path, builderName string, ignoreKnownNonPortageDirectories bool, cfg *testplans_pb.BuildIrrelevanceCfg) (*testplans_pb.PointlessBuildCheckResponse, error)
CheckBuilder assesses whether a child builder is pointless for a given CQ run. This may be the case if the commits in the CQ run don't affect any files that could possibly affect this builder's relevant paths.
func ExtractAffectedFiles ¶
func ExtractAffectedFiles(changes []*bbproto.GerritChange, changeRevs *gerrit.ChangeRevData, repoToSrcRoot map[string]map[string]string) ([]string, error)
Get all of the files referenced by each Gerrit Change in the build. File paths are prefixed by the source path for the Gerrit project as specified in the manifest.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.