Tony Meyer

Results 36 comments of Tony Meyer
trafficstars

Hi @phvalguima - just to clarify here, you're not suggesting that the event object should be a singleton (ie. you get the same event object in the handler each time,...

I'm really not a fan of using the maths operators outside of their normal meanings. I strongly dislike pathlib's `Path / Path`, for example, using the division operator to do...

I haven't been able to reproduce this. For example: 1. Integrate two charms. 2. Cause one to go into error state (I've just had a `NameError` in an event handler,...

I'll close this for now, but if you do know of some way I could reproduce this (other than what I've described trying above) or if anyone does run into...

I just noticed that the [canonical/juju-sdk-tutorial-k8s repo](https://github.com/canonical/juju-sdk-tutorial-k8s/) has branches for adding unit tests and integration tests. @beliaev-maksim are you in the process of adding these to the tutorial? I'm happy...

Sections for [unit](https://juju.is/docs/sdk/write-unit-tests-for-your-charm), [scenario](https://juju.is/docs/sdk/write-scenario-tests-for-your-charm), and [integration](https://juju.is/docs/sdk/write-integration-tests-for-your-charm) are now included in the k8s tutorial. Thanks @bschimke95 and @beliaev-maksim!

This was done in #1122, and I missed linking the PR to the ticket, sorry :disappointed:.

We decided against deprecating `defer()`, but we're not able to do the reinitialisation that #736 asked for. Our longer term focus for unit tests is on Scenario, which already has...

This seems to be undocumented functionality ([config.yaml](https://juju.is/docs/sdk/config-yaml), [charmcraft.yaml](https://juju.is/docs/sdk/charmcraft-yaml#heading--config), [manage application](https://juju.is/docs/juju/manage-applications#heading--configure-an-application), [how to use secrets](https://juju.is/docs/sdk/add-a-secret-to-a-charm), [release notes](https://juju.is/docs/juju/roadmap), [secret reference](https://juju.is/docs/juju/secret)). Is there documentation somewhere else?

We're going to get [John's PR](https://github.com/canonical/operator/pull/1167) into ops 2.12 as an immediate unblocker, but we feel that there's more work to be done here. It's likely that we need a...