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

Unified Diff: go/src/infra/tools/cipd/doc.go

Issue 1129043003: cipd: Refactor client to make it more readable. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 5 years, 7 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/deployer_test.go ('k') | go/src/infra/tools/cipd/ensure.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: go/src/infra/tools/cipd/doc.go
diff --git a/go/src/infra/tools/cipd/doc.go b/go/src/infra/tools/cipd/doc.go
deleted file mode 100644
index 8fa72858a974936377116c77c8f0080d6ff3a506..0000000000000000000000000000000000000000
--- a/go/src/infra/tools/cipd/doc.go
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-/*
-Package cipd implements client side of Chrome Infra Package Deployer.
-
-TODO: write more.
-
-Binary package file format (in free form representation):
- <binary package> := <zipped data>
- <zipped data> := DeterministicZip(<all input files> + <manifest json>)
- <manifest json> := File{
- name: ".cipdpkg/manifest.json",
- data: JSON({
- "FormatVersion": "1",
- "PackageName": <name of the package>
- }),
- }
- DeterministicZip = zip archive with deterministic ordering of files and stripped timestamps
-
-Main package data (<zipped data> above) is deterministic, meaning its content
-depends only on inputs used to built it (byte to byte): contents and names of
-all files added to the package (plus 'executable' file mode bit) and a package
-name (and all other data in the manifest).
-
-Binary package data MUST NOT depend on a timestamp, hostname of machine that
-built it, revision of the source code it was built from, etc. All that
-information will be distributed as a separate metadata packet associated with
-the package when it gets uploaded to the server.
-
-TODO: expand more when there's server-side package data model (labels
-and stuff).
-*/
-package cipd
-
-import "github.com/Sirupsen/logrus"
-
-// Default package level logger.
-var log = logrus.New()
« no previous file with comments | « go/src/infra/tools/cipd/deployer_test.go ('k') | go/src/infra/tools/cipd/ensure.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698