summaryrefslogtreecommitdiff
path: root/doc/external-dependency-solver-protocol.txt
diff options
context:
space:
mode:
authorStefano Zacchiroli <zack@debian.org>2013-09-04 17:13:49 +0200
committerStefano Zacchiroli <zack@debian.org>2014-05-04 18:24:24 +0200
commitcaa3279367401965cbdd5e3a41c47945f3e263bd (patch)
treefde295ea1eaaa127db457932ae96d38d65cbc49a /doc/external-dependency-solver-protocol.txt
parent25252738d5ad6042b356f2d6bec2ca52ef08a1e2 (diff)
EDSP: add Architecture(s) multi-arch fields to the Request stanza
Diffstat (limited to 'doc/external-dependency-solver-protocol.txt')
-rw-r--r--doc/external-dependency-solver-protocol.txt13
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/external-dependency-solver-protocol.txt b/doc/external-dependency-solver-protocol.txt
index 7d41571de..477bc23ed 100644
--- a/doc/external-dependency-solver-protocol.txt
+++ b/doc/external-dependency-solver-protocol.txt
@@ -110,7 +110,8 @@ Within a dependency solving scenario, a request represents the action on
installed packages requested by the user.
A request is a single Deb 822 stanza opened by a mandatory Request field
-and followed by a mixture of action and preference fields.
+and followed by a mixture of action, preference, and global
+configuration fields.
The value of the **Request:** field is a string describing the EDSP
protocol which will be used to communicate. At present, the string must
@@ -118,6 +119,16 @@ be `EDSP 0.5`. Request fields are mainly used to identify the beginning
of a request stanza; their actual values are otherwise not used by the
EDSP protocol.
+The following **configuration fields** are supported in request stanzas:
+
+- **Architecture:** (mandatory) The name of the *native* architecture on
+ the user machine (see also: `dpkg --print-architecture`)
+
+- **Architectures:** (optional, defaults to the native architecture) A
+ space separated list of *all* architectures known to APT (this is
+ roughly equivalent to the union of `dpkg --print-architecture` and
+ `dpkg --print-foreign-architectures`)
+
The following **action fields** are supported in request stanzas:
- **Install:** (optional, defaults to the empty string) A space