chiark / gitweb /
otter.git
3 years agochildio: Some type aliases
Ian Jackson [Mon, 31 May 2021 13:08:33 +0000 (14:08 +0100)]
childio: Some type aliases

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agochildio: t_false test case, test writing
Ian Jackson [Mon, 31 May 2021 13:04:39 +0000 (14:04 +0100)]
childio: t_false test case, test writing

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agochildio: t_false test case, introduce one()
Ian Jackson [Mon, 31 May 2021 12:58:55 +0000 (13:58 +0100)]
childio: t_false test case, introduce one()

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agochildio: test cases
Ian Jackson [Mon, 31 May 2021 12:47:49 +0000 (13:47 +0100)]
childio: test cases

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agochildio: new facility, will be used for ssh child
Ian Jackson [Mon, 31 May 2021 12:03:07 +0000 (13:03 +0100)]
childio: new facility, will be used for ssh child

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agosshkeys: Make MgktKeyReport contain Nonce via KeySpec
Ian Jackson [Sun, 30 May 2021 22:56:02 +0000 (23:56 +0100)]
sshkeys: Make MgktKeyReport contain Nonce via KeySpec

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agosshkeys: Provide MC::ThisConnAuthBy
Ian Jackson [Sun, 30 May 2021 19:57:43 +0000 (20:57 +0100)]
sshkeys: Provide MC::ThisConnAuthBy

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agosshkeys: Rename MR::SshKeyAdded
Ian Jackson [Sun, 30 May 2021 19:57:27 +0000 (20:57 +0100)]
sshkeys: Rename MR::SshKeyAdded

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoauthproofs: Rename methods with proof obligation to "promise"
Ian Jackson [Sun, 30 May 2021 19:34:08 +0000 (20:34 +0100)]
authproofs: Rename methods with proof obligation to "promise"

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agosshkeys: Introduce KeySpec
Ian Jackson [Sun, 30 May 2021 19:18:18 +0000 (20:18 +0100)]
sshkeys: Introduce KeySpec

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agosshkeys: Add key management commands
Ian Jackson [Sun, 30 May 2021 13:13:29 +0000 (14:13 +0100)]
sshkeys: Add key management commands

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agosshkeys: Add AccountScope and AuthState variants
Ian Jackson [Sun, 30 May 2021 13:13:01 +0000 (14:13 +0100)]
sshkeys: Add AccountScope and AuthState variants

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agocmdlistener: Make space AuthState::Ssh variant
Ian Jackson [Sat, 29 May 2021 21:56:35 +0000 (22:56 +0100)]
cmdlistener: Make space AuthState::Ssh variant

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agosshkeys: Fix Authorisation handling etc. in PerScope.check()
Ian Jackson [Sun, 30 May 2021 12:40:53 +0000 (13:40 +0100)]
sshkeys: Fix Authorisation handling etc. in PerScope.check()

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agocmdlistener: Pass AccountsGuard into authorise_scope_*
Ian Jackson [Sun, 30 May 2021 12:29:47 +0000 (13:29 +0100)]
cmdlistener: Pass AccountsGuard into authorise_scope_*

ssh key check is going to need it.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoauthproofs: Add some inline annotations
Ian Jackson [Sun, 30 May 2021 12:27:14 +0000 (13:27 +0100)]
authproofs: Add some inline annotations

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agocmdlistener: authorise_by_account
Ian Jackson [Sun, 30 May 2021 12:24:30 +0000 (13:24 +0100)]
cmdlistener: authorise_by_account

Do not re-authorise the account.  Instead, check what we got from
previous SelectAccount.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoauthproofs: Make map generic rather than taking fn
Ian Jackson [Sun, 30 May 2021 12:23:21 +0000 (13:23 +0100)]
authproofs: Make map generic rather than taking fn

