This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2013年03月29日 02:13 by ezio.melotti, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| issue17570.diff | webwin, 2013年04月07日 09:14 | |||
| issue17570.diff | webwin, 2013年04月07日 12:20 | |||
| iss17570.patch | willingc, 2015年04月22日 14:38 | |||
| iss17570v2.patch | willingc, 2015年07月28日 08:38 | |||
| issue17570.patch | PeterLovett, 2015年08月04日 03:31 | |||
| issue17570-2.patch | PeterLovett, 2015年08月04日 05:12 | |||
| Messages (22) | |||
|---|---|---|---|
| msg185482 - (view) | Author: Ezio Melotti (ezio.melotti) * (Python committer) | Date: 2013年03月29日 02:13 | |
This is a follow up of #14468, and in particular of msg183031. The instructions in the "committing" page of the devguide are unix-centric, in particular: 1) on Windows ~/.hgrc is $HOME$/mercurial.ini; 2) the "Settings dialogs" of TortoiseHG can/should be used to edit mercurial.ini; 3) the devguide suggests "./python.exe Tools/scripts/patchcheck.py", but ./ doesn't work on Windows. |
|||
| msg186184 - (view) | Author: Volodymyr Bezkostnyy (webwin) * | Date: 2013年04月07日 09:14 | |
Deleted ./ before python.exe |
|||
| msg186193 - (view) | Author: Georg Brandl (georg.brandl) * (Python committer) | Date: 2013年04月07日 11:06 | |
At least two of the changes in the patch are incorrect because they refer to the Mac OS X "python.exe". |
|||
| msg186198 - (view) | Author: Volodymyr Bezkostnyy (webwin) * | Date: 2013年04月07日 12:20 | |
Revert changes for Mac OS X |
|||
| msg186311 - (view) | Author: Andrew Svetlov (asvetlov) * (Python committer) | Date: 2013年04月08日 15:38 | |
Sorry, but you cannot just rewrite ./python.exe to just python.exe At least in http://docs.python.org/devguide/buildbots you have to make probably three sections: 1. for linux users to use just ./python 2. for Mac ./python.exe 3. for Windows <path to repo>/PCBuild/python.exe or python_d.exe (IIRC) |
|||
| msg221362 - (view) | Author: Zachary Ware (zach.ware) * (Python committer) | Date: 2014年06月23日 15:16 | |
What about adding a new "Platform Quirks" page listing all the known differences in usage between the three major platforms? Then in places where the instructions are a bit different per platform, like: ./python.exe -m test -j3 write something like <python> -m test -j3 and add a link to the relevant part of the Quirks page. On the other hand, are there enough such "quirks" (meaning things that really are the same, just different invocations/etc.) to warrant a new page? |
|||
| msg221363 - (view) | Author: Zachary Ware (zach.ware) * (Python committer) | Date: 2014年06月23日 15:17 | |
As previously pointed out, the current patches are not adequate. |
|||
| msg241807 - (view) | Author: Carol Willing (willingc) * (Python committer) | Date: 2015年04月22日 14:38 | |
This patch addresses Ezio's original issue in msg185482 to improve the Windows instructions on the "committing" page of the devguide. I have tried to match the style of the "Getting Started" page when distinguishing UNIX (Mac OS X) commands from Windows commands. Please take extra care during review that the Windows commands documented are correct. Barring reviewer changes, this patch should close this issue. |
|||
| msg241813 - (view) | Author: Steve Dower (steve.dower) * (Python committer) | Date: 2015年04月22日 15:51 | |
Right at the end of the patch, ".hg/hgrc" also exists on Windows and is not the same as mercurial.ini - hgrc here is per-repo and it seems from the context that this is relevant here. Otherwise, the rest looks good to me. I'll merge it in when I get a chance, unless someone else gets there first. |
|||
| msg247508 - (view) | Author: Carol Willing (willingc) * (Python committer) | Date: 2015年07月28日 08:38 | |
Updated patch to include Steve Dower's feedback. |
|||
| msg247981 - (view) | Author: Peter Lovett (PeterLovett) * | Date: 2015年08月04日 03:31 | |
Tiny change on case of Windows file 'mercurial.ini' Although Windows is case-insensitive on filenames, the file itself is named in lowercase (I'm using TortoiseHg v3.4.2; I'm assuming older versions of TortoiseHg also name it in this way.) |
|||
| msg247983 - (view) | Author: Peter Lovett (PeterLovett) * | Date: 2015年08月04日 05:12 | |
Also a similar change to patch.rst ./python.exe should be: PCbuild\<target>\python.exe |
|||
| msg247989 - (view) | Author: Steve Dower (steve.dower) * (Python committer) | Date: 2015年08月04日 15:27 | |
Looks like the patchcheck section also has a "PCBuild/python.exe" that should be fixed. Are the previous commenters satisfied with the fixes? |
|||
| msg247991 - (view) | Author: Zachary Ware (zach.ware) * (Python committer) | Date: 2015年08月04日 15:40 | |
In the patch: -add configuration settings to ``~/.hgrc`` for the relevant repo(s) (remember +add configuration settings to ``~/.hgrc`` (``mercurial.ini`` on Windows) +for the relevant repo(s) (remember This is nonsensical, `~/.hgrc` (`%USERPROFILE%\Mercurial.ini`) is the user-level Mercurial configuration; the settings "for the relevant repo(s)" are in `.hg/hgrc` in the repository (same on all platforms). Btw, for me, the user-level config file on Windows has always been title-cased (`Mercurial.ini`) unless I preemptively created it myself. Really doesn't matter, though :) |
|||
| msg248255 - (view) | Author: Carol Willing (willingc) * (Python committer) | Date: 2015年08月08日 07:59 | |
Steve and Zach, If you are happy with the changes, I have no objection to committing and closing this issue. |
|||
| msg248594 - (view) | Author: Carol Willing (willingc) * (Python committer) | Date: 2015年08月14日 16:58 | |
Zach, Steve, Ezio: The latest patch is ready to be committed. Thanks. |
|||
| msg248595 - (view) | Author: Zachary Ware (zach.ware) * (Python committer) | Date: 2015年08月14日 17:01 | |
The part of the patch that I pointed out in my previous message hasn't changed, and is wrong. |
|||
| msg248597 - (view) | Author: Carol Willing (willingc) * (Python committer) | Date: 2015年08月14日 17:27 | |
Zach, Sorry for not comprehending your comment re: latest patch correctly. Since Rietveld isn't available on devguide, which makes comparison of patches difficult (at least for me), here's some proposed wording to see if I am understanding your comment correctly. If so, I will submit a new patch. Thanks. Suggested wording for: Minimal Configuration --------------------- To use Mercurial as a committer (both of your and others’ patches), you should set up some basic options in your configuration file. On all platforms, you must edit ~/.hgrc. On Windows, TortoiseHg has a graphical settings dialog for most options, meaning you don’t need to edit the file directly if you find a graphical interface more helpful. |
|||
| msg248601 - (view) | Author: Zachary Ware (zach.ware) * (Python committer) | Date: 2015年08月14日 18:28 | |
Sorry, I don't think we're on the same page yet :). My issue was with a different hunk further down. Looking at it again, the fix I want is simple enough I'll just do it at commit; I'll get it later today. |
|||
| msg248611 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2015年08月14日 20:13 | |
New changeset 49be7fba3568 by Zachary Ware in branch 'default': Closes #17570: Improve instructions for Windows. https://hg.python.org/devguide/rev/49be7fba3568 |
|||
| msg248612 - (view) | Author: Zachary Ware (zach.ware) * (Python committer) | Date: 2015年08月14日 20:17 | |
Made a couple of other fixes while fixing the point I'd already raised: - Changed all instances of "`...`" to "*...*" - Changed from "PCbuild\python.exe" to "python.bat" - Wrapped a couple long lines Thanks for the patch! |
|||
| msg248620 - (view) | Author: Carol Willing (willingc) * (Python committer) | Date: 2015年08月14日 21:41 | |
Thanks Zach :D Makes more sense now ;) |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:43 | admin | set | github: 61770 |
| 2015年08月14日 21:41:10 | willingc | set | messages: + msg248620 |
| 2015年08月14日 20:17:05 | zach.ware | set | messages: + msg248612 |
| 2015年08月14日 20:13:44 | python-dev | set | status: open -> closed nosy: + python-dev messages: + msg248611 resolution: fixed stage: commit review -> resolved |
| 2015年08月14日 18:28:34 | zach.ware | set | assignee: willingc -> zach.ware messages: + msg248601 stage: needs patch -> commit review |
| 2015年08月14日 17:27:29 | willingc | set | messages: + msg248597 |
| 2015年08月14日 17:01:31 | zach.ware | set | stage: commit review -> needs patch |
| 2015年08月14日 17:01:07 | zach.ware | set | messages: + msg248595 |
| 2015年08月14日 16:58:07 | willingc | set | messages:
+ msg248594 stage: patch review -> commit review |
| 2015年08月08日 07:59:38 | willingc | set | messages: + msg248255 |
| 2015年08月04日 15:40:08 | zach.ware | set | messages: + msg247991 |
| 2015年08月04日 15:27:33 | steve.dower | set | messages: + msg247989 |
| 2015年08月04日 05:12:22 | PeterLovett | set | files:
+ issue17570-2.patch messages: + msg247983 |
| 2015年08月04日 03:31:57 | PeterLovett | set | files:
+ issue17570.patch nosy: + PeterLovett messages: + msg247981 |
| 2015年07月28日 08:38:36 | willingc | set | files:
+ iss17570v2.patch messages: + msg247508 |
| 2015年04月22日 15:51:15 | steve.dower | set | messages: + msg241813 |
| 2015年04月22日 14:38:02 | willingc | set | files:
+ iss17570.patch nosy: + willingc messages: + msg241807 assignee: willingc stage: needs patch -> patch review |
| 2015年03月07日 16:57:51 | ezio.melotti | set | nosy:
+ steve.dower |
| 2014年06月23日 15:17:38 | zach.ware | set | messages:
+ msg221363 stage: patch review -> needs patch |
| 2014年06月23日 15:16:02 | zach.ware | set | messages: + msg221362 |
| 2014年06月23日 15:02:30 | berker.peksag | set | nosy:
+ zach.ware stage: needs patch -> patch review |
| 2013年04月08日 15:38:45 | asvetlov | set | messages: + msg186311 |
| 2013年04月07日 12:20:41 | webwin | set | files:
+ issue17570.diff messages: + msg186198 |
| 2013年04月07日 11:06:26 | georg.brandl | set | nosy:
+ georg.brandl messages: + msg186193 |
| 2013年04月07日 09:14:44 | webwin | set | files:
+ issue17570.diff nosy: + asvetlov, webwin messages: + msg186184 keywords: + patch |
| 2013年03月29日 02:13:34 | ezio.melotti | create | |