Commit Graph

22 Commits

Author SHA1 Message Date
Stephen McQuay a1f6e15f28 ysvd -> vaind 2016-02-16 23:30:00 -08:00
Stephen McQuay cc8e0914b8 Merge branch 'master' of dm/vain into master 2016-02-16 23:23:16 -08:00
Stephen McQuay 501631a45a Don't require user to set YSV_HOST
The original reason for having this required configuration parameter was that
I didn't think to read the hostname off the request. Doing it this way has the
additional benefit of a single server being able to serve a multitude of
hostnames.

Derek helped me realize this by repeating "there should be sane defaults" like
9000 times (maybe over 9000) till I got so tired of trying to make sure that he
understood why I did it that way to begin with that I looked at the problem
from a different perspective and like in a dream the solution came to me.

fixes #10.
2016-02-16 23:22:33 -08:00
Derek McQuay 2b96b761d1 POST translate string -> vain.Vcs 2016-02-16 20:06:44 -08:00
Stephen McQuay bb48f82f9e Merge branch 'master' of dm/vain into master 2016-02-16 18:36:16 -08:00
Derek McQuay c2597fd41a added vcs support for svn and bzr 2016-02-16 18:32:04 -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 c5c1dbc4a9 fleshed out where documentation is stored. 2016-02-15 01:09:11 -08:00
Stephen McQuay 83f08830b9 fixed struct tag misspelling. 2016-02-14 22:20:30 -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 3644ddcd86 updated docs to match reality. 2016-02-14 21:46:12 -08:00
Stephen McQuay c63a62ab2a added initial http test. 2016-02-14 21:44:27 -08:00
Stephen McQuay 557717c138 Prevent addition of duplicate path prefixes.
I think I understand this now; the failure comes from here:

https://golang.org/src/cmd/go/vcs.go#L818

and makes it so one can't both host:
- github.com/foo
- github.com/foo/bar

which would have to clone the latter inside of the former.

Fixes #1.
2016-02-13 10:46:09 -08:00
Stephen McQuay b0ebbf742b simple in-memory storage working for POST/GET 2016-02-13 01:18:18 -08:00
Stephen McQuay c1b5f61b64 stubbed out supported methods on / 2016-02-13 00:17:12 -08:00
Stephen McQuay 158ef57b13 bit more docs 2016-02-13 00:17:12 -08:00
Stephen McQuay b7ef100a2c moved ysv -> vain 2016-02-13 00:17:12 -08:00
Stephen McQuay b3585cbc96 Added an http server 2016-02-08 00:15:22 -08:00
Stephen McQuay 95b282ea42 pkg -> Package 2016-02-08 00:14:30 -08:00
Stephen McQuay 8ef813e55d init 2016-02-08 00:00:39 -08:00