Commit Graph

7 Commits

Author SHA1 Message Date
Brad Fitzpatrick 6e7d3e3e1e serverinit: clean up and simplify the high-to-low-level config generator
Change-Id: Ia45457718fb8832b4da32d4d6c87c8a5ba9e2301
2014-08-07 18:47:42 -07:00
Brad Fitzpatrick 0757937177 serverinit: allow jsonconfig expansions in high-level configs.
Change-Id: I600fc56b9324143559ba594ed41a391296871689
2014-08-06 10:49:27 -07:00
mpl 044ac54a20 pkg/serverinit: fix tests for windows
Fixes: http://camlistore.org/issue/304

Change-Id: Ieb29ffefd1daf8d62704374d8e1eecd9cfea3156
2014-08-01 01:05:41 +02:00
Brad Fitzpatrick 5d4f2dfefe serverinit: let genconfig's update_golden flag, even if files matched
Change-Id: I93cdd1b9a1945a975a1c8d2097e914ae2a8c77c1
2014-04-17 10:20:05 -07:00
mpl 58e8a7f78b pkg/serverinit: fix published type, add parser test
Because when the UI handler constructor parses the publish config, it
wants a jsonconfig List, not a []string.

Context: bfbf660cd1

Change-Id: If4e6553072d95077a5dc73c28ac527a31074d441
2014-04-04 23:28:34 +02:00
Brad Fitzpatrick bfc76ff0fe serverinit: allow S3-only configurations to also have a working index
... with kv or sqlite indexes, at least. Other types will need more
genconfig work.

Change-Id: I5fb9fa0a122693e08780c3fa20eae67fa850d98f
2014-03-17 08:45:01 -07:00
Brad Fitzpatrick 95e0f172e0 Rename serverconfig*.go to serverinit*.go
Change-Id: I198d8d17ed32202f8a014af645a006613246db85
2014-02-10 17:00:11 -08:00