You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Confirmed this is an issue with charm-tools, not charmstore-client
Provide versions of tools used
Described the feature or ways to replicate the issue
What version am I running?
I ran the following command: charm version and got the following output:
charmstore-client 2.5.1
charm-tools 2.8.1
I am using: Ubuntu Focal
Issue/Feature
Charm build should not overwrite files silently, but should raise an error when file already exist and comes from another layer.
I expect/expected the following
While building charm-openstack-integrator:
charm-build --log-level DEBUG -o ~/canonical/charm-build/ .
charm-build: error: An attempt was made to overwrite a file "lib/charms/layer/__init__.py" with a layer "snap". The file has already been created by a layer "basic"
What I got
Because the mergelayer: snap contains the file __init __.py, __init__.py from the layer: basic will be overwritten.
Checklist
What version am I running?
I ran the following command:
charm version
and got the following output:I am using: Ubuntu Focal
Issue/Feature
Charm build should not overwrite files silently, but should raise an error when file already exist and comes from another
layer
.I expect/expected the following
While building
charm-openstack-integrator
:What I got
Because the merge
layer: snap
contains the file__init __.py
,__init__.py
from thelayer: basic
will be overwritten.While building
charm-openstack-integrator
:The text was updated successfully, but these errors were encountered: