Dave Wilding

Results 25 issues of Dave Wilding

In https://github.com/canonical/charmcraft/pull/2312 we're switching the `kubernetes` and `machine` Charmcraft profiles to use uv for building the charms. After this is released in Charmcraft, we should amend [How to manage charms](https://ops.readthedocs.io/en/latest/howto/manage-charms.html)...

docs
25.10
roadmap

In Charmcraft 4.0, we're planning to remove the `simple` profile of `charmcraft init` (see https://github.com/canonical/charmcraft/pull/2295). When this is released, we'll need to change Ops: - Change the note in [Create...

docs
25.10
roadmap

The testing code: ```python ctx = testing.Context(MyCharm, meta={"name": "foo", "containers": {"my_container": {}}}) layer = pebble.Layer({ "checks": {"http-check": {"override": "replace", "startup": "enabled", "failures": 7}}, }) check_info = testing.CheckInfo( "http-check", status=pebble.CheckStatus.UP, level=layer.checks["http-check"].level,...

tests
26.04
rainy day

It would be helpful to add a "conclusions" chapter [K8s tutorial](https://ops.readthedocs.io/en/latest/tutorial/from-zero-to-hero-write-your-first-kubernetes-charm/index.html) with pointers about how to publish the charm and suggestions for what to do next (e.g., other functionality to...

docs
25.10

Per https://github.com/canonical/operator/issues/1671, we should make sure the docs are clear about: - Objects should be treated as immutable - How to create adjusted objects during a unit test (see [Tony's...

docs
26.04
rainy day

For the May Ops release, publish a version of the docs `https://ops.readthedocs.io/en/2.21-maintenance/` (or similar). This version will only be kept up-to-date with fixes applied to Ops 2.x. It would probably...

docs
next release
25.10

This PR is a work in progress. Goals: - Update command outputs to match what you get when playing the tutorial end to end - Update the instructions about checking...

## Description I have a reST source file that contains a `code-block` directive for a YAML snippet, where the YAML has several layers of nesting. The deepest parts of the...

bug

Based on feedback internally, we should cover a couple more things in [How to write unit tests for a charm](https://documentation.ubuntu.com/ops/latest/howto/write-unit-tests-for-a-charm/): - What might a test look like for a machine...

docs
26.04
rainy day

This PR significantly reworks [How to manage storage](https://documentation.ubuntu.com/ops/latest/howto/manage-storage/). The current doc has several problems: - It's not clear that `_update_configuration` is supposed to be an example of a holistic handler....