davsession

command
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2026 License: MIT Imports: 22 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command davsession records a scripted write session (internal/davsession) against a provider's servers, for a replay test (docs/design/testing.md, DAV and Tasks recordings). It signs in as one of maild's accounts, with the credentials a snapshot of maild's database and the keyring hold, but syncs into a new store of its own, so the trace starts with a first sync, as a replay test's account does. Each step is one write and the pass that sends it, on a clock stopped at the start.

The raw trace holds the account's contacts, calendars and tasks: scrub it with tools/davrec before it leaves the machine. The session deletes what it makes; when it fails partway, it says what may be left.

go run ./tools/davsession -account 6 -o /tmp/session.trace google
go run ./tools/davsession -account 7 -o /tmp/session.trace microsoft

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL