update from Richard Jones

This commit is contained in:
David Goodger 2003-04-27 13:48:39 +00:00
parent 4792d74ccd
commit c773b1b2ce
1 changed files with 22 additions and 38 deletions

View File

@ -108,17 +108,17 @@ The web interface implements the following commands/interfaces:
update will update all information about the package based on the
new submitted information.
There will also be a submit/edit form that will allow manual submission
and updating for those who do not use Distutils.
There will also be a submit/edit form that will allow manual
submission and updating for those who do not use Distutils.
**submit_pkg_info**
Accepts a POST submission of a PKG-INFO file and performs the same
function as the **submit** interface.
**user**
Registers a new user with the index. Requires username, password and
email address. Passwords will be stored in the index database as SHA
hashes. If the username already exists in the database:
Registers a new user with the index. Requires username, password
and email address. Passwords will be stored in the index database
as SHA hashes. If the username already exists in the database:
1. If valid HTTP Basic authentication is provided, the password and
email address are updated with the submission information, or
@ -195,9 +195,9 @@ The index is stored in a set of relational database tables:
ID.
**release_discriminators**
Each entry maps a package (*name*, *version*) to a *discriminator_id*.
We map to releases instead of packages because the set of
discriminators may change between releases.
Each entry maps a package (*name*, *version*) to a
*discriminator_id*. We map to releases instead of packages because
the set of discriminators may change between releases.
**journals**
Holds information about changes to package information in the
@ -233,8 +233,8 @@ will be prompted at exit to save their username/password to a file
in their ``$HOME`` directory in the file ``.pypirc``.
Notification of changes to a package entry will be sent to all users
who have submitted information about the package. That is, the original
submitter and any subsequent updaters.
who have submitted information about the package. That is, the
original submitter and any subsequent updaters.
The *register* command will include a ``--verify`` option which
performs a test submission to the index without actually committing
@ -288,14 +288,14 @@ limitation.
The list of classification values on the module index has been merged
from FreshMeat and SourceForge (with their permission). This list
will be made available both through the web interface and through the
*regsiter* command's ``--list-classifiers`` option as a text list
*register* command's ``--list-classifiers`` option as a text list
which may then be copied to the ``setup.py`` file. The *register*
command's ``--verify`` option will check classifiers values against
the server's list.
Unfortunately, the addition of the "classifiers" property is not
backwards-compatible. A setup.py file using it will not work under
Python 2.1.3. It is hoped that a bugfix release of Python 2.2 (most
Python 2.1.3. It is hoped that a bug-fix release of Python 2.2 (most
likely 2.2.3) will relax the argument checking of the setup() command
to allow new keywords, even if they're not actually used. It is
preferable that a warning be produced, rather than a show-stopping
@ -316,35 +316,18 @@ In the PKG-INFO, the classifiers list items will appear as individual
Url: http://sourceforge.net/projects/roundup/
Reference Implementation
========================
Implementation
==============
Reference code is available from the SourceForge project:
The server is be available at:
http://www.python.org/pypi
The code is available from the SourceForge project:
http://sourceforge.net/projects/pypi/
A demonstration will be available at:
http://www.amk.ca/cgi-bin/pypi.cgi
===== =============================================================
Done Feature
===== =============================================================
Y Submission via *register* command (register.py module)
Y Web interface
Y Handling of the *classifiers* setup() keyword (dist.py.patch)
Y Patch Python 2.2.3 to relax keyword argument checks in the
distutils setup() function
N Patch Python 2.3 to apply the dist.py.patch
N Library reference documentation of the *register* command and
additional *classifiers* keyword
===== =============================================================
In the two days of the 22nd and 23rd October 2002, after the first
announcement to the Catalog-SIG (22nd) and Distutils-SIG (23rd), the
initial prototype had 45 visitors (not including myself), two of whom
used the *register* command to submit package information.
The *register* command has been integrated into Python 2.3.
Rejected Proposals
@ -360,7 +343,8 @@ PEP 243):
A description of the reason for failure, or additional information
in the case of a success.
However, it has been pointed out [8]_ that this is a bad scheme to use.
However, it has been pointed out [8]_ that this is a bad scheme to
use.
References