summaryrefslogtreecommitdiff
path: root/specs
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2009-06-01 14:40:17 +0200
committerSebastian Hahn <sebastian@torproject.org>2009-08-25 19:49:22 +0200
commit8fcaaa5c88234a6141ec15610777d1b70910c97d (patch)
tree9cd04bfc3e16d297e517c03864e7c01f664d8704 /specs
parentb0c4e0fd4402b3e4d16e0c8112c68704e1937b87 (diff)
All current versions of Thandy have length fields
Diffstat (limited to 'specs')
-rw-r--r--specs/thandy-spec.txt14
1 files changed, 4 insertions, 10 deletions
diff --git a/specs/thandy-spec.txt b/specs/thandy-spec.txt
index 4fc17e8..586e3fa 100644
--- a/specs/thandy-spec.txt
+++ b/specs/thandy-spec.txt
@@ -398,7 +398,7 @@
"m" : [ TIME, HASH, LENGTH ],
"k" : [ TIME, HASH, LENGTH ],
"b" : { NAME :
- [ [ Version, Path, Time, Hash, (Length) ] ] }
+ [ [ Version, Path, Time, Hash, Length ] ] }
}
TIME is when the timestamp was signed. MIRRORLISTHASH is the digest
@@ -407,8 +407,6 @@
bundles and their locations and hashes. The "name" of a bundle (in
this context) is the directory component of the bundle's path.
- The LENGTH field may be absent on very old timestamp files.
-
3.6. File formats: bundle files
{ "_type" : "Bundle",
@@ -423,7 +421,7 @@
"version" : VERSION,
"path" : PATH,
"hash" : HASH,
- ("length" : LENGTH),
+ "length" : LENGTH,
"order" : [ INST, UPDATE, REMOVE ],
("optional : BOOL, )
"gloss" : { LANG : TEXT },
@@ -447,9 +445,6 @@
language. The UI should display the must appropriate language to the
user.
- The LENGTH field is required on all new bundles, but may be absent
- on very old ones.
-
3.7. File formats: package files
{ "_type" : "Package",
@@ -458,14 +453,13 @@
"version" : VERSION,
"format" : FMT,
"ts" : TIME,
- "files" : [ [ PATH, HASH, INFO, (LENGTH) ], ... ],
+ "files" : [ [ PATH, HASH, INFO, LENGTH ], ... ],
"shortdesc" : { LANG : DESC, ... },
"longdesc" : { LANG : DESC, ... },
}
Most elements are self-explanatory. To interpret the 'INFO' entry
- for each installable file, see section 6. The LENGTH field is
- required on all new packages, but may be absent on very old ones.
+ for each installable file, see section 6.
No two package files in the same repository should have the same
name and version. If a package needs to be changed, the version