summaryrefslogtreecommitdiff
path: root/subplot
AgeCommit message (Collapse)AuthorFilesLines
2021-12-05chore: add missing capture types for SubplotLars Wirzenius1-0/+4
Subplot now checks that all embedded files in the markdown file are actually used by scenarios. To do this, it needs the scenario step bindings to declare that a captured part of the scenario step is the name of an embedded file. Add the couple of such type declarations that were missing in Obnam. Sponsored-by: author
2021-11-21refactor: add simple scenario step to setup Obnam for a scenarioLars Wirzenius2-0/+18
Make the setup of an installed Obnam and a running Obnam server be one step instead of two. This is not a huge change, but even a little helps, given how many scenarios need it. Sponsored-by: author
2021-09-15fix: add 'impl' to bindings files, for new SubplotLars Wirzenius3-53/+153
Sponsored-by: author
2021-09-11test: run Obnam binaries from where Cargo puts themLars Wirzenius2-6/+7
Sponsored-by: author
2021-07-31feat: configure log verbosity with OBNAM_SERVER_LOG envvarAlexander Batischev2-3/+37
Fixes #117.
2021-07-19test: use better way to write files in PythonLars Wirzenius1-3/+6
"open(...).write(...)" does not necessarily close the file, and thus flush buffered writes to disk. "with open(...)" does. Sponsored-by: author
2021-07-18test: add scenario to verify chunkify worksLars Wirzenius2-10/+37
Sponsored-by: author
2021-05-31feat: add subcommands for encrypting, decrypting individual chunksLars Wirzenius2-0/+22
2021-05-29refactor: only have client config without passwordsLars Wirzenius2-2/+14
This means the config is always the config, and not sometimes the config or the config and passwords. Also, there's no config option for encrypting, anymore. It will not be optional now.
2021-05-29refactor: count chunks via file system, not via chunk server APILars Wirzenius2-7/+15
2021-05-10chore: use Subplot's built-in copies of its librariesLars Wirzenius9-1326/+0
Drop the copies in subplot/vendor. Subplot will now use its built-in copies by default.
2021-04-25feat: expand tilde notation in configuration fileLars Wirzenius2-0/+12
Backup roots and log file can now say ~/foo/bar to refer to files relative to the user's home directory.
2021-04-21feat: add support for CACHEDIR.TAGAlexander Batischev2-0/+10
Fixes #78.
2021-04-09refactor: make tests install a config in the default locationLars Wirzenius2-24/+13
This way, every step doesn't need to specify a --config option to the Obnam client.
2021-04-09feat: add "obnam init" subcommandLars Wirzenius2-0/+21
This reads a passphrase and derives two passwords from that, and stores them next to the configuration file. The passwords aren't yet used for anything, that will come later.
2021-04-01Merge branch 'subplot-refresh' into 'main'Lars Wirzenius7-9/+334
refactor: update the vendored Subplot libraries See merge request larswirzenius/obnam!128
2021-03-27refactor: use generic step to run command, instead of custom oneLars Wirzenius2-7/+0
2021-03-27refactor: drop unused binding to invoke obnam configLars Wirzenius1-3/+0
2021-03-24refactor: update the vendored Subplot librariesLars Wirzenius7-9/+334
2021-03-12feat: show warnings for any problems backing up filesLars Wirzenius3-1/+11
Previously, we either ignored it or aborted the backup. Neither is good. Now we ignore the problem, except to show a warning at the end of the backup run.
2021-03-12test: give better error messages for file manifests differingLars Wirzenius2-0/+34
This makes it easier to see what the problem is.
2021-03-12fix: create symlink as requested in test dataLars Wirzenius1-1/+1
Link name/target were swapped. I keep making this mistake even when checking that I'm doing it the right way.
2021-02-19feat: backup and restore named pipes (FIFOs)Lars Wirzenius2-0/+7
2021-02-19feat: back up and restore Unix domain socketsLars Wirzenius2-0/+9
2021-02-07test: add scenario for live data file being unreadableLars Wirzenius2-0/+20
2021-02-06test: add scenario for checking chunk-sizeLars Wirzenius4-17/+26
2021-02-06feat: client verifies server's TLS certificate by defaultLars Wirzenius1-0/+1
Configuration setting can disable it.
2021-02-04test: add scenario test for obnam config subcommandLars Wirzenius3-2/+37
2021-01-16feat: backup run now ends with a summaryLars Wirzenius1-1/+2
"obnam backup" now writes a summary like the following at the end: status: OK duration: 24 file-count: 119245 generation-id: ef353c79-a94f-4903-bd80-e741ea454c84 We can add more fields to that later, as needed and requested. This was the data that's easily at hand.
2021-01-04feat: verify checksum of chunks downloaded from serverLars Wirzenius7-505/+34
2021-01-04feat! record whether file was backed up and why, in a generationLars Wirzenius2-0/+36
This changes SQL schema.
2021-01-03feat: load chunk metadata into index at startupLars Wirzenius2-1/+5
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 Wirzenius9-117/+509
2020-12-30feat: allow restoring latest generationLars Wirzenius2-2/+13
2020-12-26test: add verification test for non-UTF8 filenamesLars Wirzenius2-0/+9
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-12-23feat! add a global --config optionLars Wirzenius2-2/+12
This breaks all invocations of the Obnam client, as the option needs to come before the subcommand name. The benefit of this breakage is simpler, less repetitive code.
2020-12-12feat: back up and restore symlinksLars Wirzenius2-0/+7
2020-12-12test: add scenario for restoring mode bitsLars Wirzenius2-0/+7
2020-12-11fix: how manifests are created and comparedLars Wirzenius1-4/+5
2020-12-08refactor: move functions around so that data stuff is in data.yamlLars Wirzenius4-48/+37
2020-12-06test: change backup/restore smoke test to verify metadataLars Wirzenius5-0/+543
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-22feat! use temporary files for SQLite databasesLars Wirzenius2-4/+3
The user should not have to specify filenames for the databases, since they don't actually care where they're stored.
2020-11-18feat! change client config to take a base URL instead of host, portLars Wirzenius2-11/+7
2020-11-13refactor: split obnam's bindings, functions for clarityLars Wirzenius7-194/+146
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.
2020-11-13chore: update runcmd Subplot library, move to sublot/vendoredLars Wirzenius3-0/+261
2020-11-13refactor: put all client functionality into one programLars Wirzenius2-4/+24
2020-11-13test: add scenario for smoke testing backup+restoreLars Wirzenius2-0/+79