Commit Graph

314 Commits

Author SHA1 Message Date
Itamar Turner-Trauring
83f36ab6c2 Switch to flake8 as a better way of running pyflakes. 2020-07-09 16:05:31 -04:00
Jean-Paul Calderone
76d667865e
Remove some top-level packaging related to magic-folders 2020-02-13 10:21:45 -05:00
Jean-Paul Calderone
4f649f313e Don't upload because we can't 2019-01-26 10:02:08 -05:00
Brian Warner
906c4f4f32 move tarball generation to tox.ini
and change the Makefile to delegate the "tarballs" target to tox

This should fix the ticket:2910 problem of the "tarballs" buildbot failing.
2018-03-27 14:34:32 -07:00
Brian Warner
36c57c74f4 make tox env for code-checks
This executes: check-debugging, check-interfaces, check-miscaptures,
find-trailing-spaces, check-umids, pyflakes.

Other changes:

* fix check-umids.py to take starting points. run it as `check-umids.py
  src` instead of `check-umids.py src/allmydata/*.py`
* check-debugging: rewrite in python to run from tox: tox doesn't like
  to run shell scripts.
* put check-interfaces.py last: it produces lots of warnings, but passes
  anyways. The others only produce significant output if they fail.
2016-08-19 17:42:05 -07:00
meejah
d641aef2a3 Simple test for defer.setDebugging(True) calls 2016-08-19 11:37:15 -06:00
meejah
946656b249 smoketest for magic-folder functionality 2016-07-21 12:35:59 -07:00
Brian Warner
9be9c20c0e Makefile: upload wheel too 2016-03-30 15:58:01 -07:00
Brian Warner
c4b1d8c291 Makefile: create wheels too 2016-03-30 15:54:31 -07:00
Brian Warner
7381b4a0aa update Makefile too 2016-03-25 12:58:05 -07:00
Daira Hopwood
0598c830ed Rename distribution from allmydata-tahoe to tahoe-lafs. fixes ticket:2011
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2016-03-25 19:16:01 +00:00
Brian Warner
2c9297f27e Makefile: remove src/buildtest from SOURCES
Oops, missed this one earlier, it caused the pyflakes check to fail.
2016-03-23 02:19:50 -07:00
Brian Warner
1f712c8ddb Makefile: remove/deprecate old targets
This replaces the following targets with "echo this is obsolete":

* fetch-and-unpack-deps (used by the old 'tarballs' builder, for SUMO tarballs)
* test-desert-island (used by the old 'clean' builder)
* test-pip-install (used by 'new-pip' builder before we switched)

It also removes the test-pip-install.py helper script.
2016-03-22 14:12:45 -07:00
Brian Warner
1fb7cc7f18 Makefile: stop producing SUMO tarballs
refs ticket:2752
2016-03-22 14:12:35 -07:00
Brian Warner
16f07b34ce remove old misc/dependencies/ contents and references 2016-03-22 13:38:31 -07:00
Brian Warner
c3bf9534ec Makefile: remove/disable most broken stuff
probably fixes ticket:2743
2016-03-17 22:23:39 -07:00
Brian Warner
0651991474 copy bin/tahoe from $PATH for the sake of test_runner
This is needed to allow virtualenv-based builds to exercise
test_runner.BinTahoe (and a few others), which expect to run an
executable program in "bin/tahoe". This also helps users who aren't yet
accustomed to the new virtualenv world where they can just run "tahoe"
instead of "bin/tahoe".

This changes the "setup.py make_executable" command to copy the first
"tahoe" executable found on $PATH into bin/tahoe . Previously bin/tahoe
was created by modifying the shbang line of a template stored in
bin/tahoe-script.template (which has been deleted).

It also changes setup.cfg to run "make_executable" before tests,
and *after* an install. Note that you must use "setup.py install" before
"setup.py test", since make_executable requires the installed "tahoe" on
$PATH.

