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