← Back to issue list

charmcraft pack should have a 'quick' option to override certain folders in an existing .charm file

View original Github issue

Metadata

Project
charmcraft
Number
#694
Type
issue
State
closed
Author
PietroPasotti
Labels
Created
Updated
Closed

Current evaluation

Closed as a duplicate of issue #731. Maintainers directed users to the existing tracking issue for incremental build optimizations and noted destructive mode as an alternative to containerized packing.

Suggested action:

No scores available.

Issue body

Use case: I am debugging a charm.py file (nothing else changes, no new hooks are added), currently charmcraft pack takes a few minutes. Would be nice if I could do something like ``` charmcraft pack --override /path/to/myCharm.charm /path/to/src /path/to/lib /path/to/src/charm.py ``` As a workaround I currently use a script that unpacks the charm, overwrites charm.py, repacks the charm.

Evaluation history

Date Model Scores Action Summary
qwen3.6-35b-a3b-mtp-q6 Closed as a duplicate of issue #731. Maintainers directed users to the existing tracking issue for incremental build optimizations and noted destructive mode as an alternative to containerized packing.
qwen/qwen3.6-35b-a3b Closed as a duplicate of issue #731. The requested quick override option for charmcraft pack was superseded by an existing planned enhancement. Users were directed to follow the original issue for updates.
qwen3.6-35b-a3b-mtp-q6 Closed as a duplicate of issue #731. The quick override feature is planned and tracked separately. Maintainers noted incremental packing is already optimized after the initial build, and users can use destructive mode for direct host packing.
qwen3.6-35b-a3b-mtp-q6 Closed as duplicate of issue #731. The quick pack override feature was not implemented. Maintainers directed users to the referenced issue for tracking the planned optimization, noting cached infrastructure already speeds up subsequent builds.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#746 `charmcraft pack` for existing environment does not remove files that have been deleted charmcraft closed Closed as a duplicate of issue #710. The charmcraft pack command was reported to retain deleted files in the charm archive across builds. Resolution and tracking are handled in the referenced duplicate issue.
71%