b26ed7c3e4
Working copies were stored as /data/working-copies/{repo_id}/{workspace_name}/,
so git clone was forced into a user-named directory. That meant the container
mount basename was the workspace name (e.g. main) instead of the repo name.
- Generate the workspace UUID before cloning and clone into
/data/working-copies/{workspace_id}/ so git creates {repo_name}/ naturally
- Set workspace.path to /data/working-copies/{workspace_id}/{repo_name}/
- Update _migrate_clone_into_workspace() to use the same layout
- _get_repository_mount_name() now prefers workspace.path basename and only
falls back to remote URL / repo.name for legacy repo-only instances
- Update unit tests to assert workspace path basename is used for mounts
Quality gates:
- pytest tests/unit: 219 passed
- ruff: clean on changed files
- mypy: clean on changed files
45 lines
1.9 KiB
Markdown
45 lines
1.9 KiB
Markdown
# openspec/changes (index)
|
|
dir: openspec/changes
|
|
|
|
## role
|
|
Tracks and manages specification changes and versioning history for the OpenAPI specification evolution.
|
|
## parent
|
|
index: openspec/.pi-map.index.md
|
|
map: openspec/.pi-map.md
|
|
## children
|
|
- openspec/changes/archive
|
|
index: openspec/changes/archive/.pi-map.index.md
|
|
map: openspec/changes/archive/.pi-map.md
|
|
- openspec/changes/fix-container-status-false-positive
|
|
index: openspec/changes/fix-container-status-false-positive/.pi-map.index.md
|
|
map: openspec/changes/fix-container-status-false-positive/.pi-map.md
|
|
- openspec/changes/fix-pi-container-mount-permissions
|
|
index: openspec/changes/fix-pi-container-mount-permissions/.pi-map.index.md
|
|
map: openspec/changes/fix-pi-container-mount-permissions/.pi-map.md
|
|
- openspec/changes/fix-terminal-container-overflow
|
|
index: openspec/changes/fix-terminal-container-overflow/.pi-map.index.md
|
|
map: openspec/changes/fix-terminal-container-overflow/.pi-map.md
|
|
- openspec/changes/fix-tmux-mouse-config
|
|
index: openspec/changes/fix-tmux-mouse-config/.pi-map.index.md
|
|
map: openspec/changes/fix-tmux-mouse-config/.pi-map.md
|
|
- openspec/changes/mobile-config-profiles-ui
|
|
index: openspec/changes/mobile-config-profiles-ui/.pi-map.index.md
|
|
map: openspec/changes/mobile-config-profiles-ui/.pi-map.md
|
|
- openspec/changes/mobile-edit-default-bottom-actions
|
|
index: openspec/changes/mobile-edit-default-bottom-actions/.pi-map.index.md
|
|
map: openspec/changes/mobile-edit-default-bottom-actions/.pi-map.md
|
|
- openspec/changes/mobile-list-delete-button
|
|
index: openspec/changes/mobile-list-delete-button/.pi-map.index.md
|
|
map: openspec/changes/mobile-list-delete-button/.pi-map.md
|
|
- openspec/changes/mobile-tool-profile-ui
|
|
index: openspec/changes/mobile-tool-profile-ui/.pi-map.index.md
|
|
map: openspec/changes/mobile-tool-profile-ui/.pi-map.md
|
|
## files
|
|
## links
|
|
index: openspec/changes/.pi-map.index.md
|
|
map: openspec/changes/.pi-map.md
|
|
## workflows
|
|
-
|
|
## dirty
|
|
-
|