refactor(gitea/commands): selective imports + drop 1 dead (ADR-025 L2)
gitea/commands.nu had 5 star-imports. 4 converted, 1 dead dropped: api_client.nu -> 9 symbols service.nu -> 8 symbols locking.nu -> 7 symbols extension_publish.nu -> 4 symbols workspace_git.nu -> DROPPED (0 used symbols, dead import) All imports now use absolute paths from nulib/ root. Validation: 50 pre-existing errors (matches baseline via stash-compare). Zero new errors introduced. Refs: ADR-025
This commit is contained in:
parent
aeff136164
commit
e92896cbfa
1 changed files with 19 additions and 5 deletions
|
|
@ -4,11 +4,25 @@
|
||||||
#
|
#
|
||||||
# Version: 1.0.0
|
# Version: 1.0.0
|
||||||
|
|
||||||
use api_client.nu *
|
# Selective imports (ADR-025 Phase 3 Layer 2).
|
||||||
use service.nu *
|
# workspace_git.nu star-import was dead (no symbols used here) — dropped.
|
||||||
use workspace_git.nu *
|
use lib_provisioning/gitea/api_client.nu [
|
||||||
use locking.nu *
|
create-organization create-repository delete-repository get-current-user
|
||||||
use extension_publish.nu *
|
get-gitea-config list-organizations list-repositories
|
||||||
|
list-user-repositories validate-token
|
||||||
|
]
|
||||||
|
use lib_provisioning/gitea/service.nu [
|
||||||
|
check-gitea-health get-gitea-logs get-gitea-status install-gitea
|
||||||
|
restart-gitea start-gitea stop-gitea stop-gitea-docker
|
||||||
|
]
|
||||||
|
use lib_provisioning/gitea/locking.nu [
|
||||||
|
acquire-workspace-lock cleanup-expired-locks force-release-lock
|
||||||
|
get-lock-info list-all-locks list-workspace-locks release-workspace-lock
|
||||||
|
]
|
||||||
|
use lib_provisioning/gitea/extension_publish.nu [
|
||||||
|
download-gitea-extension get-gitea-extension-metadata
|
||||||
|
list-gitea-extensions publish-extension-to-gitea
|
||||||
|
]
|
||||||
|
|
||||||
# Gitea service status
|
# Gitea service status
|
||||||
export def "gitea status" [] -> nothing {
|
export def "gitea status" [] -> nothing {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue