← Back to issue list

Output path changed with charmcraft 1.1.0

View original Github issue

Metadata

Project
charmcraft
Number
#434
Type
issue
State
closed
Author
heitorPB
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

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
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.
qwen3.6-35b-a3b-mtp-q6 The charmcraft 1.1.0 regression that changed the pack output path to the project directory was identified and fixed. The behavior was reverted to output charms to the current working directory.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#103 Charmcraft build does not let you decide the output directory charmcraft closed Implemented the ability to specify a custom output directory for charmcraft builds. The feature was added to the pack command, resolving the original limitation.
75%
#2707 Charmcraft confuses the current directory with the project directory when both has a charmcraft.yaml charmcraft open Regression in charmcraft 4.2.1 where 'charmcraft pack -p' fails if both CWD and project directory contain charmcraft.yaml. Untriaged, 101 days old.
70%