~cjwatson/charm-clamav-database-mirror:main

Last commit made on 2022-10-19
Get this branch:
git clone -b main https://git.launchpad.net/~cjwatson/charm-clamav-database-mirror
Only Colin Watson can upload to this branch. If you are Colin Watson please log in for upload directions.

Branch merges

Branch information

Recent commits

d09540e... by Colin Watson

Add new charm

Much of the project skeleton came from `charmcraft init --profile
machine`.

`lib/charms/operator_libs_linux/v0/apt.py` is maintained by the
`update-lib` script; the convention for operator charms is to vendor
these files.

I considered using either the existing `apache2` charm or the existing
`nginx` charm. However, `apache2` currently only works up to focal, and
the `clamav-cvdupdate` package is only available starting from jammy;
while the `nginx` charm doesn't allow deploying a site as a subordinate,
which makes it rather cumbersome to use here. Since it's fairly trivial
to handle installing `nginx` directly, I just went with that.

The test suite doesn't quite have 100% coverage, but there's enough here
that it caught a number of my mistakes during development, and I wanted
to get this up for review without too much more delay.

4613ffe... by Colin Watson

Initial commit