cv/

directory
v0.0.0-...-51f9457 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2021 License: Apache-2.0

README

LUCI Change Verifier

LUCI Change Verifier (CV) is the service that will replace CQ. CQ is the legacy service that verifies patches before they are submitted.

TODO(crbug.com/920494): Update this after migrating to the new service.

What's here?

As of September 2020:

  • api: Protobuf files specifying the config schema, BigQuery schema, etc.
  • appengine: A GAE app, under construction.
  • internal: Implementation for the GAE app, under construction.

Directories

Path Synopsis
api
config/legacy
Package tricium has a simplified version of Tricium Project Config proto.
Package tricium has a simplified version of Tricium Project Config proto.
config/v2
Package config contains the CQ config schema.
Package config contains the CQ config schema.
migration
Package migrationpb is internal to LUCI CV and CQDaemon.
Package migrationpb is internal to LUCI CV and CQDaemon.
recipe/v1
Package recipe contains CQ Recipe input proto.
Package recipe contains CQ Recipe input proto.
internal
admin
Package admin implements CV admin API.
Package admin implements CV admin API.
admin/api
Package adminpb contains LUCI CV admin/maintainer APIs definitions.
Package adminpb contains LUCI CV admin/maintainer APIs definitions.
changelist
Package changelist implements operations on a single CL.
Package changelist implements operations on a single CL.
common
Package common contains widely used CV utilities & types.
Package common contains widely used CV utilities & types.
common/bq
Package bq handles sending rows to BigQuery.
Package bq handles sending rows to BigQuery.
common/eventbox
Package eventbox batches incoming events for a single Datastore entity for processing.
Package eventbox batches incoming events for a single Datastore entity for processing.
common/eventbox/dsset
Package dsset implements a particular flavor of Datastore-on-Firestore backed set.
Package dsset implements a particular flavor of Datastore-on-Firestore backed set.
common/lease
Package lease provides a way to "lock" an external resource with expiration time so that concurrent processes/task executions can achieve exclusive privilege to make mutations (generally long-running and non-idempotent) on that resource.
Package lease provides a way to "lock" an external resource with expiration time so that concurrent processes/task executions can achieve exclusive privilege to make mutations (generally long-running and non-idempotent) on that resource.
common/tree
Package tree implements fetching tree status from Tree Status App.
Package tree implements fetching tree status from Tree Status App.
common/tree/treetest
Package treetest implements fake Tree for testing in CV.
Package treetest implements fake Tree for testing in CV.
configs/prjcfg
Package prjcfg handles project-scoped CV config.
Package prjcfg handles project-scoped CV config.
configs/prjcfg/prjcfgtest
Package prjcfgtest eases controlling of project configs in test.
Package prjcfgtest eases controlling of project configs in test.
configs/srvcfg
Package srvcfg provides service-wide configs.
Package srvcfg provides service-wide configs.
cvtesting
Package cvtesting reduces boilerplate in tests.
Package cvtesting reduces boilerplate in tests.
cvtesting/benchmarks
Package benchmarks contains benchmarks for heavy CV use cases.
Package benchmarks contains benchmarks for heavy CV use cases.
cvtesting/e2e
Package e2e contains all CV end-to-end tests.
Package e2e contains all CV end-to-end tests.
gerrit
Package gerrit contains Gerrit utility functions.
Package gerrit contains Gerrit utility functions.
gerrit/botdata
Package botdata implements parsing and generation logic for BotData.
Package botdata implements parsing and generation logic for BotData.
gerrit/cancel
Package cancel implements cancelling triggers of Run by removing CQ Votes on a CL.
Package cancel implements cancelling triggers of Run by removing CQ Votes on a CL.
gerrit/cfgmatcher
Package cfgmatcher efficiently matches a CL to 0+ ConfigGroupID for a single LUCI project.
Package cfgmatcher efficiently matches a CL to 0+ ConfigGroupID for a single LUCI project.
gerrit/cqdepend
Package cqdepend parses CQ-Depend directives in CL description.
Package cqdepend parses CQ-Depend directives in CL description.
gerrit/gerritfake
Package gerritfake implements fake Gerrit for needs of CV tests.
Package gerritfake implements fake Gerrit for needs of CV tests.
gerrit/gobmap
Package gobmap finds relevant LUCI project config given a Gerrit CL.
Package gobmap finds relevant LUCI project config given a Gerrit CL.
gerrit/gobmap/gobmaptest
Package gobmaptest eases use of gobmap package in tests.
Package gobmaptest eases use of gobmap package in tests.
gerrit/poller
Package poller polls Gerrit for interesting CV changes.
Package poller polls Gerrit for interesting CV changes.
gerrit/trigger
Package trigger determines if and how Gerrit CL is triggered.
Package trigger determines if and how Gerrit CL is triggered.
gerrit/updater
Package updater fetches latest CL data from Gerrit.
Package updater fetches latest CL data from Gerrit.
gerrit/updater/updatertest
Package updatertest provides test helpers for Gerrit CL Updater.
Package updatertest provides test helpers for Gerrit CL Updater.
migration
Package migration implements migration API to be called by CQDaemon.
Package migration implements migration API to be called by CQDaemon.
migration/cqdfake
Package cqdfake implements fake CQDaemon for use in tests.
Package cqdfake implements fake CQDaemon for use in tests.
migration/migrationcfg
package migrationcfg contains config-related CQD migration funcs.
package migrationcfg contains config-related CQD migration funcs.
prjmanager
Package prjmanager implements public API for Project Manager.
Package prjmanager implements public API for Project Manager.
prjmanager/clpurger
Package clpurger purges CLs with a trigger for which Runs can't be started.
Package clpurger purges CLs with a trigger for which Runs can't be started.
prjmanager/copyonwrite
Package copyonwrite providers helpers for modifying slices in Copy-on-Write way.
Package copyonwrite providers helpers for modifying slices in Copy-on-Write way.
prjmanager/itriager
Package itriager defines interface of a CL component triage process.
Package itriager defines interface of a CL component triage process.
prjmanager/manager
Package manager implements a ProjectManager.
Package manager implements a ProjectManager.
prjmanager/pmtest
Package pmtest implements tests for working with Project Manager.
Package pmtest implements tests for working with Project Manager.
prjmanager/prjpb
package prjinternal stores protos for event processing of ProjectManager.
package prjinternal stores protos for event processing of ProjectManager.
prjmanager/state
Package state implements state machine of a Project Manager.
Package state implements state machine of a Project Manager.
prjmanager/triager
Package triager proposes concrete actions on a group of related CLs.
Package triager proposes concrete actions on a group of related CLs.
run
Package run implements public interface for Run Manager.
Package run implements public interface for Run Manager.
run/bq
Package bq provides functionality for sending finished Run rows to BigQuery.
Package bq provides functionality for sending finished Run rows to BigQuery.
run/eventpb
Package eventpb stores protos for event processing of RunManager.
Package eventpb stores protos for event processing of RunManager.
run/impl
Package impl implements a RunManager.
Package impl implements a RunManager.
run/impl/handler
Package handler implements handlers that handles run events.
Package handler implements handlers that handles run events.
run/impl/state
Package state defines the model for a Run state.
Package state defines the model for a Run state.
run/impl/submit
Package submit contains utilities for Run submission.
Package submit contains utilities for Run submission.
run/runcreator
Package runcreator creates new Runs.
Package runcreator creates new Runs.
run/runtest
Package runtest implements tests for working with Run Manager.
Package runtest implements tests for working with Run Manager.
usertext
Package usertext generates messages for users (humans) using Go templating system.
Package usertext generates messages for users (humans) using Go templating system.

Jump to

Keyboard shortcuts

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