This will lets us feed context into the mapper.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agosshkeys: Fix name of sshkeys_remove
Ian Jackson [Sun, 30 May 2021 11:55:03 +0000 (12:55 +0100)]
sshkeys: Fix name of sshkeys_remove

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agosshkeys: Notes about checking for non-ssh: accounts
Ian Jackson [Sun, 30 May 2021 11:52:32 +0000 (12:52 +0100)]
sshkeys: Notes about checking for non-ssh: accounts

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agosshkeys: Make the access/update functions take an Authorisation
Ian Jackson [Sun, 30 May 2021 11:31:48 +0000 (12:31 +0100)]
sshkeys: Make the access/update functions take an Authorisation

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agocmdlistener: Tidy up MC::SetSuperusr slightly
Ian Jackson [Sun, 30 May 2021 11:29:06 +0000 (12:29 +0100)]
cmdlistener: Tidy up MC::SetSuperusr slightly

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agosshkeys: Rework calling conventions of sshkeys
Ian Jackson [Sun, 30 May 2021 11:19:30 +0000 (12:19 +0100)]
sshkeys: Rework calling conventions of sshkeys

We can't pass this &mut AccountsGuard and &mut PerScope since the
latter is inside the former.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agosshkeys: Make module sub-module of accounts
Ian Jackson [Sun, 30 May 2021 11:00:40 +0000 (12:00 +0100)]
sshkeys: Make module sub-module of accounts

This will let it deal with the data structures directly.

This is good because it avoids lifetime problems with borrowing the
whole of Accounts and it is OK because sshkeys takes care over save
orderig, etc.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agosshkeys: Make methods methods on AccountsGuard
Ian Jackson [Sat, 29 May 2021 22:11:03 +0000 (23:11 +0100)]
sshkeys: Make methods methods on AccountsGuard

More global things first seems best.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agosshkeys: module for trackng auth keys, still unfinished
Ian Jackson [Sat, 29 May 2021 21:56:58 +0000 (22:56 +0100)]
sshkeys: module for trackng auth keys, still unfinished

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoutils: Break out format_by_fmt_hex
Ian Jackson [Sat, 29 May 2021 21:21:32 +0000 (22:21 +0100)]
utils: Break out format_by_fmt_hex

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoconfig: Rename in_libexec and reformat
Ian Jackson [Sat, 29 May 2021 19:38:18 +0000 (20:38 +0100)]
config: Rename in_libexec and reformat

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoconfig: Break out libexec closure
Ian Jackson [Sat, 29 May 2021 19:36:41 +0000 (20:36 +0100)]
config: Break out libexec closure

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoAdd openssh-keys as a dependency, prep for ssh key auth
Ian Jackson [Sat, 29 May 2021 16:03:29 +0000 (17:03 +0100)]
Add openssh-keys as a dependency, prep for ssh key auth

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoaccounts: Break out pct closure
Ian Jackson [Sun, 23 May 2021 23:28:20 +0000 (00:28 +0100)]
accounts: Break out pct closure

We're going to want to reuse it.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoauthorisation: Move euid info into AuthState
Ian Jackson [Sun, 23 May 2021 23:23:27 +0000 (00:23 +0100)]
authorisation: Move euid info into AuthState

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoauthorisation: Introduce AuthState
Ian Jackson [Sun, 23 May 2021 22:56:49 +0000 (23:56 +0100)]
authorisation: Introduce AuthState

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoConnectionEuidDiscoverError: Fix typo in type name
Ian Jackson [Sun, 23 May 2021 22:38:38 +0000 (23:38 +0100)]
ConnectionEuidDiscoverError: Fix typo in type name

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoCHANGELOG: Start a new section
Ian Jackson [Sun, 23 May 2021 18:27:29 +0000 (19:27 +0100)]
CHANGELOG: Start a new section

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: Expand on penultima game description
Ian Jackson [Sun, 23 May 2021 18:20:11 +0000 (19:20 +0100)]
docs: Expand on penultima game description

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs/bundles.rst: fix typos and copy-paste-os.
Simon Tatham [Sun, 23 May 2021 17:32:47 +0000 (18:32 +0100)]
docs/bundles.rst: fix typos and copy-paste-os.

Signed-off-by: Simon Tatham <anakin@pobox.com>
3 years agoCargo.toml: Update all versions to 0.6.0 otter-0.6.0
Ian Jackson [Sun, 23 May 2021 16:57:52 +0000 (17:57 +0100)]
Cargo.toml: Update all versions to 0.6.0

Commit made automatically by update-versions.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoCHANGELOG.md: Finalise for 0.6.0
Ian Jackson [Sun, 23 May 2021 16:57:33 +0000 (17:57 +0100)]
CHANGELOG.md: Finalise for 0.6.0

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoCHANGELOG: Ready for 0.6.0
Ian Jackson [Sun, 23 May 2021 16:56:41 +0000 (17:56 +0100)]
CHANGELOG: Ready for 0.6.0

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoCHANGELOG: Updates since 0.5.1
Ian Jackson [Sun, 23 May 2021 16:51:50 +0000 (17:51 +0100)]
CHANGELOG: Updates since 0.5.1

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: Move bundle examples into examples/ directory, etc.
Ian Jackson [Sun, 23 May 2021 15:14:04 +0000 (16:14 +0100)]
docs: Move bundle examples into examples/ directory, etc.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: Move bundle examples into examples/ directory.
Ian Jackson [Sun, 23 May 2021 15:08:37 +0000 (16:08 +0100)]
docs: Move bundle examples into examples/ directory.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: Link to bundle examples
Ian Jackson [Sun, 23 May 2021 15:02:40 +0000 (16:02 +0100)]
docs: Link to bundle examples

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: Fix typo
Ian Jackson [Sun, 23 May 2021 14:58:21 +0000 (15:58 +0100)]
docs: Fix typo

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoMakefile: Hardlink example bundles into docs
Ian Jackson [Sun, 23 May 2021 14:58:00 +0000 (15:58 +0100)]
Makefile: Hardlink example bundles into docs

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoMakefile: Provide EXAMPLE_BUNDLE_FILES
Ian Jackson [Sun, 23 May 2021 14:51:13 +0000 (15:51 +0100)]
Makefile: Provide EXAMPLE_BUNDLE_FILES

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: Document aliases
Ian Jackson [Sun, 23 May 2021 14:46:51 +0000 (15:46 +0100)]
docs: Document aliases

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: Remove obsolete `Advanced` section
Ian Jackson [Sun, 23 May 2021 14:36:58 +0000 (15:36 +0100)]
docs: Remove obsolete `Advanced` section

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: Work and tidying
Ian Jackson [Sun, 23 May 2021 14:36:30 +0000 (15:36 +0100)]
docs: Work and tidying

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: Work on specs
Ian Jackson [Sun, 23 May 2021 14:27:22 +0000 (15:27 +0100)]
docs: Work on specs

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: Work on specs
Ian Jackson [Sun, 23 May 2021 14:22:47 +0000 (15:22 +0100)]
docs: Work on specs

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: Clarify zipfile contents
Ian Jackson [Sun, 23 May 2021 14:03:48 +0000 (15:03 +0100)]
docs: Clarify zipfile contents

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: Some todos
Ian Jackson [Sun, 23 May 2021 14:02:54 +0000 (15:02 +0100)]
docs: Some todos

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: TOML terminology
Ian Jackson [Sun, 23 May 2021 14:02:25 +0000 (15:02 +0100)]
docs: TOML terminology

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: Rename mandatory -> required
Ian Jackson [Sun, 23 May 2021 13:55:14 +0000 (14:55 +0100)]
docs: Rename mandatory -> required

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: piece specs wip
Ian Jackson [Sun, 23 May 2021 13:54:37 +0000 (14:54 +0100)]
docs: piece specs wip

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: piece specs wip
Ian Jackson [Sun, 23 May 2021 13:38:31 +0000 (14:38 +0100)]
docs: piece specs wip

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: sort out cross-referencing
Ian Jackson [Sun, 23 May 2021 11:59:23 +0000 (12:59 +0100)]
docs: sort out cross-referencing

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: wip document specs etc.
Ian Jackson [Sun, 23 May 2021 11:47:55 +0000 (12:47 +0100)]
docs: wip document specs etc.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: wip document specs
Ian Jackson [Sun, 23 May 2021 02:06:06 +0000 (03:06 +0100)]
docs: wip document specs

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: wip document specs
Ian Jackson [Sun, 23 May 2021 02:01:18 +0000 (03:01 +0100)]
docs: wip document specs

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: wip document specs
Ian Jackson [Sun, 23 May 2021 01:58:19 +0000 (02:58 +0100)]
docs: wip document specs

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agogamestate: Change default table size to match mao and penultima
Ian Jackson [Sun, 23 May 2021 01:58:00 +0000 (02:58 +0100)]
gamestate: Change default table size to match mao and penultima

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: wip document shapelibs
Ian Jackson [Sun, 23 May 2021 01:48:44 +0000 (02:48 +0100)]
docs: wip document shapelibs

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: wip document shapelibs
Ian Jackson [Sun, 23 May 2021 01:45:08 +0000 (02:45 +0100)]
docs: wip document shapelibs

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: wip document shapelibs, reorder
Ian Jackson [Sun, 23 May 2021 01:37:27 +0000 (02:37 +0100)]
docs: wip document shapelibs, reorder

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: wip document shapelibs, move from shapelib-toml
Ian Jackson [Sun, 23 May 2021 01:30:47 +0000 (02:30 +0100)]
docs: wip document shapelibs, move from shapelib-toml

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: wip document shapelibs, move from shapelib-toml
Ian Jackson [Sun, 23 May 2021 01:27:12 +0000 (02:27 +0100)]
docs: wip document shapelibs, move from shapelib-toml

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: wip document shapelibs, move from shapelib-toml
Ian Jackson [Sun, 23 May 2021 01:10:29 +0000 (02:10 +0100)]
docs: wip document shapelibs, move from shapelib-toml

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: wip document shapelibs, move from shapelib-toml
Ian Jackson [Sun, 23 May 2021 01:06:09 +0000 (02:06 +0100)]
docs: wip document shapelibs, move from shapelib-toml

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: wip document shapelibs, move from shapelib-toml
Ian Jackson [Sun, 23 May 2021 00:56:22 +0000 (01:56 +0100)]
docs: wip document shapelibs, move from shapelib-toml

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: wip document shapelibs, move from shapelib-toml
Ian Jackson [Sun, 23 May 2021 00:52:36 +0000 (01:52 +0100)]
docs: wip document shapelibs, move from shapelib-toml

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: wip document shapelibs, move from shapelib-toml
Ian Jackson [Sun, 23 May 2021 00:45:54 +0000 (01:45 +0100)]
docs: wip document shapelibs, move from shapelib-toml

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: wip document shapelibs
Ian Jackson [Sun, 23 May 2021 00:40:49 +0000 (01:40 +0100)]
docs: wip document shapelibs

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: wip document shapelibs, move from shapelib-toml
Ian Jackson [Sun, 23 May 2021 00:40:03 +0000 (01:40 +0100)]
docs: wip document shapelibs, move from shapelib-toml

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: wip document shapelibs, move from shapelib-toml
Ian Jackson [Sun, 23 May 2021 00:37:50 +0000 (01:37 +0100)]
docs: wip document shapelibs, move from shapelib-toml

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: wip document shapelibs, move from shapelib-toml
Ian Jackson [Sun, 23 May 2021 00:35:05 +0000 (01:35 +0100)]
docs: wip document shapelibs, move from shapelib-toml

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: wip document shapelibs, move from shapelib-toml
Ian Jackson [Sun, 23 May 2021 00:30:08 +0000 (01:30 +0100)]
docs: wip document shapelibs, move from shapelib-toml

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: wip document shapelibs, move from shapelib-toml
Ian Jackson [Sun, 23 May 2021 00:26:47 +0000 (01:26 +0100)]
docs: wip document shapelibs, move from shapelib-toml

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: wip document shapelibs, move from shapelib-toml
Ian Jackson [Sun, 23 May 2021 00:19:45 +0000 (01:19 +0100)]
docs: wip document shapelibs, move from shapelib-toml

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: wip document shapelibs, move from shapelib-toml
Ian Jackson [Sun, 23 May 2021 00:17:11 +0000 (01:17 +0100)]
docs: wip document shapelibs, move from shapelib-toml

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: wip document shapelibs, move from shapelib-toml
Ian Jackson [Sun, 23 May 2021 00:03:07 +0000 (01:03 +0100)]
docs: wip document shapelibs, move from shapelib-toml

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: wip document shapelibs
Ian Jackson [Sat, 22 May 2021 23:43:54 +0000 (00:43 +0100)]
docs: wip document shapelibs

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: wip document bundles
Ian Jackson [Sat, 22 May 2021 23:25:43 +0000 (00:25 +0100)]
docs: wip document bundles

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: wip document bundles
Ian Jackson [Sat, 22 May 2021 23:20:26 +0000 (00:20 +0100)]
docs: wip document bundles

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agodocs: wip document bundles
Ian Jackson [Sat, 22 May 2021 23:10:11 +0000 (00:10 +0100)]
docs: wip document bundles

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agobundles: Improve metadata in bundle-generated svgs
Ian Jackson [Sat, 22 May 2021 22:14:56 +0000 (23:14 +0100)]
bundles: Improve metadata in bundle-generated svgs

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agobundles: Include some metadata in bundle-generated svgs
Ian Jackson [Sat, 22 May 2021 22:06:51 +0000 (23:06 +0100)]
bundles: Include some metadata in bundle-generated svgs

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agotermprogress::Nest: Show outer phase number only if count>1
Ian Jackson [Sat, 22 May 2021 21:48:46 +0000 (22:48 +0100)]
termprogress::Nest: Show outer phase number only if count>1

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agotermprogress::Nest: Show outer phase number in phase desc
Ian Jackson [Sat, 22 May 2021 21:46:04 +0000 (22:46 +0100)]
termprogress::Nest: Show outer phase number in phase desc

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agootter: Show upload progress bar by default
Ian Jackson [Sat, 22 May 2021 21:43:26 +0000 (22:43 +0100)]
otter: Show upload progress bar by default

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agobundles: base64 the SVGs from bundles
Ian Jackson [Sat, 22 May 2021 21:21:32 +0000 (22:21 +0100)]
bundles: base64 the SVGs from bundles

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agobundles: Make Base64Meta sizes be f64
Ian Jackson [Sat, 22 May 2021 21:33:24 +0000 (22:33 +0100)]
bundles: Make Base64Meta sizes be f64

