8000 bpo-30122: Added missing archive programs. by AraHaan · Pull Request #1228 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-30122: Added missing archive programs. #1228

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

Closed
wants to merge 6 commits into from
Closed

bpo-30122: Added missing archive programs. #1228

wants to merge 6 commits into from

Conversation

AraHaan
Copy link
Contributor
@AraHaan AraHaan commented Apr 21, 2017

Changed compression manager docs from only WinZip to favorite one perfered with WinZip.

@mention-bot
Copy link

@AraHaan, thanks for your PR! By analyzing the history of the files in this pull request, we identified @birkenfeld, @briancurtin and @serhiy-storchaka to be potential reviewers.

CPython 3.3.
an ":kbd:`Enter`" or type ``exit()`` in the interpreter to get out of it).
Once you have verified the directory, you can add it to the system path to make
it easier to start Python by just running the ``python`` command. This is
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should be two spaces after the period.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. 8000 Learn more.

ok

Copy link
Contributor
@louisom louisom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the title of the commit should be more descriptive, missing things didn't tell missing what thing for other who saw the title.

@AraHaan
Copy link
Contributor Author
AraHaan commented Apr 21, 2017

@lulouie alright on it now.

@AraHaan AraHaan changed the title bpo-30122: Added missing things to Windows docs. bpo-30122: Added missing archive programs and close option to Windows docs. Apr 21, 2017
@@ -343,3 +343,6 @@ Simply rename the downloaded file to have the .TGZ extension, and WinZip will be
able to handle it. (If your copy of WinZip doesn't, get a newer one from
https://www.winzip.com.)

If you do not like or have WinZip or if you do not want to buy a copy of it
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have Windows. Is there no built-in zip utility app for Windows?

In the previous paragraph, maybe instead we should remove the reference to specific third party tools, and just say "file compression tool" (or whatever it's called on Windows).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is true, however the built in zip utility does not support TGZ files that I know of. But I agree though as windows does have an built in zip file compressor.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright changed it to say for them to use their favorite file compression manager


Simply rename the downloaded file to have the .TGZ extension, and your
favorite file compression manager should be able to handle it. If not look
for a newer version that does it/this.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should continue to mention something specific (possibly still winzip), though it would be reasonable to add "or your favorite archive program". It is so hard to know what software is "good software" and what is virus-ware, and where to get safe copies of the good ones, in the windows world. (I just went through this myself, and ended up downloading 7-zip, but frankly getting it, unsigned, from sourceforge made me nervous even though I was installing it in a VM).

add it to the system path to make it easier to start Python by just running
the ``python`` command. This is currently an option in the installer as of
CPython 3.3.
an ":kbd:`Enter`" or type ``exit()`` in the interpreter to get out of it).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think adding a mention of 'exit()' here just confuses the exposition. I recommend against this change.

@AraHaan
Copy link
Contributor Author
AraHaan commented Apr 21, 2017

Ok then, will update it when I get back to my laptop at about 1 PM my time. It is 8:38 AM rn.

@AraHaan
Copy link
Contributor Author
AraHaan commented Apr 21, 2017

Alright back.

@AraHaan AraHaan changed the title bpo-30122: Added missing archive programs and close option to Windows docs. bpo-30122: Added missing archive programs. Apr 21, 2017
AraHaan added 2 commits April 21, 2017 13:04
Changed compression manager docs from only WinZip to favorite one perfered with WinZip.
@vstinner
Copy link
Member

I would pefer to suggest 7zip which is free rather WinZip which is a shareware.

@AraHaan
Copy link
Contributor Author
AraHaan commented Apr 27, 2017

Alright

Copy link
Member
@vstinner vstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think that 7zip requires to rename .tar.gz to .tgz.

@AraHaan
Copy link
Contributor Author
AraHaan commented Apr 27, 2017

ok, changed.

@AraHaan
Copy link
Contributor Author
AraHaan commented Apr 27, 2017

Actually, I dont think this is still even needed at all in the docs

 Sometimes, when you download the documentation package to a Windows machine
 using a web browser, the file extension of the saved file ends up being .EXE.
 This is a mistake; the extension should be .TGZ.

Maybe I can get away with removing that whole paragraph instead. I am not sure if the bug the paragraph stated still exists or not.

@AraHaan
Copy link
Contributor Author
AraHaan commented Apr 27, 2017

@Haypo what you think on the current commit?

@@ -329,17 +329,11 @@ Prior to Python 2.7 and 3.2, to terminate a process, you can use :mod:`ctypes`::

In 2.7 and 3.2, :func:`os.kill` is implemented similar to the above function,
with the additional feature of being able to send :kbd:`Ctrl+C` and :kbd:`Ctrl+Break`
to console subprocesses which are designed to handle those signals. See
to console subprocesses which are designed to handle those signals. See
:func:`os.kill` for further details.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest removing this whitespace change, adds noise.

https://www.winzip.com.)

Use 7zip or your favorite archive program to handle the downloaded documentation
package. If not look for a newer version that does.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This new wording seems okay to me. Windows built-in archive support cannot handle .tgz. 7zip is probably the preferred tool but any decent archive program like WinZip or WinRAR should handle it too. The note about .EXE extensions seems unnecessary. I've never seen a Windows browser do that but maybe they did at some point. I'd guess that is useless historical trivia at this point.

@AraHaan
Copy link
Contributor Author
AraHaan commented May 7, 2017

Is this about ready to merge yet? Any other changes you guys want me to make?

@AraHaan
Copy link
Contributor Author
AraHaan commented Dec 20, 2017

@bitdancer, @nascheme think this is ready to merge?

Edit: I wonder what happened to the fork this was on and the branch. RIP

@nascheme
Copy link
Member

LGTM

@AraHaan
Copy link
Contributor Author
AraHaan commented Jan 19, 2018

uh @nascheme It looks like since I cant commit to the repo this PR was on anymore I think you might have to somehow get the diff to this one, and then make an news entry (if needed) and then merge (or merge it like it is somehow) it seems that appveyor and the news bot are having issues with this pr on my iPhone.

@brettcannon
Copy link
Member

To try and help move older pull requests forward, we are going through and backfilling 'awaiting' labels on pull requests that are lacking the label. Based on the current reviews, the best we can tell in an automated fashion is that a core developer requested changes to be made to this pull request.

If/when the requested changes have been made, please leave a comment that says, I have made the requested changes; please review again. That will trigger a bot to flag this pull request as ready for a follow-up review.

@AraHaan
Copy link
Contributor Author
AraHaan commented Feb 4, 2018

I have made the requested changes; please review again.

@bedevere-bot
Copy link

Thanks for making the requested changes!

@bitdancer: please review the changes made to this pull request.

@AraHaan
Copy link
Contributor Author
AraHaan commented Feb 4, 2018

Hopefully this can get merged since I lost the fork this was on somehow. Most likely I deleted the fork and forgot It was for this pull request.

@matrixise matrixise added the docs Documentation in the Doc dir label May 15, 2019
@JulienPalard
Copy link
Member
JulienPalard commented Sep 9, 2019

This paragraph does no longer exists since 5719f27.
Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting change review docs Documentation in the Doc dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0