canonical / canonical/microceph
`make update-schema` - undocumented dependencies
Open
bug
documentation
- Dominant language
- Go
- Stars
- 396
- Forks
- 74
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 7
Description
`make update-schema` is supposed to run the `go generate` command, which is useful for generating the database mapper files.
However, the required `lxd-generate` and `mockery` (which are needed in the `microceph/database` files) and their versions are not documented. Additionally, using the latest versions generates diffs (the following imports are missing: `context`, `net/http`, `strings`, `github.com/canonical/microcluster/v2/cluster`), plus using `mockvery` v3 results in errors (does not support the ``--name`` argument, but `mockery` v2 does).
Contributor guide
Assessment
This issue has not been assessed yet.