Commit Graph

7387 Commits

Author SHA1 Message Date
meejah
a1db8f4708 some logging fixups and notes on backup behavior 2018-04-30 14:55:51 -06:00
Jean-Paul Calderone
97aff20cfd Disable another lgtm query. 2018-04-26 15:41:38 -04:00
Jean-Paul Calderone
60bebd0659 Turn off another lgtm query.
It's not good.
2018-04-26 15:35:56 -04:00
Jean-Paul Calderone
b623a4a199 Remove dead Tor TCP control port setup code.
If someone wants this I bet they can figure it out.
2018-04-26 15:32:27 -04:00
Jean-Paul Calderone
87daa3ec5a Remove dead debug logging code. 2018-04-26 15:32:02 -04:00
Jean-Paul Calderone
3705264740 Use preferred exception raising syntax.
Also, make the `WindowsError` class "reachable".
2018-04-26 15:27:00 -04:00
Jean-Paul Calderone
b6d33c92ff Remove disabled ad hoc debug logging 2018-04-26 15:26:17 -04:00
Jean-Paul Calderone
8d4d000132 Fix pre-release matching regex character class
Previously matched any single character from `abc|r` (with duplicate
specification of `c`).  Now matches any single character from `abc` or
the two character sequence `rc`.

I guess this was the intent, anyway.
2018-04-26 15:20:27 -04:00
Jean-Paul Calderone
6b16afaa2e Avoid using the list comprehension loop variable
It works fine but it relies on leaky scopes.
2018-04-26 15:16:00 -04:00
Jean-Paul Calderone
9f8c90393f Remove dead synopsis definition 2018-04-26 15:10:02 -04:00
Jean-Paul Calderone
7609fd1861 Remove impossible third codepath 2018-04-26 15:09:01 -04:00
Jean-Paul Calderone
64243527eb Remove the strange option to not use flog 2018-04-26 15:08:14 -04:00
Jean-Paul Calderone
0f5d0e3131 Comment out "testing" code... 2018-04-26 15:07:09 -04:00
Jean-Paul Calderone
206ab732e6 Replace use of deprecated sha module 2018-04-26 15:00:36 -04:00
Jean-Paul Calderone
6d9f0c59b7 Remove pointless conditional 2018-04-26 14:59:47 -04:00
Jean-Paul Calderone
da9d0ded94 Remove pointless conditional 2018-04-26 14:59:18 -04:00
Jean-Paul Calderone
f99b3bdbda Remove complicated and dead code 2018-04-26 14:58:40 -04:00
Jean-Paul Calderone
cc6006dcb3 Replace use of deprecated sha module 2018-04-26 14:57:45 -04:00
Jean-Paul Calderone
be0317632f Turn off a query that generates spurious errors 2018-04-26 14:50:25 -04:00
Jean-Paul Calderone
2bc4aa7d14 Add recommended lgtm configuration. 2018-04-26 14:35:42 -04:00
Jean-Paul Calderone
a7218cb16f Some nice documnetation and proper exception types 2018-04-23 18:46:12 -04:00
Jean-Paul Calderone
169ccbfbca directory creation fixes 2018-04-23 18:46:07 -04:00
Jean-Paul Calderone
c5f95f026e
Merge pull request #491 from exarkun/consolidate-magicfolder-config
Consolidate magic-folder configuration-loading code.
2018-04-23 15:50:26 -04:00
Jean-Paul Calderone
035dc6dc76 reduce fragility of tests .. maybe?
only trivially, at best, of course.
2018-04-23 11:41:36 -04:00
Jean-Paul Calderone
e1c469e3b6 make sure we pass the client node 2018-04-23 11:41:29 -04:00
Jean-Paul Calderone
cfa33332a5 Add missing information/import 2018-04-23 11:09:24 -04:00
Jean-Paul Calderone
8d104dab1c Move the complicated MagicFolder constructor
All that complexity can be part of MagicFolder itself.
2018-04-23 10:59:33 -04:00
Jean-Paul Calderone
ac6269dd2d Only read magic-folder config from config reader
Also, fix the umask feature which was completely broken previously due
to failure to parse the umask string into an integer.
2018-04-23 10:41:48 -04:00
Jean-Paul Calderone
0bdabacce3 document the node_directory parameter 2018-04-23 10:41:48 -04:00
Jean-Paul Calderone
933d74c1bb
Merge pull request #489 from exarkun/magic-folder-cleanups
Make some trivial magic-folder-related code/doc improvements.
2018-04-20 17:50:44 -04:00
Jean-Paul Calderone
8eb83bbfb9 avoid about-to-be-deprecated getClientIP if we can
Use the replacement, getClientAddress.  But have a fallback to
getClientIP to keep supporting older versions of Twisted.
2018-04-20 16:03:19 -04:00
Jean-Paul Calderone
edf3c7aac7 reformat to fit within 80 cols 2018-04-20 15:59:35 -04:00
Jean-Paul Calderone
06a1ada624 Remove double-encoding of magic-folder params 2018-04-20 14:43:34 -04:00
Jean-Paul Calderone
b9939f7d4d link to inotify wikipedia page 2018-04-20 14:42:33 -04:00
Jean-Paul Calderone
890360c8ea
Merge pull request #486 from exarkun/2915.disable-hypothesis-deadline
Disable hypothesis deadline and "too slow" health check on CI
2018-04-04 07:32:13 -04:00
Jean-Paul Calderone
2bd63ce27a Tell tox to pass the new env var through 2018-04-03 14:07:17 -04:00
Jean-Paul Calderone
dc4d30f7c2 Switch to TAHOE_LAFS prefix 2018-04-03 14:07:12 -04:00
Jean-Paul Calderone
6bca749592 this is still needed 2018-04-03 13:59:35 -04:00
Jean-Paul Calderone
a218b68d98 Configure CI to use the Hypothesis CI profile 2018-04-03 13:16:53 -04:00
Jean-Paul Calderone
f6f617c33c Teach it about a CI profile
This profile does not have time-based warnings.
2018-04-03 13:15:54 -04:00
Jean-Paul Calderone
da2e4a80cd Get rid of these individual suppressions 2018-04-03 13:15:54 -04:00
Brian Warner
05edde9a64 setup.py: unpin pypiwin32, should be fixed by now
At the time we pinned this to v219, I think the v220 on PyPI was broken for
py2.7, or they'd stopped producing newer wheels for py2 but the most recent
py2-capable one was broken. The upstream bug is fixed, so I'll unpin this and
see if it works.
2018-03-30 11:46:15 -07:00
Brian Warner
0c01a5e920 NEWS: update (unedited) to include everything since last release 2018-03-30 11:44:49 -07:00
Brian Warner
920d494e36 appveyor: add _trial_temp/test.log as an "artifact"
Name it "trial_test_log.txt", so it can be read in a browser, not just
downloaded.

