summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/patchcheck.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-32256: Make patchcheck.py work for out-of-tree builds (GH-4760)Alexey Izbyshev2018-10-201-3/+9
| | | Set SRCDIR as the current directory for git.
* remove hg support from patchcheck (GH-7440)Benjamin Peterson2018-06-061-21/+3
|
* bpo-31221: patchcheck ignores external libraries (#3109)Victor Stinner2017-08-171-2/+20
| | | | | | | | | | | | | | | | Tools/scripts/patchcheck.py now ignores changes in directories which are copies of external libraries: * Modules/_ctypes/libffi_msvc/ * Modules/_ctypes/libffi_osx/ * Modules/_decimal/libmpdec/ * Modules/expat/ * Modules/zlib/ Drop also support for Mercurial, since CPython migrated to Git. Exclude also libmpdec patchcheck: exclude also libffi_osx and libffi_msvc
* Update `make patchcheck` for blurb and NEWS.d (#2381)Antoine Pitrou2017-06-251-5/+5
|
* Check the whitespace of pull requests on Travis (GH-2367)Brett Cannon2017-06-241-2/+32
|
* Issue #29798: Handle git worktree in patchcheck (#1058)Nick Coghlan2017-04-091-1/+1
| | | | The original attempted fix missed an `isdir()` call in `get_base_branch()`.
* bpo-29798: Handle git worktree in `make patchcheck` (#629)Nick Coghlan2017-03-121-1/+4
| | | | In git worktree directories, `.git` is a configuration file rather than a subdirectory
* bpo-29656: Handle PR branches in 'make patchcheck' (#302)Nick Coghlan2017-03-121-6/+52
|
* Issue #24031: make patchcheck now supports git checkouts, too.Christian Heimes2015-04-231-9/+25
|
* Closes #22663: patchcheck: only modify text files under Doc/Georg Brandl2014-10-191-1/+2
|
* Issue #18439: Make patchcheck work on Windows for ACKS, NEWS.Terry Jan Reedy2013-07-221-5/+6
|
* Merge patchcheck changes with 3.2Ezio Melotti2013-01-111-1/+2
|\
| * Add a note about checking refleaks to patchcheck.Ezio Melotti2013-01-111-1/+2
| |
* | merge 3.2Matthias Klose2012-03-141-2/+2
|\ \ | |/
* | Modify patchcheck.py to check for changes to configure.in.Ross Lagerwall2012-03-111-0/+19
| | | | | | | | | | It now reports if configure and pyconfig.h.in weren't regenerated but configure.in was changed.
* | Merge: #14053: Fix "make patchcheck" to work with MQ.Nadeem Vawda2012-02-221-0/+12
|\ \ | |/ | | | | Patch by Francisco Martín Brugué
| * Issue #14053: Fix "make patchcheck" to work with MQ.Nadeem Vawda2012-02-221-0/+12
| | | | | | | | Patch by Francisco Martín Brugué
* | Merge 3.2Éric Araujo2011-08-121-2/+3
|\ \ | |/
| * patchcheck: don’t talk about the test suite when no code file were changed.Éric Araujo2011-08-121-2/+3
| | | | | | | | | | | | The line about the test suite will still get printed for changes in Tools for example, which aren’t covered by the test suite, but it’s not a big deal IMO.
* | Small cleanupÉric Araujo2011-07-311-9/+4
| |
* | Merge fixes for #9860, #11104/#8688 and #12331 from 3.2Éric Araujo2011-07-311-7/+13
|\ \ | |/
| * Let “make patchcheck” work for out-of-dir builds (#9860)Éric Araujo2011-07-301-7/+13
| |
* | Merge from 3.2 (#10318, #12255, #12043, #12417 and other fixes)Éric Araujo2011-07-291-0/+1
|\ \ | |/
| * Fix missing or wrong shebangs and missing executable bits for scripts (#10318)Éric Araujo2011-07-261-0/+1
| |
* | general cleaning upBenjamin Peterson2011-06-271-11/+3
| |
* | remove svn supportBenjamin Peterson2011-06-271-3/+0
|/
* Fix resource warning from patchcheck.pyÉric Araujo2010-11-221-6/+9
|
* #9095, #8912, #8999: add support in patchcheck for Mercurial checkouts, C ↵Georg Brandl2010-10-211-13/+62
| | | | file reindenting, and docs whitespace fixing.
* Clean up syntax for some scripts.Florent Xicluna2010-08-091-15/+13
|
* Do some basic refactoring. Along the way also list what files had theirBrett Cannon2010-07-041-14/+32
| | | | | | whitespace cleaned up and do the proper plurality for "N file(s)" based on N. Refactoring closes issue8912. Thanks to Éric Araujo for the patch.
* Merged revisions ↵Benjamin Peterson2009-01-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 68450,68480-68481,68493,68495,68501,68512,68514-68515,68534-68536,68552,68563,68570-68572,68575,68582,68596,68623-68624,68628 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r68450 | jeffrey.yasskin | 2009-01-09 10:47:07 -0600 (Fri, 09 Jan 2009) | 3 lines Fix issue 4884, preventing a crash in the socket code when python is compiled with llvm-gcc and run with a glibc <2.10. ........ r68480 | vinay.sajip | 2009-01-10 07:38:04 -0600 (Sat, 10 Jan 2009) | 1 line Minor documentation changes cross-referencing NullHandler to the documentation on configuring logging in a library. ........ r68481 | vinay.sajip | 2009-01-10 07:42:04 -0600 (Sat, 10 Jan 2009) | 1 line Corrected an incorrect self-reference. ........ r68493 | benjamin.peterson | 2009-01-10 11:18:55 -0600 (Sat, 10 Jan 2009) | 1 line rewrite verbose conditionals ........ r68495 | benjamin.peterson | 2009-01-10 11:36:44 -0600 (Sat, 10 Jan 2009) | 1 line tp_iter only exists with Py_TPFLAGS_HAVE_ITER #4901 ........ r68501 | vinay.sajip | 2009-01-10 13:22:57 -0600 (Sat, 10 Jan 2009) | 1 line Corrected minor typo and added .currentmodule directives to fix missing cross-references. ........ r68512 | benjamin.peterson | 2009-01-10 16:42:10 -0600 (Sat, 10 Jan 2009) | 1 line make tests fail if they can't be imported ........ r68514 | benjamin.peterson | 2009-01-10 17:41:59 -0600 (Sat, 10 Jan 2009) | 1 line move seealso to a more appropiate place ........ r68515 | benjamin.peterson | 2009-01-10 17:49:08 -0600 (Sat, 10 Jan 2009) | 1 line macos 9 isn't supported ........ r68534 | gregory.p.smith | 2009-01-11 11:53:33 -0600 (Sun, 11 Jan 2009) | 2 lines correct email address ........ r68535 | gregory.p.smith | 2009-01-11 11:57:54 -0600 (Sun, 11 Jan 2009) | 9 lines Update the documentation for binascii and zlib crc32/adler32 functions to better describe the signed vs unsigned return value behavior on different platforms and versions of python. Mention the workaround to make them all return the same thing by using & 0xffffffff. Fixes issue4903. Also needs to be merged into release26-maint, release30-maint, & py3k. ........ r68536 | benjamin.peterson | 2009-01-11 13:48:15 -0600 (Sun, 11 Jan 2009) | 1 line add email addresses ........ r68552 | vinay.sajip | 2009-01-12 14:36:18 -0600 (Mon, 12 Jan 2009) | 1 line Minor changes/corrections in markup. ........ r68563 | benjamin.peterson | 2009-01-12 19:49:10 -0600 (Mon, 12 Jan 2009) | 1 line small logic correction ........ r68570 | raymond.hettinger | 2009-01-13 03:08:32 -0600 (Tue, 13 Jan 2009) | 5 lines Issue 4922: Incorrect comments for MutableSet.add() and MutableSet.discard(). Needs to be backported to 2.6 and forward ported to 3.0 and 3.1. ........ r68571 | armin.ronacher | 2009-01-13 05:52:23 -0600 (Tue, 13 Jan 2009) | 3 lines ast.literal_eval can properly evaluate complex numbers now. This fixes issue4907. ........ r68572 | andrew.kuchling | 2009-01-13 07:40:54 -0600 (Tue, 13 Jan 2009) | 1 line Note that first coord. is left alone ........ r68575 | thomas.heller | 2009-01-13 11:32:28 -0600 (Tue, 13 Jan 2009) | 1 line Fix refcount leak in error cases. Bug found by coverity. ........ r68582 | georg.brandl | 2009-01-13 16:14:01 -0600 (Tue, 13 Jan 2009) | 2 lines Use assertRaises. ........ r68596 | amaury.forgeotdarc | 2009-01-13 17:39:22 -0600 (Tue, 13 Jan 2009) | 3 lines #1162154: inspect.getmembers() now skips attributes that raise AttributeError, e.g. a __slots__ attribute which has not been set. ........ r68623 | vinay.sajip | 2009-01-15 16:48:13 -0600 (Thu, 15 Jan 2009) | 1 line Made minor changes/corrections in markup. Added a couple of section headings. ........ r68624 | vinay.sajip | 2009-01-15 17:04:47 -0600 (Thu, 15 Jan 2009) | 1 line Minor changes/corrections in markup. ........ r68628 | benjamin.peterson | 2009-01-15 20:55:24 -0600 (Thu, 15 Jan 2009) | 1 line compare with == not is #4946 ........
* Convert the input from stdout to text.Brett Cannon2008-03-181-1/+1
|
* Merged revisions 61520,61523-61528,61532 via svnmerge fromChristian Heimes2008-03-181-0/+90
svn+ssh://pythondev@svn.python.org/python/trunk ........ r61520 | thomas.heller | 2008-03-18 16:03:17 +0100 (Di, 18 Mär 2008) | 5 lines Include <alloca.h> on Solaris, see issue #1506. It would probably be better to have a configure test for that, but this is outside of my configure expertise. ........ r61523 | brett.cannon | 2008-03-18 16:35:58 +0100 (Di, 18 Mär 2008) | 5 lines Remove all traces of HAVE_STRERROR. The removal of strerror.c led to the function check being removed from configure.in. ........ r61524 | brett.cannon | 2008-03-18 16:52:00 +0100 (Di, 18 Mär 2008) | 2 lines Fix test_errno to only check for error numbers that are defined by Standard C. ........ r61525 | steven.bethard | 2008-03-18 17:00:19 +0100 (Di, 18 Mär 2008) | 1 line Use test_support.unlink instead of os.unlink in tearDown(). (Seems to fix an occasional failure in Windows Vista.) ........ r61526 | brett.cannon | 2008-03-18 17:47:51 +0100 (Di, 18 Mär 2008) | 3 lines Cast the arguments to PyString_AsStringAndSize() to silence compiler warnings on OS X. ........ r61527 | sean.reifschneider | 2008-03-18 18:24:12 +0100 (Di, 18 Mär 2008) | 3 lines Issue 1577: shutil.move() where destination is a directory was doing a copy, now it is doing a os.rename() if it's on the same file-system. ........ r61528 | brett.cannon | 2008-03-18 18:25:13 +0100 (Di, 18 Mär 2008) | 12 lines Add Tools/scripts/patchcheck.py. Invoked from ``make check``, the script does some verification: - Runs reindent.py on all .py files. - Checks if any changes in Doc exist. - Whether Misc/ACKS was changed. - Whether Misc/NEWS was changed. The hope is that ``make check`` can become a command anybody can run to get reminders about what all the requisite steps needed to create a proper patch/checkin. ........ r61532 | neal.norwitz | 2008-03-18 18:58:02 +0100 (Di, 18 Mär 2008) | 1 line Get regrtest working when re-running tests ........