New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
move the "Uploading Packages" section to distutils/packageindex.rst #60610
Comments
I think the Package Index (PyPI) documentation would be clearer if the section called "Uploading Packages to the Package Index": http://docs.python.org/3.4/distutils/uploading.html were made a part of the previous section about PyPI (now called "Registering with the Package Index"): http://docs.python.org/3.4/distutils/packageindex.html The combined section could then be renamed simply to "The Python Package Index (PyPI)". Both sections are small and very closely related. For example, the second half of the section on uploading (the subsection called "PyPI package display") is not actually about uploading but rather about registering and PyPI in general. Similarly, the second half of the first section on registering (the subsection called "The .pypirc file") applies equally to uploading as it does to registering. I was affected by the current organization, for example, because it gave the impression that uploading updates the PyPI package display (which is conceivable since PKG-INFO is part of the uploaded files). Rather, it is registering a version which updates the package display for that version. A combined section on PyPI would better reflect how things should be understood. |
I’m reluctant to break links. I think the issues you report could be fixed or mitigated with changes to text, clarifications, interlinks. What do you think? |
I've been meaning to ask Georg or anyone else knowledgeable about what options we have for redirects, etc. -- specifically for this issue. Maybe something similar can even be done using Sphinx. If we can't redirect, I was thinking even a stub page with a manual link to the PyPI page might be an improvement (to prevent the broken external link issue you mention). |
Redirects are no problem in principle, but it should not get out of hand. A simple "this was here but now isn't" page might be better. |
Attached is a proposed patch. |
Updating patch with use of the :orphan: directive (so that the old page can be excluded from the table of contents/toctree without issuing a Sphinx warning). |
Updated the last patch by moving the "PyPI package display" to beneath the "Registering Packages" section (since only the register command affects the package display). Éric, does this look okay to you? I didn't change the text of any of the sections -- only moved them (and added introductory page text and index entries). |
Attaching an improved patch. This patch improves the introductory wording, adds some additional hyperlinks, and changes the order of one of the inserted sections. |
LGTM. Some comments on Rietveld. |
New changeset a9565750930e by Chris Jerdonek in branch '2.7': New changeset f57ddf3c3e5d by Chris Jerdonek in branch '3.2': New changeset 58a28aa70fec by Chris Jerdonek in branch '3.3': New changeset 44ebac378e51 by Chris Jerdonek in branch 'default': |
Thanks a lot for taking the time to review, guys. |
I created bpo-17311 for a suggestion Éric made on Rietveld. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: