Open sed-i opened 2 years ago
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.
This message was autogenerated
Confirmed this is still an issue. I've made an upstream bug report: https://github.com/canonical/craft-parts/issues/851
Workaround for this: you can clean a specific part without destroying the build container with charmcraft clean <part-name>
. e.g. charmcraft clean charm
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