Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(821)

Unified Diff: deploytool/cmd/luci_deploy/checkout.go

Issue 2182213002: deploytool: Add README.md, migrate docs to it. (Closed) Base URL: https://github.com/luci/luci-go@master
Patch Set: Rename to "luci_deploy" Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « deploytool/cmd/luci_deploy/build.go ('k') | deploytool/cmd/luci_deploy/config.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: deploytool/cmd/luci_deploy/checkout.go
diff --git a/deploytool/cmd/checkout.go b/deploytool/cmd/luci_deploy/checkout.go
similarity index 99%
rename from deploytool/cmd/checkout.go
rename to deploytool/cmd/luci_deploy/checkout.go
index 03fa10e2dec5ded1a56ba2eb6d62c311ab0b8eb9..462a7aeeea2292c17eba6b7586f8afe0d28d7a96 100644
--- a/deploytool/cmd/checkout.go
+++ b/deploytool/cmd/luci_deploy/checkout.go
@@ -27,7 +27,7 @@ import (
// deployToolCfg is the name of the source-root deployment configuration file.
const (
// deployToolCfg is the name of the source-root deploytool configuration file.
- deployToolCfg = ".luci-deploytool.cfg"
+ deployToolCfg = "luci-deploy.cfg"
// checkoutsSubdir is the name of the checkouts directory underneath the
// working directory.
@@ -145,7 +145,11 @@ func checkout(w *work, l *deployLayout, applyOverrides bool) error {
if override, ok := l.userSourceOverrides[sc.overrideURL]; ok {
log.Infof(w, "Applying user repository override: [%+v] => [%+v]", sc.Source, override)
+ // Any local overrides cause the source group to be considered
+ // tainted.
sc.FrozenLayout_Source.Source = override
+ sc.FrozenLayout_Source.Source.Tainted = true
+
if err := sc.addRegistryRepos(&reg); err != nil {
return errors.Annotate(err).Reason("failed to add (overridden) [%(sourceCheckout)s] to registry").
D("sourceCheckout", sc).Err()
« no previous file with comments | « deploytool/cmd/luci_deploy/build.go ('k') | deploytool/cmd/luci_deploy/config.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698