Output path changed with charmcraft 1.1.0
Metadata
Current evaluation
Charmcraft’s 1.1.0 pack regression was fixed, again writing the packed charm to the current working directory rather than the --project-dir directory.
Resolution: closed resolved
Reason: The repository record confirms that pack output was restored to the current directory. On 2021-07-07, maintainer facundobatista explicitly acknowledged this as a regression and committed to fixing it.
Evaluated by: mr-cal-bot
No scores available.
Issue body
`charmcraft pack --project-dir foo/` used to build the charm and save the output in the current directory. With Charmcraft 1.1.0, `charmcraft pack` saves the charmfile in the `project-dir` folder.
Is it possible to revert this the the previous behavior? That is, save the charm file in the current directory, instead of in the dir specified with `--project-dir`?
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Charmcraft’s 1.1.0 pack regression was fixed, again writing the packed charm to the current working directory rather than the --project-dir directory. | |
| stealth/space-bunny-alpha | — | closed resolved | Fixed in commit 7b2e529f by restoring pack output to the current directory when --project-dir is used. | |
| stealth/space-bunny-alpha | — | closed resolved | Charmcraft 1.1.0's changed `pack` output location was fixed, restoring output to the current directory rather than the `--project-dir` directory. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Identified as a regression, the output path change in charmcraft 1.1.0 was fixed. The pack command now correctly outputs to the current directory instead of the project directory. | |
| qwen/qwen3.6-35b-a3b | — | — | The charmcraft 1.1.0 regression changing the pack output path to the project directory was identified and fixed, restoring the previous current directory behavior. | |
| qwen/qwen3.6-35b-a3b | — | — | Fixed as a regression. The output path behavior was reverted to save charm files in the current directory instead of the project-dir folder. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Fixed. The output path regression in charmcraft 1.1.0 was acknowledged as a bug and resolved. The pack command now correctly saves the charm file in the current directory instead of the project directory. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2707 Charmcraft confuses the current directory with the project directory when both has a charmcraft.yaml | charmcraft | open | Charmcraft 4.2.1 mixed the CWD and -p project files when both had charmcraft.yaml, breaking nested pack builds and CI; targeted project-directory fixes are present in current code. | |
| #2600 fix: make the -p and -o arguments work correctly | charmcraft | merged | Merged PR #2600 (commit 868da353), fixing charmcraft pack to honor --project-dir and apply --output outside the container; this closes #1930. |