âś— |
Intended functionality |
Despite all the items for publication readiness, the charm must work. |
Charm does what it is meant to do - ideally done in a demo. |
The README has instructions for running actions that don’t work (in Juju 3.x), run-action should be run (was run-action a Juju CLI command in the past?), and there is no enable or disable action defined. |
âś“ |
Charmhub.io charm detail page |
A complete and consistent appearance of the charm is required for a quality impression of the charm collection. |
The overall appearance looks good, which means: * The name complies with the naming guidelines. * The publisher is identified. * The links are provided. * The documentation looks reasonable. |
See also documentation notes below. |
âś“ |
Source repository |
Generally, the source code for charms must be accessible by the community for transparency and collaboration. |
It is not entirely mandatory to have the charm published as OSS for review, but the repository must be accessible from the persons working on the review request. |
|
âś— |
Coding conventions |
The source code of the charm is accessible in the sense of approachability. Consistent source code style and formatting are also considered a sign of being committed to quality. |
The implemented checks for coding conventions are reasonable and implemented in the regular CI/CD implementation. |
codespell, flake8, isort, black (no static type checking, which is fine, just a note). Generally the Charm Tech team recommend doing “import ops” and “ops.X” rather than “from ops.Y import X” (you don’t have to do this, just mentioning it as an FYI). jsonschema should be in PYDEPS |
âś“ |
Release automation implementation |
An implementation for automated releasing to charmhub.io improves the ability to provide updates covering vulnerabilities quickly. |
Release automation for unstable channels to enable testing when new versions of the charm code or the workload become available. |
|
âś— |
Unit tests implementation |
In particular, for the charms review, assuring a reasonable test suite is essential to allow for automated releases in future. |
The unit tests show relevant coverage. It is a case-dependent review.At the time of review, the test runs successfully. |
Ideally, this commented line wouldn’t be left in the test code. Unclear why the action tests (e.g.) call the charm private method instead of having Harness trigger the action. |
âś“ |
Unit tests results |
Availability of test results is mandatory for a working collaborative project. |
URL to test results from CI/CD automation. |
|
âś“ |
Installation test implemented (could be part of the integration test) |
In particular, for the charm review, assuring a reasonable test suite is essential to allow for automated releases in future. With this test, for every build, it is ensured that the installation is successful. |
An implementation for checking the installation is present. The implementation should also check for successful installation as part of the automation, and the workload behaves as expected. At the time of review, the test runs successfully. |
build & deploy integration test covers this. |
âś“ |
Installation test results |
Availability of test results is mandatory for a working collaborative project. |
URL to test results from CI/CD automation. |
|
âś— |
Integration tests implemented |
In particular for the review of charms, assuring a reasonable test suite is important to allow for automated releases in future. With this test, for every build, it is ensured that the integration with other charms is successful. |
An implementation for testing the required integrations (if applicable) is present. The implementation should also check for successful integration as part of the automation and the workload behaves as expected. At the time of review, the test runs successfully. |
The only integration test is one that builds, deploys, and waits for an initial status - there isn’t any testing of the charm/lib or integration with other charms. Also checked charm-relation-interfaces and there are none there. |
âś“ |
Integration test results |
Availability of test results is mandatory for a working collaborative project. |
URL to test results from CI/CD automation. |
|
âś— |
Documentation for usage |
The documentation for using the charm should be separate from the documentation for developing or contributing to the charm. |
URL to this documentation is present. |
It would be nice if “microsoft providers” and “apple providers” were properly capitalised in the config descriptions. There’s an “and” missing in the paragraph describing the lib and “the the”. |
âś— |
Documentation for contributing |
The documentation for contributing to the charm should be separate from the documentation for developing or using the charm. |
URL to this documentation is present. |
The deploy example at the end provides http-bin as a resource, which does not seem to be required. |
âś“ |
Licensing statement |
For the charm shared, OSS or not, the licensing terms of the charm are clarified (which also implies an identified authorship of the charm). |
URL to the ruling licensing statement is present. |
|