I'm hoping this will help track down why
test_magic_folder.RealTest.test_batched_process occasionally times out on
windows.
2018-03-29 19:25:50 -07:00
Brian Warner
a9d10a5a57 Merge branch 'tox-pyinstaller' 2018-03-29 12:19:01 -07:00
Brian Warner
91f639f0d2 travis: add pyinstaller job
We aren't yet using these artifacts (we plan to build the production ones on
our buildbot machines), but this will make sure we don't break the process.
2018-03-29 12:12:20 -07:00
Brian Warner
f1a853e115 travis: simplify commands
We do everything with tox, so the MODE environment variable is really just a
tox environment identifier
2018-03-29 12:11:35 -07:00
Brian Warner
ba835b1414 Merge PR482: fix PyInstaller generation 2018-03-29 11:44:24 -07:00
Chris Wood
8c81ca7958 Remove 'deps = .' from pyinstaller tox testenv 2018-03-29 14:29:42 -04:00
Chris Wood
c850638537 Fix PyInstaller builds
This commit contains a few small changes to fix PyInstaller frozen
builds (which were recently broken in a few ways by changes introduced
with `tahoe invite`, `tahoe daemonize`, and the addition of "setuptools
>= 28.8.0" to setup_requires) and removes a couple of hacks that are no
longer necessary to create working frozen tahoe executables with
PyInstaller.
2018-03-29 14:11:15 -04:00