Commit Graph

10 Commits

Author SHA1 Message Date
Brad Fitzpatrick 4155ac6a3c serverinit: high-level config support for using blobpacked
Users need to set:

     "packRelated": true,

... in their server config. This will probably become the default
value in the future.

This is currently mutually exclusive with diskpacked, which isn't good
at deleting things, and blobpacked loves to delete things (from the
loose blobs).

Updates #532

Change-Id: I8f4ea9406859b2705f26e9d1103d3acf9d1a8411
2015-01-18 18:08:18 -08:00
Emil Hessman e8ffb9a66c pkg: fix various vet reports
Change-Id: I0b7fa09849650fe696e59ad5c5c73a034ab80faa
2014-11-12 23:25:53 +01:00
mpl 8cf7e1399b serverinit: TestInstallHandlers
http://camlistore.org/issue/416

Change-Id: I14934dd4e0a415c359a13583ddc295be2d35c781
2014-09-25 14:54:29 +02:00
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