Commit Graph
100 Commits
Author SHA1 Message Date
Jakob Borg 211180108e Tweak TLS settings (ref #23) 2014-01-09 09:30:22 +01:00
Jakob Borg 17e78d6f7e Option to show version (fixes #24) 2014-01-08 14:37:33 +01:00
Jakob Borg 1ef86379fb Actually send index updates for version bumps 2014-01-08 14:21:47 +01:00
Jakob Borg 884a7d6a1b Default to running GUI on 127.0.0.1:8080 2014-01-08 13:56:29 +01:00
Jakob Borg 334961fe10 Footer with links 2014-01-08 13:52:17 +01:00
Jakob Borg 2cfb24892f Add version and invalid bit to protocol 2014-01-07 22:44:21 +01:00
Jakob Borg d4fe1400d2 Longer RSA key and stronger node ID hash (ref #23) 2014-01-07 22:04:30 +01:00
Jakob Borg 69ef4d261d Unbreak build script 2014-01-07 17:07:46 +01:00
Jakob Borg 91c102e4fe Syncronize file mode (fixes #20) 2014-01-07 16:38:07 +01:00
Jakob Borg b4db177045 Allow deletes per default (fixes #19) 2014-01-07 16:15:18 +01:00
Jakob Borg 340c9095dd Suppress frequent changes to files (fixes #12) 2014-01-07 16:10:38 +01:00
Jakob Borg e3bc33dc88 Move binary to build destination 2014-01-07 12:14:50 +01:00
Jakob Borg eebc145055 Point to the wiki for documentation (fixes #10) 2014-01-07 12:07:56 +01:00
Jakob Borg 92b01fa48a Build tar file for current OS/architecture 2014-01-07 11:52:42 +01:00
Jakob Borg 2a0d1ab294 Merge pull request #18 from jpjp/patch-1
synch -> sync
2014-01-07 02:33:55 -08:00
Jakob Borg e769de9986 Announce read/write/delete status on startup (fixes #14) 2014-01-06 21:41:29 +01:00
Jakob Borg 4b11e66914 Verify requests against model (fixes #15) 2014-01-06 21:31:36 +01:00
Jakob Borg 28d3936a3c Add .stignore to testdata 2014-01-06 21:31:20 +01:00
Jakob Borg 986b15573a Ignore files matching patterns in .stignore (fixes #7) 2014-01-06 21:17:18 +01:00
Jakob Borg 46d828e349 Expand tilde in repository path (fixes #8) 2014-01-06 19:37:26 +01:00
Jakob Borg 48603a1619 Do quick build even on test failure 2014-01-06 15:50:15 +01:00
Jakob Borg 17d5f2bbfc Fix model test 2014-01-06 15:49:51 +01:00
Jakob Borg b64af73607 Dead code removal 2014-01-06 12:45:43 +01:00
Jakob Borg c9cce9613e Refactor out the model into a subpackage 2014-01-06 11:11:18 +01:00
Jakob Borg 1392905d63 Link to issues 2014-01-06 08:19:33 +01:00
Jakob Borg 271d7eedc4 Better progress bar calculation 2014-01-06 06:38:01 +01:00
Jakob Borg ab8482a424 Add --trace-need 2014-01-06 06:12:40 +01:00
Jakob Borg c8a14d1c3d Refactor how --delete affects things 2014-01-06 06:12:33 +01:00
Jakob Borg 8974c33f2f Move build artefacts dir 2014-01-06 06:11:19 +01:00
Jakob Borg ed675a61d7 Prettify need table 2014-01-06 06:10:53 +01:00
Jakob Borg 60b00af0bb Workaround for bug in Solaris compiler 2014-01-06 05:57:41 +01:00
Jakob Borg 0ceddc4fa3 Redirect / to index.html 2014-01-06 00:05:07 +01:00
Jakob Borg 8c1996f7e5 Rudimentary HTTP GUI 2014-01-05 23:54:57 +01:00
Jakob Borg 6679c84cfb Refactor statistics printing 2014-01-05 16:20:18 +01:00
Jakob Borg 7b6f43cbb5 Merge pull request #6 from philips/patch-2
README: fix link to discover.go
2014-01-04 14:54:16 -08:00
Jakob Borg c549e413a2 Close tmpfiles earlier (ref #2) 2014-01-01 16:31:52 -05:00
Jakob Borg 63a05ff6fa Command line option to ignore index cache 2014-01-01 16:31:35 -05:00
Jakob Borg 89a5aac6ea Use gzip compression for index cache 2014-01-01 16:31:04 -05:00
Jakob Borg 232d715c37 Fix broken --cfg flag 2014-01-01 08:49:55 -05:00
Jakob Borg 1c4e710adc Build windows binaries 2014-01-01 08:18:11 -05:00
Jakob Borg 7fdea0dd93 Close even if we don't have a connection 2014-01-01 08:09:17 -05:00
Jakob Borg 5b84b72d15 Await completion of pull round before starting next (ref #2) 2014-01-01 08:02:12 -05:00
Jakob Borg 7e0be89052 Simplify index sending, prevent ping timeout 2013-12-31 21:22:49 -05:00
Jakob Borg 632bcae856 Mostly lock free receive loop 2013-12-30 22:10:54 -05:00
Jakob Borg fd56123acf Send index in chunks of 1000 to avoid lengthy blocking 2013-12-30 22:05:00 -05:00
Jakob Borg a2a2e1d466 Atomically replace local index cache 2013-12-30 22:04:30 -05:00
Jakob Borg d4c5786a14 Change default queue parameters to optimize better for small files 2013-12-30 21:35:20 -05:00
Jakob Borg 42ad9f8b02 Increase ping timeout 2013-12-30 21:32:20 -05:00
Jakob Borg 0f6b34160c Propagate and log reason for connection close 2013-12-30 21:25:45 -05:00
Jakob Borg 7e3b29e3e0 Remove source info in log by default 2013-12-30 21:25:34 -05:00
Jakob Borg 2f660aff7a Improve no such node error messages 2013-12-30 20:55:33 -05:00
Jakob Borg af3e64a5a7 Remove broken Ping latency measurement 2013-12-30 20:52:36 -05:00
Jakob Borg 9560265adc Always continue walk in the face of errors (fixes #1) 2013-12-30 19:50:04 -05:00
Jakob Borg 4097528aa2 Don't crash on zero nodes in pull 2013-12-30 19:49:25 -05:00
Jakob Borg 71d50a50f4 Make sure to always close directory fd 2013-12-30 19:30:59 -05:00
Jakob Borg ec0489a8ea Improve log message consistency 2013-12-30 15:31:41 -05:00
Jakob Borg 7948d046d1 Fix locking around close events 2013-12-30 15:27:20 -05:00
Jakob Borg 223bdbb9aa Improve/fix buffer handling 2013-12-30 15:06:44 -05:00
Jakob Borg 726afc915a Clarify installing / usage 2013-12-30 10:19:57 -05:00
Jakob Borg 86c0a527fd Include README & LICENSE in build 2013-12-30 10:11:10 -05:00
Jakob Borg bb0fd87550 Don't print mysterious version message 2013-12-30 10:05:27 -05:00
Jakob Borg 673ab42c3c Remove race / unnecessary check 2013-12-30 10:05:13 -05:00
Jakob Borg 4543bfb837 Don't include .ini in build 2013-12-30 10:04:51 -05:00
Jakob Borg 005b207737 Atomic connection stats updates 2013-12-30 09:53:54 -05:00
Jakob Borg bceacf04ca Better hash error messages 2013-12-30 09:36:41 -05:00
Jakob Borg 707e992f19 Print model statistics 2013-12-30 09:30:29 -05:00
Jakob Borg 1c757db153 Avoid deadlock in index exchange by more fine grained locking 2013-12-30 09:22:34 -05:00
Jakob Borg 001a6724ec Build artefacts in build dir 2013-12-30 09:02:18 -05:00
Jakob Borg 976baff44f Memory usage optimizations 2013-12-29 20:33:57 -05:00
Jakob Borg 469e96126a Cleanup SeedIndex 2013-12-29 19:49:40 -05:00
Jakob Borg 24efbe7d33 Woops 2013-12-29 19:20:36 -05:00
Jakob Borg 704e0fa6b8 Improve puller somewhat 2013-12-29 12:18:59 -05:00
Jakob Borg c70fef1208 Typo / cleanup 2013-12-29 10:23:43 -05:00
Jakob Borg 454e672d42 Handle calls on closed connection 2013-12-28 10:33:18 -05:00
Jakob Borg 647fdcf6a5 Discovery 2013-12-28 08:56:18 -05:00
Jakob Borg e75e68faa0 Don't send initial index twice, use more fetchers 2013-12-28 08:45:18 -05:00
Jakob Borg 74c27ad4e2 Index Updates 2013-12-28 08:10:36 -05:00
Jakob Borg cf04e101b9 Lock tracing, fixes 2013-12-24 20:31:25 -05:00
Jakob Borg 4151972d3e Index broadcast pacing 2013-12-24 15:21:03 -05:00
Jakob Borg 3dc199d8df README 2013-12-24 11:53:24 -05:00
Jakob Borg fc4b23fbc6 Locking/Ping cleanup 2013-12-24 11:45:16 -05:00
Jakob Borg 064bfd366f Don't complain about expected timeout 2013-12-24 11:15:21 -05:00
Jakob Borg f5ea00b297 Don't accumulate goroutines forever 2013-12-24 11:10:49 -05:00
Jakob Borg 746d52930d Report transfer stats 2013-12-23 12:28:19 -05:00
Jakob Borg cd2040a7d2 Pull in go-flags, modified to build on Solaris 2013-12-23 11:18:46 -05:00
Jakob Borg f2d8b68278 External discover 2013-12-22 21:35:05 -05:00
Jakob Borg 31ea72dbb3 Perform external queries 2013-12-22 17:13:59 -05:00
Jakob Borg e48222ada0 Send external announcements 2013-12-22 16:29:23 -05:00
Jakob Borg 8e65d36691 Build script 2013-12-22 00:16:49 +01:00
Jakob Borg 7d235a454d Refactor length check 2013-12-21 23:52:20 +01:00
Jakob Borg 5c1db4f0f4 Close on unknown message type 2013-12-21 08:15:19 +01:00
Jakob Borg 8d3aa97047 Close on version mismatch 2013-12-21 08:06:54 +01:00
Jakob Borg f5987fba32 Error handling, testing 2013-12-21 07:52:32 +01:00
Jakob Borg eba1c9e649 Command line flags 2013-12-18 19:36:28 +01:00
Jakob Borg f774b0a5dc Error handling 2013-12-18 18:29:15 +01:00
Jakob Borg 251b109d14 Follow symlinks in repo 2013-12-15 21:20:50 +01:00
Jakob Borg bef9ccfa71 Do ping check after 5 minute inactivity 2013-12-15 16:19:45 +01:00
Jakob Borg 768a7d5052 Simplify async results 2013-12-15 15:58:27 +01:00
Jakob Borg e86296884a Crash for explainable reason when protocol is out of sync (version skew) 2013-12-15 13:18:03 +01:00
Jakob Borg 8589a0fb40 Don't crash on reading empty index 2013-12-15 13:12:32 +01:00