pointless

package
v0.0.0-...-3a98d3a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2025 License: BSD-3-Clause Imports: 10 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL