De-tabbify, and minor fixup in preamble header order.
This commit is contained in:
parent
d2fa426a96
commit
aa609ea0e9
104
pep-0243.txt
104
pep-0243.txt
|
@ -2,12 +2,12 @@ PEP: 243
|
|||
Title: Module Repository Upload Mechanism
|
||||
Version: $Revision$
|
||||
Author: jafo-pep@tummy.com (Sean Reifschneider)
|
||||
Discussions-To: distutils-sig@python.org
|
||||
Status: Draft
|
||||
Type: Standards Track
|
||||
Created: 18-Mar-2001
|
||||
Python-Version: 2.1
|
||||
Post-History:
|
||||
Discussions-To: distutils-sig@python.org
|
||||
Post-History: 20-Mar-2001
|
||||
|
||||
|
||||
Abstract
|
||||
|
@ -39,29 +39,29 @@ Upload Process
|
|||
The upload will be made to the host "modules.python.org" on port
|
||||
80/tcp. The form will consist of the following fields:
|
||||
|
||||
distribution -- The file containing the module software (for
|
||||
example, a .tar.gz or .zip file).
|
||||
distribution -- The file containing the module software (for
|
||||
example, a .tar.gz or .zip file).
|
||||
|
||||
distmd5sum -- The MD5 hash of the uploaded distribution,
|
||||
encoded in ASCII representing the hexadecimal representation
|
||||
of the digest ("for byte in digest: s = s + ('%02x' %
|
||||
ord(byte))").
|
||||
distmd5sum -- The MD5 hash of the uploaded distribution,
|
||||
encoded in ASCII representing the hexadecimal representation
|
||||
of the digest ("for byte in digest: s = s + ('%02x' %
|
||||
ord(byte))").
|
||||
|
||||
pkginfo -- The file containing the distribution meta-data (as
|
||||
specified in PEP-241 [1]).
|
||||
pkginfo -- The file containing the distribution meta-data (as
|
||||
specified in PEP-241 [1]).
|
||||
|
||||
infomd5sum -- The MD5 hash of the uploaded meta-data, encoded
|
||||
in ASCII representing the hexadecimal representation of the
|
||||
digest ("for byte in digest: s = s + ('%02x' % ord(byte))").
|
||||
infomd5sum -- The MD5 hash of the uploaded meta-data, encoded
|
||||
in ASCII representing the hexadecimal representation of the
|
||||
digest ("for byte in digest: s = s + ('%02x' % ord(byte))").
|
||||
|
||||
platform (optional) -- A string representing the target
|
||||
platform for this distribution. This is only for binary
|
||||
distributions. It is encoded as
|
||||
"<os_name>-<os_version>-<platform architecture>".
|
||||
platform (optional) -- A string representing the target
|
||||
platform for this distribution. This is only for binary
|
||||
distributions. It is encoded as
|
||||
"<os_name>-<os_version>-<platform architecture>".
|
||||
|
||||
signature (optional) -- A GPG signature of the uploaded
|
||||
distribution as signed by the author. This may be used by the
|
||||
cataloging system to automate acceptance of uploads.
|
||||
signature (optional) -- A GPG signature of the uploaded
|
||||
distribution as signed by the author. This may be used by the
|
||||
cataloging system to automate acceptance of uploads.
|
||||
|
||||
|
||||
Return Data
|
||||
|
@ -69,15 +69,15 @@ Return Data
|
|||
The upload will report the status of the upload by sending the
|
||||
string "Upload status:" followed by one of the following:
|
||||
|
||||
SUCCESS -- Indicates that the upload has succeeded.
|
||||
SUCCESS -- Indicates that the upload has succeeded.
|
||||
|
||||
FAILURE -- The upload is, for some reason, unable to be
|
||||
processed.
|
||||
FAILURE -- The upload is, for some reason, unable to be
|
||||
processed.
|
||||
|
||||
TRYAGAIN -- The server is unable to accept the upload at this
|
||||
time, but the client should try again at a later time.
|
||||
Potential causes of this are resource shortages on the server,
|
||||
administrative down-time, etc...
|
||||
TRYAGAIN -- The server is unable to accept the upload at this
|
||||
time, but the client should try again at a later time.
|
||||
Potential causes of this are resource shortages on the server,
|
||||
administrative down-time, etc...
|
||||
|
||||
Following the above string may be a human-readable string
|
||||
providing further information. This message continues to the end
|
||||
|
@ -93,31 +93,31 @@ Sample Form
|
|||
Netscape Navigator version 4.76 for Linux produces when presented
|
||||
with the following form:
|
||||
|
||||
<H1>Upload file</H1>
|
||||
<FORM NAME="fileupload" METHOD="POST" ACTION="swalowpost.cgi"
|
||||
ENCTYPE="multipart/form-data">
|
||||
<INPUT TYPE="file" NAME="distribution"><BR>
|
||||
<INPUT TYPE="text" NAME="distmd5sum"><BR>
|
||||
<INPUT TYPE="file" NAME="pkginfo"><BR>
|
||||
<INPUT TYPE="text" NAME="infomd5sum"><BR>
|
||||
<INPUT TYPE="text" NAME="platform"><BR>
|
||||
<INPUT TYPE="text" NAME="signature"><BR>
|
||||
<INPUT TYPE="SUBMIT" VALUE="Upload">
|
||||
</FORM>
|
||||
<H1>Upload file</H1>
|
||||
<FORM NAME="fileupload" METHOD="POST" ACTION="swalowpost.cgi"
|
||||
ENCTYPE="multipart/form-data">
|
||||
<INPUT TYPE="file" NAME="distribution"><BR>
|
||||
<INPUT TYPE="text" NAME="distmd5sum"><BR>
|
||||
<INPUT TYPE="file" NAME="pkginfo"><BR>
|
||||
<INPUT TYPE="text" NAME="infomd5sum"><BR>
|
||||
<INPUT TYPE="text" NAME="platform"><BR>
|
||||
<INPUT TYPE="text" NAME="signature"><BR>
|
||||
<INPUT TYPE="SUBMIT" VALUE="Upload">
|
||||
</FORM>
|
||||
|
||||
|
||||
Platforms
|
||||
|
||||
The following are valid os names:
|
||||
|
||||
debian
|
||||
hpux
|
||||
mandrake
|
||||
redhat
|
||||
solaris
|
||||
suse
|
||||
windows
|
||||
yellowdog
|
||||
debian
|
||||
hpux
|
||||
mandrake
|
||||
redhat
|
||||
solaris
|
||||
suse
|
||||
windows
|
||||
yellowdog
|
||||
|
||||
The above include a number of different types of distributions of
|
||||
Linux. Because of versioning issues these must be split out, and
|
||||
|
@ -131,12 +131,12 @@ Platforms
|
|||
|
||||
The following are valid architectures:
|
||||
|
||||
alpha
|
||||
hppa
|
||||
ix86
|
||||
powerpc
|
||||
sparc
|
||||
ultrasparc
|
||||
alpha
|
||||
hppa
|
||||
ix86
|
||||
powerpc
|
||||
sparc
|
||||
ultrasparc
|
||||
|
||||
|
||||
Status
|
||||
|
|
Loading…
Reference in New Issue