← Back to issue list

fix(application): Only allow --project-dir for init and pack

View original Github issue

Metadata

Project
craft-application
Number
#253
Type
pull request
State
closed
Author
mattculler
Labels
Created
Updated
Closed

Current evaluation

Restricting --project-dir to init and pack commands was closed without merging. Reviewers requested changes with two unresolved comments, leading to abandonment.

Suggested action:

No scores available.

Issue body

- [ ] Have you followed the guidelines for contributing? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `tox`? ----- (CRAFT-2434)

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Restricting --project-dir to init and pack commands was closed without merging. Reviewers requested changes with two unresolved comments, leading to abandonment.
qwen3.6-35b-a3b-mtp-q6 Merged and closed. The change restricted the --project-dir flag to init and pack commands, resolving CRAFT-2434.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1592 fix(cli): restrict --project-dir to init and pack commands (#1565) charmcraft merged Merged to main as a cherry-pick, restricting the --project-dir CLI flag to init and pack commands. Approved by two reviewers, the update removes 579 lines across eight files.
74%
#1565 fix(cli): --project-dir should only be available for init and pack commands charmcraft merged Merged a fix restricting the --project-dir CLI flag to only init and pack commands. The change removed the global flag, cleaned up tests, and reduced code by nearly 600 lines. Approved by reviewers and passed all CI checks.
74%
#1583 fix(cli): restrict --project-dir to init and pack commands (#1565) charmcraft closed Merged #1565 to restrict the --project-dir CLI flag to init and pack commands. The change modified 9 files, removing 599 lines and adding 26, limiting flag scope to relevant commands and resolving the CLI configuration issue.
71%