← Back to issue list

`icon.svg` is not included in `*.charm` file

View original Github issue

Metadata

Project
charmcraft
Number
#2593
Type
issue
State
open
Author
Abuelodelanada
Labels
Type: Documentation
Created
2026-03-13 17:43:27+00:00
Updated
2026-03-18 16:55:47+00:00
Closed

Current evaluation

charmcraft pack omits icon.svg from charm archives when using non-charm plugins, requiring a manual dump plugin workaround, with documentation updates now tracked under CHARMCRAFT-658.

Suggested action: keep open

Reason: The issue has been triaged, a technical workaround provided, and is now tracked in a Jira ticket (CHARMCRAFT-658) for documentation updates. It should remain open until the migration guides are updated.

Staleness: 30 Complexity: 15 Confidence: 90 Support Request: 10

Issue body

### Check existing issues - [x] I've verified that this bug isn't described by any existing issues. ### Bug description `charmcraft pack` does not include `icon.svg` in the final `*.charm` files. According to [this post](https://discourse.charmhub.io/t/problems-creating-a-charm-logo-icon-svg/6959/3?u=jose) the file icon.svg should be included in `*.charm` file. Besides that, according to [this doc](https://documentation.ubuntu.com/charmcraft/stable/reference/files/icon-svg-file/) the icon should be 100x100px. Because of this, charms end up without a logo in charmhub.io ### Steps to reproduce 1. Clone this repo: https://github.com/canonical/opentelemetry-collector-operator/ 2. run `charmcraft pack` 3. Verify that `icon.svg` is not in the `*.charm` files ### Environment charmcraft 4.0.1

Evaluation history

Date Model Scores Action Summary
2026-06-15 12:16:39.941989+00:00 qwen3.6-35b-a3b-mtp-q6
Staleness: 30
Complexity: 15
Confidence: 90
Support Request: 10
keep open charmcraft pack omits icon.svg from charm archives when using non-charm plugins, requiring a manual dump plugin workaround, with documentation updates now tracked under CHARMCRAFT-658.
2026-06-15 12:13:56.359794+00:00 pending