Просмотр исходного кода

EDSP: bump protocol version to 0.5

Stefano Zacchiroli лет назад: 13
Родитель
Сommit
25252738d5
2 измененных файлов с 3 добавлено и 3 удалено
  1. 1 1
      apt-pkg/edsp.cc
  2. 2 2
      doc/external-dependency-solver-protocol.txt

+ 1 - 1
apt-pkg/edsp.cc

@@ -231,7 +231,7 @@ bool EDSP::WriteRequest(pkgDepCache &Cache, FILE* output, bool const Upgrade,
 	 continue;
 	 continue;
       req->append(" ").append(Pkg.FullName());
       req->append(" ").append(Pkg.FullName());
    }
    }
-   fprintf(output, "Request: EDSP 0.4\n");
+   fprintf(output, "Request: EDSP 0.5\n");
    if (del.empty() == false)
    if (del.empty() == false)
       fprintf(output, "Remove: %s\n", del.c_str()+1);
       fprintf(output, "Remove: %s\n", del.c_str()+1);
    if (inst.empty() == false)
    if (inst.empty() == false)

+ 2 - 2
doc/external-dependency-solver-protocol.txt

@@ -1,4 +1,4 @@
-# APT External Dependency Solver Protocol (EDSP) - version 0.4
+# APT External Dependency Solver Protocol (EDSP) - version 0.5
 
 
 This document describes the communication protocol between APT and
 This document describes the communication protocol between APT and
 external dependency solvers. The protocol is called APT EDSP, for "APT
 external dependency solvers. The protocol is called APT EDSP, for "APT
@@ -114,7 +114,7 @@ and followed by a mixture of action and preference fields.
 
 
 The value of the **Request:** field is a string describing the EDSP
 The value of the **Request:** field is a string describing the EDSP
 protocol which will be used to communicate. At present, the string must
 protocol which will be used to communicate. At present, the string must
-be `EDSP 0.4`. Request fields are mainly used to identify the beginning
+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
 of a request stanza; their actual values are otherwise not used by the
 EDSP protocol.
 EDSP protocol.