summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pehjota>2013-07-21 15:47:09 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-07-21 15:47:09 (EDT)
commite3da073aab945432b5f08ca2949a3e6a54a684a2 (patch)
treeb91c162690653f2ddfcf47d74fe71663a79cb112
parentac1b50e454051b9cd40539e5c871967da9eac076 (diff)
dev/archive/layout: Define "hash".
-rw-r--r--dev/archive/layout.mdwn12
1 files changed, 11 insertions, 1 deletions
diff --git a/dev/archive/layout.mdwn b/dev/archive/layout.mdwn
index b941ee0..5b3bb45 100644
--- a/dev/archive/layout.mdwn
+++ b/dev/archive/layout.mdwn
@@ -104,6 +104,16 @@ Pool
The **pool** is the common storage area for all packages.
+Hash
+----
+
+The **hash** of a source package name, as used in the pool structure, is the
+first character in the name or the first four characters in the name if the name
+begins with the string "`lib`".
+
+A directory in the pool whose name is a source package name hash may be called a
+**bucket**.
+
Archive Layout
==============
@@ -121,7 +131,7 @@ The layout of the package archive is given by the following tree:
| +- Packages.gz
+- pool/
+- <component>/
- +- <letter>/
+ +- <hash>/
+- <srcpkg>/
+- <binpkg>_<binver>_<arch>_<plat>.opk