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

Unified Diff: go/src/infra/tools/cipd/local/manifest.go

Issue 1358533003: cipd: Implement 'init', 'install' and 'installed' subcommands. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 5 years, 3 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 | « go/src/infra/tools/cipd/local/deployer.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: go/src/infra/tools/cipd/local/manifest.go
diff --git a/go/src/infra/tools/cipd/local/manifest.go b/go/src/infra/tools/cipd/local/manifest.go
index 8883549d3fc5f05c5606da0341b8f85fb17cc49c..c335af0ea8b899c0288d831d34108311ecfe72a0 100644
--- a/go/src/infra/tools/cipd/local/manifest.go
+++ b/go/src/infra/tools/cipd/local/manifest.go
@@ -11,14 +11,19 @@ import (
"io/ioutil"
)
+// SiteServiceDir is a name of the directory inside an installation root
+// reserved for cipd stuff.
+const SiteServiceDir = ".cipd"
+
const (
- // Name of the directory inside an installation root reserved for cipd stuff.
- siteServiceDir = ".cipd"
- // Name of the directory inside the package reserved for cipd stuff.
+ // packageServiceDir is a name of the directory inside the package
+ // reserved for cipd stuff.
packageServiceDir = ".cipdpkg"
- // Name of the manifest file inside the package.
+
+ // manifestName is a name of the manifest file inside the package.
manifestName = packageServiceDir + "/manifest.json"
- // Format version to write to the manifest file.
+
+ // manifestFormatVersion is a version to write to the manifest file.
manifestFormatVersion = "1"
)
« no previous file with comments | « go/src/infra/tools/cipd/local/deployer.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698