In the future, we hope to get rid of bin/tahoe altogether, and have
these tests run the "tahoe" from $PATH directly.
2016-03-15 17:31:32 +00: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
75135af65f Makefile: run pyflakes as 'pyflakes', not python which pyflakes
This funky invocation syntax was introduced in 2007 (commit 56ad518),
with a comment of "make pyflakes run faster". I no longer have any idea
why that might have been the case. It's time to simplify this, because
some of our buildslaves have pipsi-installed "pyflakes" on their $PATH,
which use a "python" that's different than the one on $PATH.
2016-02-05 12:32:02 -08:00
Brian Warner
15a1550ced Makefile upload-osx-pkg: mention where the packages go 2015-07-16 09:27:26 -07:00
Brian Warner
d8e60f82a4 add test-pip-install 2015-06-16 13:46:43 -07:00
Daira Hopwood
61f3d5ae13 Move computation of Tahoe version from Makefile to build-osx-pkg.sh. refs #2393
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2015-03-24 16:41:43 +00:00
Brian Warner
c12d49b54e create/test/upload tahoe-lafs-VERSION-osx.pkg, not tahoe-lafs-osx.pkg
Closes ticket:2393
2015-03-21 14:20:00 -07:00
Brian Warner
05c6966801 move build-osx-pkg out to a separate shell script
Also remove the duplicate test-osx-pkg (i.e. don't run the test as part
of the build, and have the caller do it themselves later).
2015-03-21 14:12:21 -07:00
Brian Warner
7846f5f9c8 Makefile: add upload-osx-pkg rule 2015-03-20 10:52:48 -07:00
Ramakrishnan Muthukrishnan
c2e415b312 Makefile: make "build-osx-pkg" build target depend on the "build" target 2015-01-13 15:01:46 +05:30
Daira Hopwood
4e3b5b7f48 Makefile: make APPNAME a variable.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2014-12-05 17:53:13 +00:00
Daira Hopwood
f4d40ffcbf misc/build_helpers/test-osx-pkg.py: script to test the OS X pkg.
After extracting the contents of the package, this script looks at the
output of 'tahoe --version-and-path' to see if the modules are installed
and invoked from the right path.

Author: Ramakrishnan Muthukrishnan <ram@leastauthority.com>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2014-10-20 17:52:46 +01:00
Ramakrishnan Muthukrishnan
fad766a885 clean target should remove the pkg file. 2014-10-20 17:52:46 +01:00
Daira Hopwood
74689af7a1 New make target for OS X package creation.
Author: Ramakrishnan Muthukrishnan <ram@leastauthority.com>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2014-10-20 17:52:46 +01:00
Zooko
f0ef82bfac remove all the unused scripts from build_helpers
Fixes #2305.
2014-09-30 03:54:55 +00:00
Brian Warner
2584169f7f Makefile: remove 'twisted' from SOURCES 2014-09-09 10:31:05 -07:00
Daira Hopwood
53dc723184 Update .PHONY declarations in Makefile.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2014-09-08 22:49:54 +01:00
Daira Hopwood
4f51040313 Update coverage-related targets in Makefile. refs #1698
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2014-09-08 22:49:23 +01:00
Daira Hopwood
7046636c74 Delete useless stuff from Makefile.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2014-09-08 22:47:31 +01:00
Brian Warner
83068a90c8 Makefile: fix test-clean by using 'distclean' 2014-09-02 18:32:27 -07:00
Daira Hopwood
7f10bf07df Makefile: update comment for 'make clean'.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2013-10-10 19:50:49 +01:00
Daira Hopwood
95567e55a2 Add 'make distclean'.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2013-10-10 17:47:30 +01:00
Zooko Wilcox-O'Hearn
70939fb454 remove tahoe egg-info dir from the "clean" rule
fixes #2092
2013-10-10 01:52:44 +00:00
Daira Hopwood
aa29f2655d tahoe debug trial: print a warning message if testing uncommitted code. fixes #1992
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
2013-08-31 18:01:34 +01:00
Daira Hopwood
d85a75d7f6 Makefile: remove 'install' target. fixes #1717
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
2013-05-25 03:58:38 +01:00
Brian Warner
ea05241176 Makefile: oops, fix tahoe-deps/tahoe-lafs-deps mismatch
which broke fetch-and-unpack-deps
2013-04-24 15:20:47 -07:00
Brian Warner
8d4f68bc09 update deps URLs to use "tahoe-lafs" instead of bare "tahoe" 2013-04-24 14:58:27 -07:00
Brian Warner
9e449db50b Makefile: re-enable tarball uploads for "master" branch 2013-03-19 12:18:27 -07:00
David-Sarah Hopwood
57017cebe8 Makefile: increase filesystem size for 'make tmpfstest'.
Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
2012-11-16 20:30:19 +00: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
8d020aaba2 Makefile: in check-umids, exclude 'old.py' to avoid false positives. 2012-07-01 20:17:11 +00:00
david-sarah
1b4474d1ae Makefile: Add 'check-rst' target to check .rst files for errors. Also add 'doc-checks' which at the moment just runs check-rst, but might do more in future. fixes #1780 2012-06-23 23:23:19 +00:00
Brian Warner
a133c08732 minor: hush pyflakes, move pycryptopp dep to unconditional section
Also change Makefile's "pyflakes" rule to emit less output, so buildbot will
count errors properly.
2012-03-13 23:20:35 -07:00
Brian Warner
fe1df149e1 make provisioning/reliability work in the new location, fix tests 2012-02-16 22:29:05 +00:00