Commit Graph

416 Commits

Author SHA1 Message Date
Zooko O'Whielacronx
4ead889f03 setup: show-tool-versions: report cl only on windows, report buildslave, git, openssl, and lzip, but not 7za 2012-04-01 00:59:25 +00:00
david-sarah
916d26e710 Suppress a warning from win32eventreactor on Windows (patch v2). fixes #1681 2012-02-27 19:03:17 +00:00
Brian Warner
fe1df149e1 make provisioning/reliability work in the new location, fix tests 2012-02-16 22:29:05 +00:00
Brian Warner
11f9394704 remove 'provisioning'/'reliability' from WUI, add to misc/operations_helpers
Also remove docs related to reliability/provisioning pages
2012-02-16 22:29:05 +00:00
Brian Warner
d887782418 add test-git-ignore.py, to port the 'clean' buildbot test to git
add .gitignore to match .darcs-boringfile, mostly
2012-01-08 14:12:32 -08:00
Brian Warner
37c0f2395d minor cleanup: remove trailing spaces in misc/ 2011-12-18 12:18:41 -08:00
david-sarah
4d6260d6ad check-miscaptures.py: report the number of files that were not analysed due to syntax errors (and don't count them in the number of suspicious captures). refs #1555 2011-10-09 05:03:01 +00:00
david-sarah
efd3c8b113 check-miscaptures.py: handle corner cases around default arguments correctly. Also make a minor optimization when there are no assigned variables to consider. refs #1555 2011-10-09 04:50:23 +00:00
david-sarah
5359c24e99 check-miscaptures.py: Python doesn't really have declarations; report the topmost assignment. refs #1555 2011-10-09 04:48:00 +00:00
david-sarah
1c6fe1d230 check-miscaptures.py: handle destructuring function arguments correctly. refs #1555 2011-10-09 04:47:10 +00:00
david-sarah
d2f3ef9714 check-miscaptures.py: check while loops and list comprehensions as well as for loops. Also fix a pyflakes warning. refs #1555 2011-10-09 04:40:22 +00:00
david-sarah
be1c94893f Add misc/coding_tools/check-miscaptures.py to detect incorrect captures of variables declared in a for loop, and a 'make check-miscaptures' Makefile target to run it. (It is also run by 'make code-checks'.) This is a rewritten version that reports much fewer false positives, by determining captured variables more accurately. fixes #1555 2011-10-07 07:41:21 +00:00
david-sarah
bac24aee0d Fix pyflakes warnings in misc/ directories other than misc/build_helpers. refs #1557 2011-10-07 03:30:31 +00:00
Brian Warner
1bbdec2a20 show-tool-versions: tolerate missing setuptools 2011-11-01 01:00:10 -07:00
Brian Warner
4baffeed1d show-tool-versions.py: condense output, hide file-not-found exceptions 2011-11-01 00:45:32 -07:00
Brian Warner
4952eef485 show-tool-versions.py: remove setuptools_trial, unused 2011-10-30 17:47:42 -07:00
david-sarah
3142538b0d misc/coding_tools/make-canary-files.py: fix a suspicious capture reported by check-miscaptures (although it happens not to be a bug because the callback will be processed synchronously). refs #1556 2011-10-08 22:05:31 -07:00
david-sarah
cbd0569e45 misc/check-interfaces.py: print a warning if a .pyc or .pyo file exists without a corresponding .py file. 2011-10-12 16:36:09 -07:00
david-sarah
bbb6e5d25e misc/simulators/hashbasedsig.py: simplify by removing unnecessary local function that captured a variable declared in a for loop (this was not a bug, but the code was unclear). Also fix a pyflakes warning about an import. refs #1556 2011-10-06 19:30:01 -07:00
david-sarah
32262239e5 misc/coding_tools/check_interfaces.py: report all violations rather than only one for a given class, by including a forked version of verifyClass. refs #1474 2011-09-16 15:34:50 -07:00
david-sarah
9ca8ff7bfc misc/coding_tools/check_interfaces.py: use os.walk instead of FilePath, since this script shouldn't really depend on Twisted. refs #1474 2011-09-16 14:26:33 -07:00
david-sarah
f1445ce0b2 misc/coding_tools/check-interfaces.py: reduce false-positives by adding Dummy* to the set of excluded classnames, and bench-* to the set of excluded basenames. refs #1474 2011-09-16 14:26:24 -07:00
david-sarah
417054aaba Add a script 'misc/coding_tools/check-interfaces.py' that checks whether zope interfaces are enforced. Also add 'check-interfaces', 'version-and-path', and 'code-checks' targets to the Makefile. fixes #1474 2011-09-15 09:15:32 -07:00
Brian Warner
37cd111009 remove misc/debian[_helpers], rely upon official packaging instead. fixes #1454 2011-08-11 11:27:05 -07:00
david-sarah
91c7cf9007 misc/build_helpers/run_trial.py: undo change to block pywin32 (it didn't work because run_trial.py is no longer used). refs #1334 2011-07-21 20:54:02 -07:00
david-sarah
6e0607f4e0 misc/build_helpers/run_trial.py: ensure that pywin32 is not on the sys.path when running the test suite. Includes some temporary debugging printouts that will be removed. refs #1334 2011-07-21 19:49:07 -07:00
Zooko O'Whielacronx
4f8e3e5ae8 contrib: remove the contributed fuse modules and the entire contrib/ directory, which is now empty
Also remove a couple of vestigial references to figleaf, which is long gone.
fixes #1409 (remove contrib/fuse)
2011-07-12 08:32:29 -07:00
david-sarah
a817163cc6 docs: convert NEWS to NEWS.rst and change all references to it. 2011-05-16 18:02:55 -07:00
francois
58af7c8f69 munin tahoe_files plugin: fix incorrect file count
fixes #1391
2011-04-27 22:53:12 -07:00
david-sarah
ae3373188c misc/build_helpers/run-with-pythonpath.py: fix pyflakes unused import warning. 2011-01-21 17:50:50 -08:00
david-sarah
06e0d13451 Apply pyflakes to more files and fix the resulting warnings. 2011-01-20 18:10:11 -08:00
david-sarah
5a7c99d29d Change misc/build_helpers/test-with-fake-pkg to use 'setup.py trial'. refs #1296 2011-01-18 20:24:01 -08:00
Brian Warner
1e377c2225 debian/control: add python-twisted-conch to dependencies. Closes #1095. 2011-01-16 23:12:06 -08:00
david-sarah
60d32bb7f7 misc/build_helpers/run_trial.py: fix pyflakes warning. 2011-01-15 00:04:56 -08:00
david-sarah
e2b564024b misc/build_helpers/test-with-fake-dists.py: clean up directories and files only if they exist. 2011-01-14 21:30:11 -08:00
david-sarah
089b27d9f8 misc/build_helpers/test-with-fake-dists.py: wrong arguments in comment. 2011-01-14 20:53:25 -08:00
david-sarah
33786a6d55 Attempt to fix test-with-fake-dist build step. 2011-01-14 18:26:51 -08:00
david-sarah
3ad08e6d2f misc/build_helpers/show-tool-versions.py: remove attempts to show stdout.encoding and stderr.encoding that always printed None due to redirection. Also remove code to show os.path.supports_unicode_filenames which is not useful. refs #1251 2011-01-02 17:51:44 -08:00
Brian Warner
1f0e2574cc update Makefile and coverage2el.py to coverage-3.4
It might still work with coverage-3.3 if you run with COVERAGE_OMIT=""
2010-11-25 12:38:32 -08:00
david-sarah
41e96b3e5a misc/build_helpers/run_trial.py: allow the module argument to specify a leaf module rather than a directory. This fixes false positive wrong-source errors in the test-from-prefixdir step when we test only allmydata.test.test_runner. 2010-11-21 15:39:57 -08:00
Zooko O'Whielacronx
f606ce068b misc: gen-package-table: show only the highest-numbered package for each platform and each library 2010-11-19 21:39:05 -08:00
Zooko O'Whielacronx
62af525179 tests: test-with-fake-dists: clean up *just* the pycryptopp-0.5.24 eggs when exiting
also don't set the PATH and PYTHONPATH, which is unnecessary for this test
also wrap the behavior in a couple of functions, just for tidiness
2010-11-17 22:31:09 -08:00
Zooko O'Whielacronx
7cda268a78 setup: show-tool-versions: include the version of valgrind 2010-11-17 19:06:23 -08:00
Zooko O'Whielacronx
0730d693e8 setup: clean up fake pycryptopp distribution after test-with-fake-dists.py created it 2010-11-17 01:32:49 -08:00
Zooko O'Whielacronx
8fef758511 tests: test-with-fake-dists.py has the side-effect of injecting a fake package into ./support, so after that test rm -rf ./support, and likewise with ./pycryptopp*.egg. 2010-11-17 01:01:00 -08:00
Zooko O'Whielacronx
bc396b53ab tests: change test-with-fake-pkg to exercise a test suite which actually requires pycryptopp, thus making this a better test which can detect ill-installed pycryptopp 2010-11-17 23:23:34 -08:00
david-sarah
55bd4e254f misc/build_helpers/gen-package-table.py: put 'n/a' in table entries for pywin32 on non-Windows platforms. Also remove some dead code. refs #1247 2010-11-14 11:35:58 -08:00
Zooko O'Whielacronx
51523f7326 setup: include pycryptopp in the set of Python packages described in the show-tool-versions step (for cross-referencing with the test-with-fake-dists step, which behaves differently depending on what version(s) of pycryptopp are already present before it starts) 2010-11-14 02:05:40 -08:00
Zooko O'Whielacronx
6514cd9a29 setup: gen-package-table.py -- Python packages can have . in their name 2010-11-14 00:26:43 -08:00
Zooko O'Whielacronx
c14e20c2f8 setup: David-Sarah's new gen-package-table.py plus my patch to put the newer versions of Python first
fixes #1247
2010-11-13 23:35:32 -08:00