Commit Graph

19 Commits

Author SHA1 Message Date
Stephen McQuay c575677088
Use in-memory, on-disk-backed DB
- removed sqlite
- added stubs for MemDB
- removed sqlite3 vendor

Fixes #7

Change-Id: I97b7f274be8db5ff02d9a4e4b8f616403fd6313a
2016-06-25 13:37:23 -07:00
Stephen McQuay 45c0af4d1e
Better error reporting
Change-Id: I36dc5ad3648c5b4ac2cc2c72ba90fec7398090bf
2016-06-24 01:04:33 -07:00
Stephen McQuay ffbc60d017
fix vexing random test failures
so if it started with an e it'd fail. which is 1/16 of the time.

Change-Id: I253c8a34b6d34de59bf82a31df45b0bbe75529d3
2016-06-24 01:04:32 -07:00
Stephen McQuay b1d8ad5a6f
fix for bad header value
Go tool brought in changes that properly implement:

http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2

merged in here:
https://go-review.googlesource.com/#/c/23229/

This surfaced a bad http header value in our tests.

Change-Id: I2c507bb4c92b060c78a7909600649dae2d22515d
2016-06-17 09:15:09 -07:00
Derek McQuay 480304bd87
add support for sending emails
Change-Id: I9749cda3b997d70271cb4ca709a7cca82a9a0948
2016-06-10 12:57:41 -07:00
Stephen McQuay 295a7c3840
Only return the meta for requested package
the go tool currenty has a pathology where it mistakingly claims it
can't clone a repo because it checks prefix by bytes, not by splitting
the path on slash.

Once https://github.com/golang/go/issues/15947 comes out (go1.8) then go
tools will be able to handle being provided with valid but overlapping
packages.

For now though we'll just return meta for the requested package.

Change-Id: Ie5026e7d5c1377ff7d2c2140b21f9b745af69764
2016-06-05 22:41:56 -07:00
Stephen McQuay 435e28966a
fixed golint/go vet
Change-Id: Id8aa01511f459d45f9dc3270e1d13b8682944016
2016-05-23 23:54:35 -07:00
Stephen McQuay c99f57527f
gate forget email frequency.
Change-Id: Id0f3bd2ec7c6714d23f9989a341855da5c8aa1bf
2016-05-14 23:58:56 -07:00
Derek McQuay 11f88feef0
Added frontend.
Change-Id: I8efe591dcd693c99ffdbe953415d8b05c02a3644
2016-05-14 20:14:24 -07:00
Stephen McQuay 680eecb111
Added simple user auth
Fixes #14.

Change-Id: I748933214f43ac7298f1e93c14bb0ee881976d43
2016-04-27 21:29:48 -07:00
Stephen McQuay 753a225f53 add some verbiage to body.
Change-Id: I1c6e6f61bcc23b9777e8bef140c5488bafe248f9
2016-03-02 22:07:06 -08:00
Stephen McQuay 20da49f37f renamed SimpleStore receiver.
Fixes #12

Change-Id: If22752568e38843be48f25d9126dd9fd4d81c076
2016-03-01 23:51:29 -08:00
Stephen McQuay 2e4add8a1c Adds DELETE.
Fixes #11

Change-Id: I3b4aadc85055f2d2f4efb9e2e95bde6924320f35
2016-03-01 23:50:08 -08:00
Stephen McQuay ce00d933aa vcs as string, not int.
No longer do we keep track of const iota style. Just encode the behavior
in the server for defaults, add a validation function, call it a day.

Change-Id: I603e9dd287a57084c78c543f1ce83b0acf47a765
2016-03-01 23:49:24 -08:00
Stephen McQuay 456d502b72 added some tests for the json storage. 2016-02-15 01:42:20 -08:00
Stephen McQuay 9e9bb74c4a Addressing go vet / golint 2016-02-15 01:10:49 -08:00
Stephen McQuay 4cfaf2124f Added Save/Load to db
Fixes #3. Fixes #2
2016-02-14 22:20:10 -08:00
Stephen McQuay af4faf0206 Added http tests for conflicts
fixes #4.
2016-02-14 21:54:42 -08:00
Stephen McQuay c63a62ab2a added initial http test. 2016-02-14 21:44:27 -08:00