store-admin ignores charm revision pinning on bundles

Bug #2083876 reported by Lucas Gameiro Borges
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
snapstore-client
New
Undecided
Unassigned

Bug Description

Hello!

Not sure if this is better described as a feature request or a bug (probably the first).

Suppose I have the following charms.yaml file (this will come from a bundle file, hence the pinning):

```
applications:
[...]
  grafana-agent-k8s:
    channel: latest/edge
    charm: grafana-agent-k8s
    constraints: arch=amd64
    revision: 93
    scale: 1
[...]
```

When doing `store-admin export charms ./example.yaml`, store-admin will ignore the revision pinning (93 in this case) and will deploy the latest revision on the specified `latest/edge` channel (94 in this case):

```
Downloading grafana-agent-k8s revision 94 (edge)
  [####################################] 100%
```

Let me know if more context is needed. Thank you!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.