Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

charmcraft pack for existing environment does not remove files that have been deleted #746

Closed
ca-scribner opened this issue Apr 11, 2022 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@ca-scribner
Copy link

What happened

If you:

  • charmcraft pack' a charm
  • then delete a local file
  • charmcraft pack again

The deleted file does not get removed from the .charm

Expected behaviour

That charmcraft pack would produce a charm that reflects what is in my current directory (in this case, without the deleted file), regardless of whether it has been run previously or not. Or, that charmcraft pack will fail in cases where it cannot produce a charm reflecting my current directory (and that it gives a helpful error suggesting how to resolve)

@facundobatista
Copy link
Contributor

Dup of #710

@facundobatista facundobatista added the duplicate This issue or pull request already exists label Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants