← Back to issue list

Warn when cleaning shared directories when partitions are enabled

View original Github issue

Metadata

Project
craft-parts
Number
#810
Type
issue
State
open
Author
mr-cal
Labels
Created
2024-08-14 18:23:50+00:00
Updated
2025-03-11 14:28:57+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### What needs to get done Emit a warning when `clean` is run for the `stage` or `prime` steps for a particular part. ``` Warning: Cleaning the [stage|prime] step for a part with partitions enabled is not supported. Resolution: Clean the [stage|prime] step without specifying a part. ``` ### Why it needs to get done Until https://github.com/canonical/craft-parts/issues/665 is completed, users need to know that cleaning may result in unknown behavior.

Evaluation history

No evaluation history available.