Commit Graph

19 Commits

Author SHA1 Message Date
Brian Warner
11ae1dcc2b .gitignore: add .hypothesis/ 2017-06-06 19:04:58 +01:00
Brian Warner
b637636ef9 remove _appname.py file
We no longer need the complexity of choosing the application name at
runtime. This removes the setup.py code which populates the _appname.py
file, and the code in __init__.py which reads it. It does not yet remove
the tests which compare the output of e.g. `tahoe --version` against
`allmydata.__appname__`, which I think could be removed, but that's more
invasive than I want to do right now.

closes ticket:2754
2016-08-11 23:24:11 -07:00
Daira Hopwood
646b75059a .gitignore: add /smoke_magicfolder/, delete obsolete stuff.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2016-07-21 12:35:59 -07:00
Brian Warner
608719df91 tox: add "coverage" environment
Run with "tox -e coverage". Uses a new helper
module (allmydata.test.run_trial) to let us import+execute trial without
knowing exactly where the "trial" binary lives, which helps with using
"coverage run" under tox.
2016-05-09 14:32:21 -07:00
Brian Warner
0acc1dc079 docs: run sphinx-quickstart, move old Makefile
* .gitignore: add docs/_build (sphinx output directory)
2016-03-29 21:02:14 -07:00
Brian Warner
79db3d089f minor .egg-info name-change cleanups
.gitignore, 'make distclean' needs to target the new names
2016-03-25 12:55:09 -07:00
Brian Warner
24ed8431b2 move 'check-memory' from Makefile into tox.ini
So use 'tox -e check-memory' instead of 'make check-memory'. The tox
version will create a virtualenv and install tahoe for you before
running the tests, removing one use of the 'tahoe @FILENAME' hack (which
was used to run a python file with a PYTHONPATH set to import tahoe's
dependencies).
2016-03-08 21:19:41 -08:00
Brian Warner
e052134309 add initial tox support
This adds support for two environments: 'py27' for basic tests, and
'deprecations' to run tests with deprecation warnings turned on (the
latter is meant to be run from a buildbot step that knows how to count
and format the warnings nicely).
2016-03-08 21:16:36 -08:00
amontero
b58c354f36 Add pkg-config directory to .gitignore 2014-09-13 21:00:02 -07:00
Daira Hopwood
4ce53ffe1d Ignore .*.kate-swp and /*.patch files.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2013-07-16 16:14:42 +01:00
Mark Berger
3a5730c62a Ignore .DS_Store files 2013-07-15 14:45:14 -04:00
Brian Warner
085ee6a63f .gitignore: ignore the generated zope.interface egg too
Some dependencies are installed in the top-level directory, maybe
because they're required by the build process itself? I'm not sure.
Twisted is one of these, if the system version is not new enough, and
our .gitignore has a clause to ignore the resulting .egg directory. Now
that we've bumped our zope.interface dependency, it sometimes builds a
z.i egg too (even if it doesn't build a Twisted one). So ignore both.
2013-05-01 10:25:31 -07:00
David-Sarah Hopwood
edc1f5f67f Makefile: add 'make tmpfstest', which uses a tmpfs for _trial_temp.
This probably only works on Linux. It uses sudo to mount and unmount the tmpfs,
which may prompt for a password. refs #20

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
2012-10-25 02:16:21 +01:00
David-Sarah Hopwood
bdd0b55b0d Ignore *~, /miscaptures.txt and /violations.txt.
Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
2012-09-17 14:06:48 -07:00
Brian Warner
326b2db54a .gitignore: ignore generated test-coverage files too 2012-01-12 22:56:29 -08:00
Brian Warner
2efcdc93fa .gitignore: also ignore tahoe-deps and .tgz, to fix 'make tarballs'
Otherwise, the get-version-from-git code thinks the tree is dirty, and
creates SUMO tarballs with -dirty in the name.
2012-01-12 13:09:25 -08:00
Brian Warner
96ef2a7657 restore .gitignore, stop .darcs-boringfile it 2012-01-09 02:52:43 +00:00
Brian Warner
2cccc1a3df remove setuptools_darcs.egg 2012-01-08 22:55:45 +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