Comment 2 for bug 1725313

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 1725313] Re: juju removes all dot files from charm directory when deploying local charm

This is nothing to do with the provider, all charms always strip hidden
files:
https://github.com/juju/charm/blob/v6-unstable/charmdir.go#L226

I'm pretty sure the original intent was to make sure version control
directories (.git,.bzr,.svn, etc) are omitted. (When building the charm.)

Further, I think we remove all directories that aren't "hooks" on
extraction:
https://github.com/juju/charm/blob/v6-unstable/charmarchive.go#L311

John
=:->

On Fri, Oct 20, 2017 at 7:39 PM, Tom Haddon <email address hidden>
wrote:

> This is on OpenStack using juju 2.2.3, fwiw
>
> --
> You received this bug notification because you are subscribed to juju.
> Matching subscriptions: juju bugs
> https://bugs.launchpad.net/bugs/1725313
>
> Title:
> juju removes all dot files from charm directory when deploying local
> charm
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/1725313/+subscriptions
>