log contrib/check-code.py @ 38956:a3cabe9415e1

age author description
Wed, 01 Aug 2018 13:08:00 -0700 Gregory Szorc check-code: ban use of bare xrange()
Sat, 05 May 2018 18:35:16 -0700 Gregory Szorc pycompat: export queue module instead of symbols in module (API)
Sat, 31 Mar 2018 15:54:26 -0400 Matt Harbison check-code: tighten the check for `ls -R`
Wed, 14 Mar 2018 14:05:45 -0400 Augie Fackler contrib: fix a subtle bug in check-code's regex rewriting
Wed, 14 Mar 2018 15:42:23 -0400 Augie Fackler contrib: open a hole in the open().read() ban for open().close()
Tue, 13 Feb 2018 18:00:59 -0500 Augie Fackler contrib: ban $RANDOM using check-code
Sat, 16 Dec 2017 12:34:40 -0500 Matt Harbison tests: fix the check-code rule for testing non-existent files
Sat, 16 Dec 2017 11:32:10 -0500 Matt Harbison tests: convert the 'file://\$TESTTMP' rule to an automatic substitution
Thu, 14 Dec 2017 22:26:46 +0900 Yuya Nishihara check-code: remove unused variable 'winglobmsg'
Sun, 10 Dec 2017 22:45:35 -0500 Matt Harbison check-code: drop the rules for adding (glob) for Windows paths
Sat, 09 Dec 2017 00:39:15 +0900 Yuya Nishihara check-code: allow tabs in heredoc
Tue, 05 Dec 2017 16:44:20 -0500 Augie Fackler contrib: ban find(1)'s -printf operator, as it is a GNU-ism
Wed, 29 Nov 2017 17:06:45 -0500 Augie Fackler contrib: improve check-code ban on $LOCALIP in output without (glob)
Sat, 18 Nov 2017 13:00:47 +0800 Anton Shestakov check-code: grep's context flags don't need an extra space before number
Mon, 16 Oct 2017 11:43:41 -0400 Augie Fackler contrib: remove check-code rule about indentation
Thu, 12 Oct 2017 09:34:58 -0700 Jun Wu check-code: suggest pycompat.is(posix|windows|darwin)
Wed, 11 Oct 2017 17:42:57 -0700 Jun Wu check-code: forbid platform.system()
Wed, 11 Oct 2017 03:48:11 -0700 Augie Fackler contrib: add check-code rule banning use of readlink
Thu, 05 Oct 2017 14:18:55 -0700 Saurabh Singh test-check-code: fail new commits which use 'atexit' instead of 'ui.atexit'
Mon, 02 Oct 2017 02:34:47 -0700 Siddharth Agarwal check-code: allow an exception for camelcase where required
Fri, 29 Sep 2017 11:55:44 -0400 Augie Fackler contrib: add a check to check-code to ban superfluous pass statements
Wed, 06 Sep 2017 08:22:54 -0700 Martin von Zweigbergk check-code: fix incorrect capitalization in camelcase regex
Fri, 01 Sep 2017 16:44:30 -0700 Jun Wu check-code: forbid "\S" in egrep regular expression
Fri, 01 Sep 2017 15:47:32 -0700 Jun Wu check-code: forbid using bash in shebang
Fri, 07 Jul 2017 15:11:11 -0400 Augie Fackler check-code: prohibit `if False` antipattern
Thu, 06 Jul 2017 15:15:02 -0400 Augie Fackler contrib: widen "direct use of `python`" net again
Tue, 20 Jun 2017 17:25:57 -0400 Augie Fackler contrib: widen the "don't use `python`" net a little
Tue, 20 Jun 2017 09:49:43 -0400 Augie Fackler contrib: add check-code rule to enforce non-use of `python` in tests
Tue, 06 Jun 2017 08:58:27 -0700 Danek Duvall check-code: ban grep's context flags (-A/-B/-C) since they're not on Solaris
Wed, 31 May 2017 11:41:54 -0700 Jun Wu check-code: suggest policy.importmod
Sun, 21 May 2017 13:34:42 -0700 Siddharth Agarwal check-code: allow skipping hasattr check in py3-only code
Mon, 15 May 2017 14:08:02 -0400 Augie Fackler style: ban [ foo == bar] bashism in tests
Mon, 01 May 2017 17:23:48 +0900 Yuya Nishihara check-code: ignore re-exports of os.environ in encoding.py
Wed, 26 Apr 2017 21:51:19 +0900 Yuya Nishihara check-code: exclude demandimport.py and policy.py from Python 3 checks
Mon, 01 May 2017 17:10:22 +0900 Yuya Nishihara check-code: rewrite py3 exclusion pattern with negative lookahead
Mon, 10 Apr 2017 17:05:54 +0200 Pierre-Yves David checkcode: only match pushd/popd as word
Thu, 06 Apr 2017 22:08:23 -0700 Jun Wu check-code: use "-" to specify a list of files from stdin
Mon, 03 Apr 2017 18:58:00 -0400 Augie Fackler check-code: update test IP address enforcement checks
Mon, 03 Apr 2017 11:30:51 -0700 Martin von Zweigbergk check-code: fix "covert" typo
Wed, 29 Mar 2017 16:46:57 -0700 Jun Wu check-code: detect r.revision(r.node(rev))
Sun, 26 Mar 2017 19:57:17 -0700 Jun Wu runtests: change local IP glob pattern from "127.0.0.1" to "$LOCALIP"
Thu, 23 Mar 2017 21:23:21 -0700 Jun Wu checkcode: enforce lowercase for extension docstring title
Tue, 21 Mar 2017 22:46:17 -0700 Gregory Szorc check-code: recommend util.urlreq when importing urlparse
Mon, 13 Mar 2017 12:40:14 -0700 Gregory Szorc py3: add __bool__ to every class defining __nonzero__
Mon, 13 Feb 2017 09:44:16 -0800 Martin von Zweigbergk merge with stable
Sat, 11 Feb 2017 00:23:55 +0900 FUJIWARA Katsunori misc: replace domain of mercurial-devel ML address by mercurial-scm.org stable
Sat, 11 Feb 2017 00:23:53 +0900 FUJIWARA Katsunori misc: replace domain of mercurial ML address by mercurial-scm.org stable
Sat, 21 Jan 2017 14:43:13 -0800 Yedidya Feldblum check-code: permit functools.reduce
Sun, 15 Jan 2017 13:17:05 +0530 Pulkit Goyal py3: replace pycompat.getenv with encoding.environ.get
Fri, 13 Jan 2017 10:11:37 -0800 Martin von Zweigbergk check-code: reject module-level @cachefunc
Wed, 21 Dec 2016 22:42:31 +0530 Pulkit Goyal py3: add warnings in check-code related to py3
Wed, 30 Nov 2016 19:23:04 +0000 Jun Wu check-code: add a rule to forbid "cp -r"
Tue, 01 Nov 2016 20:39:37 +0900 FUJIWARA Katsunori contrib: check reference to old selenic.com domain stable
Tue, 01 Nov 2016 20:39:36 +0900 FUJIWARA Katsunori check-code: discard filtering result of previous check for independence stable
Tue, 16 Aug 2016 17:15:54 +0900 Yuya Nishihara check-code: allow assignment to hasattr variable
Mon, 15 Aug 2016 17:17:39 +0900 Yuya Nishihara check-code: make dict() pattern less invasive
Fri, 20 May 2016 09:47:35 +0900 FUJIWARA Katsunori check-code: move fixing up regexp into main procedure
Fri, 20 May 2016 09:47:35 +0900 FUJIWARA Katsunori check-code: factor out boot procedure into main
Wed, 13 Jul 2016 23:38:29 +0530 Pulkit Goyal py3: conditionalize BaseHTTPServer, SimpleHTTPServer and CGIHTTPServer import
Sat, 09 Jul 2016 23:04:03 -0400 Augie Fackler check-code: enforce (glob) on output lines containing 127.0.0.1
Tue, 12 Jul 2016 15:34:17 -0400 Augie Fackler check-code: only treat a # as a line in a t-test if it has a space before it
Tue, 28 Jun 2016 16:01:53 +0530 Pulkit Goyal py3: conditionalize httplib import
Mon, 27 Jun 2016 19:10:30 +0530 Pulkit Goyal py3: add tests in check-code to load modules from util.py
Tue, 21 Jun 2016 00:50:39 +0900 FUJIWARA Katsunori check-code: build translation table for repquote in global for efficiency
Tue, 21 Jun 2016 00:50:39 +0900 FUJIWARA Katsunori check-code: detect "missing _() in ui message" more exactly
Tue, 31 May 2016 21:49:49 +0900 Yuya Nishihara check-code: make 'ls' pattern less invasive
Tue, 31 May 2016 21:02:30 +0900 FUJIWARA Katsunori check-code: make repquote distinguish more characters for exact detection
Tue, 31 May 2016 21:02:30 +0900 FUJIWARA Katsunori check-code: centralize rules depending on implementation of repquote
Tue, 31 May 2016 21:02:30 +0900 FUJIWARA Katsunori check-code: use fixedmap for replacement of space characters
Tue, 31 May 2016 20:58:10 +0900 FUJIWARA Katsunori check-code: replace quoted characters correctly
Mon, 16 May 2016 21:18:59 +0000 timeless check-code: reject .next(...)
Wed, 11 May 2016 01:46:11 +0000 timeless check-code: handle py3 open divergence
Wed, 11 May 2016 01:44:39 +0000 timeless check-code: switch to opener
Wed, 11 May 2016 01:39:07 +0000 timeless check-code: handle range/xrange divergence
Wed, 11 May 2016 01:56:08 +0000 timeless check-code: fix py3 complaint about \NNN being invalid unicode
Fri, 06 May 2016 08:45:56 -0500 Kevin Bullock check-code: add a rule banning `env -u`
Thu, 07 Apr 2016 00:34:07 +0000 timeless check-code: reject import urllib
Wed, 06 Apr 2016 20:08:18 +0000 timeless check-code: reject import Queue, suggest util.queue class for py3 compat
Wed, 30 Mar 2016 22:01:47 +0000 timeless check-code: reject sed ... \\n
Wed, 30 Mar 2016 07:24:51 +0000 timeless py24: remove check-code py24 notation
Sat, 19 Mar 2016 20:49:02 -0400 Augie Fackler check-code: also ban strcat
Sat, 19 Mar 2016 20:18:38 -0400 Augie Fackler check-code: prevent use of strcpy
Sun, 13 Mar 2016 01:08:39 +0530 Pulkit Goyal check-code: use absolute_import and print_function
Sat, 27 Feb 2016 21:14:17 -0800 Gregory Szorc check-code: remove redundant import style check
Wed, 24 Feb 2016 18:42:14 +0000 Jun Wu check-code: allow old style class with special comments
Thu, 11 Feb 2016 02:15:45 +0900 FUJIWARA Katsunori check-code: add rule to detect usage of external diff via extdiff
Wed, 10 Feb 2016 22:44:29 +0900 FUJIWARA Katsunori check-code: examine magic pattern matching against contents of a file
Mon, 08 Feb 2016 18:29:17 +0900 FUJIWARA Katsunori tests: make chunk header of external diff glob-ed for portability
Mon, 08 Feb 2016 18:29:17 +0900 FUJIWARA Katsunori tests: make timezone in diff output glob-ed for portability
Mon, 08 Feb 2016 18:29:17 +0900 FUJIWARA Katsunori tests: omit -p for external diff via extdiff extension for portability
Tue, 02 Feb 2016 21:20:04 -0800 Martin von Zweigbergk check-code: allow "grep pattern filename-containing-dash-a"
Tue, 12 Jan 2016 15:58:59 +0000 timeless check-code: export needs a space to avoid false positives
Fri, 08 Jan 2016 12:35:02 -0600 Matt Mackall check-code: allow only-whitespace lines in tests
Thu, 31 Dec 2015 17:41:59 +0000 timeless check-code: enforce strict spacing around assignment
Thu, 24 Dec 2015 19:32:14 +0000 timeless check-code: improve test-check-code error diffs
Sun, 27 Dec 2015 15:24:48 -0800 Danek Duvall tests: Solaris diff -U also emits "No differences encountered"
Thu, 15 Oct 2015 17:28:26 -0400 timeless check-code: allow argument passing py2.6ism
Thu, 15 Oct 2015 20:36:12 -0400 timeless check-code: block non-portable pipe-and
Thu, 08 Oct 2015 12:53:09 -0700 Pierre-Yves David check-code: detect and ban 'util.Abort'
Thu, 24 Sep 2015 00:34:15 -0700 Pierre-Yves David check-code: forbid mutable value for default argument
Tue, 23 Jun 2015 22:20:01 -0700 Gregory Szorc check-code: detect legacy exception syntax
Tue, 23 Jun 2015 22:20:08 -0700 Gregory Szorc global: mass rewrite to use modern exception syntax
Tue, 23 Jun 2015 22:38:21 -0700 Gregory Szorc check-code: detect legacy octal syntax
Tue, 16 Jun 2015 23:06:30 +0900 Yuya Nishihara check-code: ban use of '[[ ]]' in tests
Tue, 19 May 2015 08:41:04 -0500 Matt Mackall check-code: reintroduce str.format() ban for 3.x porting
Mon, 18 May 2015 16:18:18 -0500 Pierre-Yves David check-code: drop ban of 'val if cond else otherval' construct
Mon, 18 May 2015 16:11:44 -0500 Pierre-Yves David check-code: drop the 'format' built-in
Mon, 18 May 2015 16:09:05 -0500 Pierre-Yves David check-code: drop ban of str.format
Mon, 18 May 2015 13:20:19 -0500 Pierre-Yves David check-code: drop ban of BaseException
Mon, 18 May 2015 12:56:59 -0500 Pierre-Yves David check-code: drop the yield inside try/finally ban
Sat, 16 May 2015 14:34:04 -0400 Augie Fackler check-code: un-ban __builtins__.all now that we're on 2.6
Sat, 16 May 2015 14:31:03 -0400 Augie Fackler check-code: un-ban any() now that we're on 2.6
Sun, 17 May 2015 17:47:42 -0700 Pierre-Yves David check-code: lift the ban on 'next()'
Sun, 17 May 2015 17:45:47 -0700 Pierre-Yves David check-code: drop the 'isdisjoint' ban
Sun, 17 May 2015 17:40:26 -0700 Pierre-Yves David check-code: fix the error message about 'class foo():'
Sun, 17 May 2015 17:36:26 -0700 Pierre-Yves David check-code: remove the check for os.path.relpath
Fri, 15 May 2015 09:54:35 -0500 Matt Mackall check-code: drop try/except/finally check
Wed, 13 May 2015 11:49:38 -0700 Pierre-Yves David check-code: allow with statements
Wed, 13 May 2015 11:41:17 -0700 Pierre-Yves David check-code: allow 'Except EClass as variable:'
Wed, 13 May 2015 11:39:48 -0700 Pierre-Yves David check-code: allow print and exec as a function