← Back to issue list

commands/build: output charms to cwd when using provider (CRAFT-359)

View original Github issue

Metadata

Project
charmcraft
Number
#438
Type
pull request
State
merged
Author
cjp256
Labels
Created
Updated
Closed

Current evaluation

Merged after two approvals and passing CI. The change updates build commands to output charms directly to the current working directory when using a provider, simplifying file placement and retrieval. Modified five files with 177 additions and five deletions.

Suggested action:

No scores available.

Issue body

If building in project directory, use the project path as the working directory. The output charms will be placed in the correct directory without needing retrieval. If outputing to a directory other than the charm project directory, we need to output the charm outside the project directory and can retrieve it when complete. Use the home directory for this output inside the container. Signed-off-by: Chris Patterson <chris.patterson@canonical.com>

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged after two approvals and passing CI. The change updates build commands to output charms directly to the current working directory when using a provider, simplifying file placement and retrieval. Modified five files with 177 additions and five deletions.
qwen3.6-35b-a3b-mtp-q6 Merged. Updates the build command to output charms to the current working directory when using a provider, simplifying file placement and retrieval. Resolves CRAFT-359.
qwen3.6-35b-a3b-mtp-q6 Merged fix for CRAFT-359 that adjusts charm build output paths when using a provider. In-project builds now output charms to the current working directory, while external builds route output through the container home directory for retrieval.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#541 charm_builder: build dependencies locally (CRAFT-537) charmcraft merged Merged changes to charm_builder that build binary dependencies locally instead of installing them. A persistent virtual environment caches dependencies to prevent rebuilds. Approved by two reviewers, passed CI, and modified seven files.
72%
#471 config: add charm part to documentation (CRAFT-356) charmcraft merged Merged changes adding charm configuration documentation to the configuration schema. Approved by two reviewers with zero unresolved comments. Updated two files with 15 additions and one deletion. Resolves CRAFT-356.
71%
#383 commands/build: charm file name format support for bases (CRAFT-66) charmcraft merged Merged following approval by three reviewers. Introduces charm file name format support for bases configuration, preserving the existing format as a legacy runtime path. Includes corresponding tests. (+98/-1 lines, 2 files changed)
70%