-
Notifications
You must be signed in to change notification settings - Fork 75
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
retains no longer existing files from previous packs
#710
Comments
I've encountered the same issue several times in the past |
will keep my eyes peeled on whether it still occurs on latest release |
It's a known bug, so yes, still there in latest release (sorry). |
Thank you for reporting us your feedback! The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-3422.
|
Confirmed this is still an issue. I've made an upstream bug report: canonical/craft-parts#851 |
Workaround for this: you can clean a specific part without destroying the build container with |
When I repack a charm, the resulting charm has a file that no longer exists in the working directory:
Note how
src/prometheus_alert_rules/always_firing.rule
doesn't exist in the workdir, but is present in the archive.This issue went away after
clean
:Environment
The text was updated successfully, but these errors were encountered: