summaryrefslogtreecommitdiff
path: root/subplot/server.py
AgeCommit message (Collapse)AuthorFilesLines
2022-10-28feat! finish chunk store abstractionLars Wirzenius1-2/+4
This builds on Alexander's work to show me how to get past the problem I had. There's additional changes to finish off the changes. Drop chunk deletion from server: it's not a good idea to have it until the server API is authenticated. Sponsored-by: author
2022-04-06feat! add chunk server API version to HTTP pathsLars Wirzenius1-4/+4
What was /chunks is now /v1/chunks. This is the minimal step to start supporting multiple API versions. Also, /v1/chunks/foo/bar is no longer supported. Sponsored-by: author
2022-03-13feat! rename metadata field "sha256" to "label"Lars Wirzenius1-2/+2
The field still contains a cleartext SHa256 of the cleartext chunk data, but this makes it clearer that it may contain other data. This is a breaking change: the server API won't work with an old client, and the new client won't work with an old server. To avoid the breakage would require more effort than is warranted at this time, given the very small number of users of Obnam. Sorry. Sponsored-by: author
2021-09-11test: run Obnam binaries from where Cargo puts themLars Wirzenius1-5/+3
Sponsored-by: author
2021-07-31feat: configure log verbosity with OBNAM_SERVER_LOG envvarAlexander Batischev1-3/+27
Fixes #117.
2021-05-29refactor: count chunks via file system, not via chunk server APILars Wirzenius1-5/+13
2021-02-06test: add scenario for checking chunk-sizeLars Wirzenius1-8/+13
2021-01-04feat: verify checksum of chunks downloaded from serverLars Wirzenius1-0/+10
2021-01-03feat: load chunk metadata into index at startupLars Wirzenius1-1/+2
This needs to be replace with a database or something, but it'll do for now.
2020-12-31chore: update vendored subplot librarires: runcmd, daemonLars Wirzenius1-25/+12
2020-12-23feat! only specify base URL of server, without /chunksLars Wirzenius1-5/+5
2020-12-23feat! let server address be configuredLars Wirzenius1-5/+10
Instead of just specifying port, let the address (or name) be configured.
2020-11-27feat! make obnam-server always use TLSLars Wirzenius1-1/+1
This will ruin my benchmark results, but it's the right thing to do.
2020-11-18feat! change client config to take a base URL instead of host, portLars Wirzenius1-7/+5
2020-11-13refactor: split obnam's bindings, functions for clarityLars Wirzenius1-0/+178
The old subplot/obnam.{yaml,py} were starting to get large enough that it was hard to understand them. Also, were partly overlapping in functionality with runcmd.