2
0
mirror of https://github.com/carlostrub/sisyphus synced 2024-10-31 09:20:15 +00:00
Commit Graph

145 Commits

Author SHA1 Message Date
Carlo Strub
36a3cb6374 make gometalinter happier 2017-05-13 22:34:54 +00:00
Carlo Strub
f76bfbd6eb add classify test and fix other tests 2017-05-13 21:22:23 +00:00
Carlo Strub
a569e3e624 Use AfterEach in test 2017-05-11 19:15:36 +00:00
Carlo Strub
25b324dbde add test for Learn() 2017-05-11 19:01:24 +00:00
Carlo Strub
a035f64358 remove db file after testing 2017-05-11 18:20:36 +00:00
Carlo Strub
3b3c20962b Add database close test 2017-05-11 02:47:00 +00:00
Carlo Strub
5bad623da4 add database test 2017-05-10 19:09:02 +00:00
Carlo Strub
095885bc90 fix tests where err variable was missing in wordlist 2017-05-10 17:34:58 +00:00
Carlo Strub
cd5b02b0c7 glide up 2017-05-10 17:28:21 +00:00
Carlo Strub
639ffadfe3 fix some static code errors 2017-05-10 17:23:25 +00:00
Carlo Strub
962777cbbe no need to keep that file as it is generated dynamically 2017-05-10 17:14:48 +00:00
Carlo Strub
87c404191f add cover to test 2017-05-10 17:14:26 +00:00
Carlo Strub
b5b3792efe implement learning and classifying using Bayes' rule and Hyperloglog
data structures -- still way to go though.
2017-05-10 03:45:11 +00:00
Carlo Strub
0497999a15 many new things... 2017-05-08 03:29:25 +00:00
Carlo Strub
237fe45ced glide up 2017-05-05 01:59:31 +00:00
Carlo Strub
12acfb5fe3 add retailnext/hllpp 2017-04-27 14:31:16 +02:00
Carlo Strub
cf598f8710 big code cleanup 2017-04-26 11:20:21 +00:00
Carlo Strub
14d7ba2cf2 simplify code 2017-04-25 17:18:21 +00:00
Carlo Strub
2892cecb51 glide up 2017-04-25 17:05:36 +00:00
Carlo Strub
1a71d29eae Write methods for Maildir 2017-04-25 17:01:11 +00:00
Carlo Strub
59c43f40bc Fix checking version numbers correctly 2017-04-19 19:04:06 +00:00
Carlo Strub
5d60c9b309 add raw CHANGELOG.md 2017-04-19 14:37:42 +00:00
Carlo Strub
3d7c35a02e Fix Makefile so that every make command runs fine 2017-04-19 14:35:12 +00:00
Carlo Strub
2e4a1eeed5 Borrow Makefile from github.com/Masterminds/glide 2017-04-19 13:36:52 +00:00
Carlo Strub
76198ada5d typo 2017-04-19 07:49:06 +00:00
Carlo Strub
b5617db460 simplify code 2017-04-19 07:46:57 +00:00
Carlo Strub
19201b479d create daemon methods 2017-04-19 07:44:38 +00:00
Carlo Strub
632f0d7ea3 make cmd buildable by exporting more functions in the package 2017-04-17 21:13:18 +00:00
Carlo Strub
95eae62da6 glide up 2017-04-15 20:24:16 +00:00
Carlo Strub
8804ec20c7 separate out command and package 2017-04-15 20:23:26 +00:00
Carlo Strub
a6b1d02ac2 Classify 2017-03-19 22:35:13 +00:00
Carlo Strub
6613f768da classify 2017-03-19 21:43:14 +00:00
Carlo Strub
0afac8f4c8 add a counter bucket to processed, move some stuff out of main, clean up
mail, create bayesian updater
2017-03-19 20:54:23 +00:00
Carlo Strub
ca967c197a observe changes in the mail directories and add dummy functions to handle classifications 2017-03-16 22:08:23 +00:00
Carlo Strub
58e853c557 glide up and get fsnotify 2017-03-16 21:33:00 +00:00
Carlo Strub
0961e96b5a Index both junk and good mail in one function 2017-03-16 21:14:24 +00:00
Carlo Strub
667f75925f Load can handle Junk directory automatically 2017-03-16 21:04:38 +00:00
Carlo Strub
f25c7b2c86 more docs 2017-03-16 20:58:24 +00:00
Carlo Strub
e24bd2b7ff more documentation 2017-03-16 20:43:59 +00:00
Carlo Strub
ca521d51d6 fix tests and remove filter.go 2017-03-16 20:21:24 +00:00
Carlo Strub
b887d7dd46 begin handling mails -- far from being done 2017-03-16 20:13:39 +00:00
Carlo Strub
a5e7b729db add start logo 2017-03-14 22:07:34 +00:00
Carlo Strub
c5dc21e58e check if sisyphus is running in the background already 2017-03-14 21:38:12 +00:00
Carlo Strub
029e8b2457 move daemon stuff out of main into daemon source file 2017-03-14 21:31:28 +00:00
Carlo Strub
f1ac61d5ae add coveralls 2017-03-14 21:11:39 +00:00
Carlo Strub
8c8cf939fc remove 1.7 testing 2017-03-14 21:04:26 +00:00
Carlo Strub
f58ac47c4f fix test by sorting output 2017-03-14 20:58:12 +00:00
Carlo Strub
e5b59cafef daemonize 2017-03-14 20:27:05 +00:00
Carlo Strub
cb45c57c4d allow for a slice of maildirs to be handled 2017-03-12 23:18:58 +00:00
Carlo Strub
3bc9beb113 Store sisyphus.db in Maildir 2017-03-12 22:50:43 +00:00