fix(project): preserve full namespace on create

Description

Preserve the complete namespace when glab repo create receives a nested project path. The command now consumes the already-parsed RepoOwner() value instead of dropping the top-level group through RepoNamespace().

Add a focused four-case regression test covering shallow, nested, tertiary, and explicitly qualified self-managed-host paths.

Resolves #1252 (closed)

How has this been tested?

  • Confirmed RED on current main: all three nested cases failed only because the top-level namespace component was missing; shallow, host, and project values already passed
  • go test -count=1 ./internal/commands/project/create -run "^TestProjectPathFromArgs$"
  • go test -count=1 ./internal/commands/project/create
  • make test-changed (83 tests passed)
  • make build
  • make lint (0 issues with pinned golangci-lint 2.12.2)
  • Lefthook 2.0.2 pre-push: build, 83 tests, and generated documentation/code checks passed

Merge request reports

Loading