We'll want this in a moment.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agobundles: Move BufReader back into image_usvg
Ian Jackson [Sat, 22 May 2021 21:27:54 +0000 (22:27 +0100)]
bundles: Move BufReader back into image_usvg

It's base64_usvg that the actual-svg will want.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agobundles: Split out base64_usvg
Ian Jackson [Sat, 22 May 2021 21:26:54 +0000 (22:26 +0100)]
bundles: Split out base64_usvg

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agobundles: Move BufReader out of image_usvg
Ian Jackson [Sat, 22 May 2021 21:18:25 +0000 (22:18 +0100)]
bundles: Move BufReader out of image_usvg

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agobundles: Parse size: Small refactoring
Ian Jackson [Sat, 22 May 2021 21:16:16 +0000 (22:16 +0100)]
bundles: Parse size: Small refactoring

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agobundles: Parse size of out of our generated usvgs, wip for base64
Ian Jackson [Sat, 22 May 2021 20:07:52 +0000 (21:07 +0100)]
bundles: Parse size of out of our generated usvgs, wip for base64

This is not really useful atm, but it proves the principle.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
3 years agoexample bundle: Test alternative file name
Ian Jackson [Sat, 22 May 2021 19:33:15 +0000 (20:33 +0100)]
example bundle: Test alternative file name

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>