1
0
forked from sm/vain
Commit Graph

6 Commits

Author SHA1 Message Date
5de44ba4d6 tighter constraints on allowed paths.
Change-Id: Ie6b121e4733e45288a36dbc2426f556fd5e2832d
2016-03-02 22:06:17 -08:00
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
c2597fd41a added vcs support for svn and bzr 2016-02-16 18:32:04 -08:00
9e9bb74c4a Addressing go vet / golint 2016-02-15 01:10:49 -08:00
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
b7ef100a2c moved ysv -> vain 2016-02-13 00:17:12 -08:00