Movatterモバイル変換


[0]ホーム

URL:


homepage

Issue28513

This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title:Document zipfile CLI
Type:enhancementStage:resolved
Components:DocumentationVersions:Python 3.7, Python 3.6, Python 3.5, Python 2.7
process
Status:closedResolution:fixed
Dependencies:Superseder:
Assigned To: serhiy.storchakaNosy List: SilentGhost, alanmcintyre, berker.peksag, docs@python, martin.panter, matrixise, python-dev, serhiy.storchaka, twouters, xiang.zhang
Priority:normalKeywords:patch

Created on2016-10-23 10:36 byserhiy.storchaka, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.

Files
File nameUploadedDescriptionEdit
zipfile_cli_docs.patchserhiy.storchaka,2016-10-23 10:36
Pull Requests
URLStatusLinkedEdit
PR 552closeddstufft,2017-03-31 16:36
Messages (9)
msg279250 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2016-10-23 10:36
Command-line interface of the zipfile module is supported long time, but it is not documented. Proposed patch documents it. It is based on the documentation of tarfile CLI.
msg279256 -(view)Author: Stéphane Wirtel (matrixise)*(Python committer)Date: 2016-10-23 12:24
Serhiy, your patch seems to be good, you can merge it, I have tested it with sphinx and the documentation is fine.Thanks
msg279760 -(view)Author: Xiang Zhang (xiang.zhang)*(Python committer)Date: 2016-10-31 02:58
LGTM.
msg279807 -(view)Author: SilentGhost (SilentGhost)*(Python triager)Date: 2016-10-31 17:04
Serhiy, this needs .. program:: zipfile directive specified before cmdoption. Without it :option:`-c` links to python's -c, rather than zipfile's. The -l and -e are linked correctly, but the option links would have be be changed for all three, i.e. to :option:`-c <zipfile -c>`
msg279819 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2016-10-31 18:34
Thanks SilentGhost!
msg279835 -(view)Author: Martin Panter (martin.panter)*(Python committer)Date: 2016-10-31 21:59
Apparently (haven’t tried myself) if you put “.. program:: zipfile” before the :option: invocations, it changes the default context and you don’t need the <zipfile . . .> bit.The text in general looks fine. One very minor thing: I would use a hyphen when “command line” is a modifier on another noun, i.e. command-line interface, command-line options.
msg279857 -(view)Author: SilentGhost (SilentGhost)*(Python triager)Date: 2016-11-01 07:10
> Apparently (haven’t tried myself) if you put “.. program:: zipfile” before the :option: invocations, it changes the default context and you don’t need the <zipfile . . .> bit.Yes, moving program directive just after "Command Line Interface" heading works fine.
msg279917 -(view)Author: Roundup Robot (python-dev)(Python triager)Date: 2016-11-02 10:14
New changesetfeb6e8678512 by Serhiy Storchaka in branch '2.7':Issue#28513: Documented command-line interface of zipfile.https://hg.python.org/cpython/rev/feb6e8678512New changesetb51bf32defb1 by Serhiy Storchaka in branch '3.5':Issue#28513: Documented command-line interface of zipfile.https://hg.python.org/cpython/rev/b51bf32defb1New changeset843538a4094b by Serhiy Storchaka in branch '3.6':Issue#28513: Documented command-line interface of zipfile.https://hg.python.org/cpython/rev/843538a4094bNew changeset0c8ffa562f3a by Serhiy Storchaka in branch 'default':Issue#28513: Documented command-line interface of zipfile.https://hg.python.org/cpython/rev/0c8ffa562f3a
msg279918 -(view)Author: Serhiy Storchaka (serhiy.storchaka)*(Python committer)Date: 2016-11-02 10:16
Applied both Martin's suggestion. Thank you all!
History
DateUserActionArgs
2022-04-11 14:58:38adminsetgithub: 72699
2017-03-31 16:36:21dstufftsetpull_requests: +pull_request954
2016-11-02 10:16:03serhiy.storchakasetstatus: open -> closed
resolution: fixed
messages: +msg279918

stage: patch review -> resolved
2016-11-02 10:14:10python-devsetnosy: +python-dev
messages: +msg279917
2016-11-02 09:47:19serhiy.storchakasetassignee:docs@python ->serhiy.storchaka
2016-11-01 11:28:39SilentGhostsetcomponents: - XML
2016-11-01 10:55:12armando mendozasetcomponents: + XML
2016-11-01 07:10:10SilentGhostsetmessages: +msg279857
2016-10-31 21:59:40martin.pantersetmessages: +msg279835
2016-10-31 18:34:38serhiy.storchakasetmessages: +msg279819
2016-10-31 17:04:35SilentGhostsetnosy: +SilentGhost

messages: +msg279807
stage: commit review -> patch review
2016-10-31 02:58:06xiang.zhangsetnosy: +xiang.zhang
messages: +msg279760
2016-10-30 17:01:02serhiy.storchakasetnosy: +martin.panter
2016-10-23 12:24:21matrixisesetstage: patch review -> commit review
2016-10-23 12:24:16matrixisesetnosy: +matrixise
messages: +msg279256
2016-10-23 11:05:52serhiy.storchakasettitle: Documment zipfile CLI -> Document zipfile CLI
2016-10-23 10:36:17serhiy.storchakacreate
Supported byThe Python Software Foundation,
Powered byRoundup
Copyright © 1990-2022,Python Software Foundation
Legal Statements

[8]ページ先頭

©2009-2026 Movatter.jp