← Back to issue list

commands/init: fix handling for platforms without pwd (CRAFT-496)

View original Github issue

Metadata

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

Current evaluation

Merged fix for commands/init to handle platforms lacking the pwd module. Added Windows user information querying. Approved by two reviewers, modifying two files with 51 additions and 19 deletions.

Suggested action:

No scores available.

Issue body

Future work can add similar support for other platforms. Example code for Windows: https://sjohannes.wordpress.com/2010/06/19/win32-python-getting-users-display-name-using-ctypes/ Signed-off-by: Chris Patterson <chris.patterson@canonical.com>

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged fix for commands/init to handle platforms lacking the pwd module. Added Windows user information querying. Approved by two reviewers, modifying two files with 51 additions and 19 deletions.
qwen3.6-35b-a3b-mtp-q6 Merged fix for commands/init to handle platforms lacking the pwd module. Added Windows user information query support, resolving CRAFT-496.
qwen3.6-35b-a3b-mtp-q6 Merged fix for commands/init to handle platforms lacking the pwd module, resolving CRAFT-496. Includes Windows support to query user information.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#706 fix: improve the handling of platforms errors. craft-application merged Merged fix for platform error handling. Approved by two reviewers with all CI checks passing. Resolves issue #690 and CRAFT-4369/4370. Modifies eight files with 98 additions and 239 deletions.
74%