summaryrefslogtreecommitdiff
path: root/devdocs/elisp/archive-web-server.html
blob: 0094233d9fd59bb2fcf3f0c2e75321becce1c4ce (plain)
1
2
3
4
5
6
7
8
9
10
 <h3 class="section">Interfacing to an archive web server</h3>  <p>A web server providing access to a package archive must support the following queries: </p> <dl compact> <dt>archive-contents</dt> <dd>
<p>Return a lisp form describing the archive contents. The form is a list of ’package-desc’ structures (see <samp>package.el</samp>), except the first element of the list is the archive version. </p> </dd> <dt>&lt;package name&gt;-readme.txt</dt> <dd>
<p>Return the long description of the package. </p> </dd> <dt>&lt;file name&gt;.sig</dt> <dd>
<p>Return the signature for the file. </p> </dd> <dt>&lt;file name&gt;</dt> <dd>
<p>Return the file. This will be the tarball for a multi-file package, or the single file for a simple package. </p> </dd> </dl><div class="_attribution">
  <p class="_attribution-p">
    Copyright &copy; 1990-1996, 1998-2022 Free Software Foundation, Inc. <br>Licensed under the GNU GPL license.<br>
    <a href="https://www.gnu.org/software/emacs/manual/html_node/elisp/Archive-Web-Server.html" class="_attribution-link">https://www.gnu.org/software/emacs/manual/html_node/elisp/Archive-Web-Server.html</a>
  </p>
</div>