← Back to issue list

fix(init): allow long directory names

View original Github issue

Metadata

Project
snapcraft
Number
#6216
Type
pull request
State
open
Author
gcomneno
Labels
Created
2026-04-27 14:51:48+00:00
Updated
2026-04-27 15:04:07+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

Summary - validate snap names during init name resolution so directory-derived names can fall back to the default - keep explicit invalid names failing with Snapcraft's snap name validation - add coverage for long working directory names Issue Closes #6093 Validation - pytest -q tests/unit/services/test_init.py tests/unit/commands/test_init.py -rs - ruff check snapcraft/services/init.py tests/unit/services/test_init.py tests/unit/commands/test_init.py - ruff format snapcraft/services/init.py tests/unit/services/test_init.py tests/unit/commands/test_init.py - git diff --check

Evaluation history

No evaluation history available.