perkeep/cmd
Mathieu Lonjaret 6e8a5930c9 all: make server advertise when it has legacy SHA-1 indexes, use that info
when its wholeref index lines contain any "sha1-" wholeref lines.

Then, have the client use that info when uploading files to also
compute the sha-1 (in addition to the sha-224) and ask the server for
both.

By client, we mean changes to cmd/camput, to pkg/client functions (for
camput and other Go clients, such as the apps), and to the web UI.

Also, add a -sha1 mode to devcam server, as well as the
CAMLI_SHA1_ENABLED env var, to facilitate testing/debugging of the
legacy sha1 mode.  Fix/document unrelated options in devcam server
while we're at it.

Change-Id: I369679d2a4719f6f8b409f78dd4d065e13a3f62f
2018-01-31 01:10:52 +01:00
..
camget blobserver, all: add contexts to ReceiveBlob, Fetch & million resulting deps 2018-01-18 16:22:16 -08:00
camput all: make server advertise when it has legacy SHA-1 indexes, use that info 2018-01-31 01:10:52 +01:00
camtool all: more Camlistore to Perkeep renamings 2018-01-30 13:31:59 -08:00
pk-deploy Rename camdeploy to pk-deploy. 2018-01-02 22:10:37 -08:00
pk-devimport all: more renaming of Camlistore to Perkeep 2018-01-30 03:02:56 -08:00
pk-mount blobserver, all: add contexts to ReceiveBlob, Fetch & million resulting deps 2018-01-18 16:22:16 -08:00