sgit-ai 0.25.0__tar.gz → 0.26.1.dev0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/PKG-INFO +12 -1
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/README.md +11 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/pyproject.toml +1 -1
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/cli/CLI__Main.py +146 -8
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/cli/CLI__Pack.py +106 -1
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/cli/CLI__Vault.py +96 -9
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/Vault__Sync.py +32 -13
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/Vault__Sync__Base.py +94 -12
- sgit_ai-0.26.1.dev0/sgit_ai/core/actions/checkout/Vault__Sync__Checkout.py +200 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/clone/Vault__Sync__Clone.py +24 -5
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/commit/Vault__Sync__Commit.py +18 -2
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/dump/Vault__Dump.py +2 -3
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/history/Vault__Sync__History_Edit.py +2 -2
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/pack/Vault__Pack_Convert.py +1 -1
- sgit_ai-0.26.1.dev0/sgit_ai/core/actions/pack/Vault__Pack_Index.py +893 -0
- sgit_ai-0.26.1.dev0/sgit_ai/core/actions/pack/Vault__Pack_Index__Reader.py +651 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/pack/Vault__Pack_Maintain.py +105 -6
- sgit_ai-0.26.1.dev0/sgit_ai/core/actions/pack/Vault__Pack_Ranges.py +276 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/pack/Vault__Packs.py +212 -21
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/pull/Vault__Incoming_Check.py +1 -1
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/pull/Vault__Pull__Guard.py +35 -4
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/pull/Vault__Sync__Pull.py +188 -59
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/status/Vault__Sync__Status.py +14 -8
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/network/api/Vault__API.py +37 -3
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/network/api/Vault__API__In_Memory.py +7 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/objects/Vault__Inspector.py +78 -7
- sgit_ai-0.26.1.dev0/sgit_ai/safe_types/Safe_Str__Change_Op.py +13 -0
- sgit_ai-0.26.1.dev0/sgit_ai/safe_types/Safe_Str__Index_Kind.py +13 -0
- sgit_ai-0.26.1.dev0/sgit_ai/safe_types/Safe_Str__Index_Member_Name.py +17 -0
- sgit_ai-0.26.1.dev0/sgit_ai/safe_types/Safe_Str__Index_Path.py +17 -0
- sgit_ai-0.26.1.dev0/sgit_ai/safe_types/Safe_Str__Pack_Name.py +15 -0
- sgit_ai-0.26.1.dev0/sgit_ai/safe_types/Safe_Str__Sha256_Hex.py +14 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/Schema__Local_Config.py +1 -0
- sgit_ai-0.26.1.dev0/sgit_ai/schemas/Schema__Pack_Index__Change.py +20 -0
- sgit_ai-0.26.1.dev0/sgit_ai/schemas/Schema__Pack_Index__Changes.py +19 -0
- sgit_ai-0.26.1.dev0/sgit_ai/schemas/Schema__Pack_Index__Folder.py +20 -0
- sgit_ai-0.26.1.dev0/sgit_ai/schemas/Schema__Pack_Index__Header.py +28 -0
- sgit_ai-0.26.1.dev0/sgit_ai/schemas/Schema__Pack_Index__Member.py +16 -0
- sgit_ai-0.26.1.dev0/sgit_ai/schemas/Schema__Pack_Index__Totals.py +8 -0
- sgit_ai-0.26.1.dev0/sgit_ai/schemas/Schema__Tree_Entries__Light.py +10 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/workflow/clone/Schema__Clone__State.py +1 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/workflow/pull/Schema__Pull__State.py +1 -0
- sgit_ai-0.26.1.dev0/sgit_ai/storage/Vault__Checkout_Set.py +183 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/storage/Vault__Format.py +11 -1
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/storage/Vault__Object_Store.py +53 -6
- sgit_ai-0.26.1.dev0/sgit_ai/storage/Vault__Pack_Store.py +323 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/storage/Vault__Sub_Tree.py +75 -5
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/storage/graph/Vault__Graph_Walk.py +2 -1
- sgit_ai-0.26.1.dev0/sgit_ai/version +1 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/clone/Step__Clone__Bulk_Fetch.py +11 -2
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/clone/Step__Clone__Derive_Keys.py +1 -0
- sgit_ai-0.26.1.dev0/sgit_ai/workflow/clone/Step__Clone__Extract_Working_Copy.py +133 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/clone/Step__Clone__ReadOnly__Setup_Config.py +1 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/clone/Step__Clone__Setup_Local_Config.py +1 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/clone/Step__Clone__Verify_Signatures.py +2 -2
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/clone/Step__Clone__Walk_Trees.py +12 -4
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/move/steps/Step__Move__Validate_Local.py +7 -0
- sgit_ai-0.26.1.dev0/sgit_ai/workflow/pull/Pull__Selective.py +72 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/pull/Pull__Workspace.py +1 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/pull/Step__Pull__Fetch_Missing.py +22 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/pull/Step__Pull__Merge.py +82 -17
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/pull/Step__Pull__RO__Checkout.py +28 -2
- sgit_ai-0.26.1.dev0/sgit_ai/workflow/shared/__init__.py +0 -0
- sgit_ai-0.25.0/sgit_ai/version +0 -1
- sgit_ai-0.25.0/sgit_ai/workflow/clone/Step__Clone__Extract_Working_Copy.py +0 -60
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/LICENSE +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/__main__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/_version.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/cli/CLI__Branch.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/cli/CLI__Cache.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/cli/CLI__Create.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/cli/CLI__Credential_Store.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/cli/CLI__Debug_Log.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/cli/CLI__Diff.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/cli/CLI__Doctor.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/cli/CLI__Dump.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/cli/CLI__Input.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/cli/CLI__Merge.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/cli/CLI__Migrate.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/cli/CLI__Mirror.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/cli/CLI__PKI.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/cli/CLI__Progress.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/cli/CLI__Publish.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/cli/CLI__Reference.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/cli/CLI__Revert.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/cli/CLI__Scope_Guard.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/cli/CLI__Serve.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/cli/CLI__Stash.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/cli/CLI__Tag.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/cli/CLI__Token_Store.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/cli/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/cli/_helpers.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/cli/doctor/Check__API_Info.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/cli/doctor/Check__DNS_Resolve.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/cli/doctor/Check__Loopback_Container_Warn.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/cli/doctor/Check__Parse_URL.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/cli/doctor/Check__TCP_Reachable.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/cli/doctor/Check__TLS_Handshake.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/cli/doctor/Check__Token_Verify.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/cli/doctor/Check__Vault_Known.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/cli/doctor/Check__Write_Probe.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/cli/doctor/Doctor__Context.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/cli/doctor/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/Vault__Bare.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/Vault__Components.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/Vault__Context.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/Vault__Errors.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/Vault__Errors__Scope.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/Vault__Head_Paths.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/Vault__Ignore.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/Vault__Remote_Manager.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/Vault__Repo_Ignore.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/Vault__Secret_Guard.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/admin/Vault__Ignore__Apply.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/admin/Vault__Sync__Admin.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/admin/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/backup/Vault__Backup.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/backup/Vault__Restore.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/backup/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/branch/Vault__Branch_Switch.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/branch/Vault__Sync__Branch_Ops.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/branch/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/cache/Vault__Cache_Reader.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/cache/Vault__Cache_Repair.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/cache/__init__.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/core/actions/clone → sgit_ai-0.26.1.dev0/sgit_ai/core/actions/checkout}/__init__.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/core/actions/commit → sgit_ai-0.26.1.dev0/sgit_ai/core/actions/clone}/__init__.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/core/actions/diff → sgit_ai-0.26.1.dev0/sgit_ai/core/actions/commit}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/diff/Vault__Diff.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/diff/Vault__Dump_Diff.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/core/actions/dump → sgit_ai-0.26.1.dev0/sgit_ai/core/actions/diff}/__init__.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/core/actions/fetch → sgit_ai-0.26.1.dev0/sgit_ai/core/actions/dump}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/fetch/Vault__Fetch.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/fetch/Vault__Sync__Fetch.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/core/actions/format → sgit_ai-0.26.1.dev0/sgit_ai/core/actions/fetch}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/format/Vault__Sync__Format.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/core/actions/fsck → sgit_ai-0.26.1.dev0/sgit_ai/core/actions/format}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/fsck/Vault__Sync__Fsck.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/fsck/Vault__Sync__Upload_Objects.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/core/actions/gc → sgit_ai-0.26.1.dev0/sgit_ai/core/actions/fsck}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/gc/Vault__Change_Pack.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/gc/Vault__GC.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/gc/Vault__Sync__GC_Ops.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/core/actions/history → sgit_ai-0.26.1.dev0/sgit_ai/core/actions/gc}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/history/Vault__Log_Filter.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/history/Vault__Revision.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/core/actions/index → sgit_ai-0.26.1.dev0/sgit_ai/core/actions/history}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/index/Vault__Index_Sync.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/core/actions/lifecycle → sgit_ai-0.26.1.dev0/sgit_ai/core/actions/index}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/lifecycle/Vault__Attach.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/lifecycle/Vault__Sync__Lifecycle.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/core/actions/merge → sgit_ai-0.26.1.dev0/sgit_ai/core/actions/lifecycle}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/merge/Vault__Merge.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/merge/Vault__Merge__Abort.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/merge/Vault__Merge__Resolve.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/merge/Vault__Merge__State.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/core/actions/mirror → sgit_ai-0.26.1.dev0/sgit_ai/core/actions/merge}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/mirror/Vault__Mirror.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/core/actions/move → sgit_ai-0.26.1.dev0/sgit_ai/core/actions/mirror}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/move/Vault__Sync__Move.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/core/actions/pack → sgit_ai-0.26.1.dev0/sgit_ai/core/actions/move}/__init__.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/core/actions/publish → sgit_ai-0.26.1.dev0/sgit_ai/core/actions/pack}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/publish/Loader__Template.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/publish/Vault__Publish.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/publish/Vault__Publish__Api_Docs.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/publish/Vault__Publish__Bundles.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/core/actions/pull → sgit_ai-0.26.1.dev0/sgit_ai/core/actions/publish}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/pull/Vault__Ref_Guard.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/core/actions/push → sgit_ai-0.26.1.dev0/sgit_ai/core/actions/pull}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/push/Vault__Batch.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/push/Vault__Sync__Push.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/core/actions/revert → sgit_ai-0.26.1.dev0/sgit_ai/core/actions/push}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/revert/Vault__Revert.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/core/actions/scope → sgit_ai-0.26.1.dev0/sgit_ai/core/actions/revert}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/scope/Vault__Sync__Scope.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/core/actions/sparse → sgit_ai-0.26.1.dev0/sgit_ai/core/actions/scope}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/sparse/Vault__Sync__Sparse.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/core/actions/stash → sgit_ai-0.26.1.dev0/sgit_ai/core/actions/sparse}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/stash/Vault__Stash.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/core/actions/status → sgit_ai-0.26.1.dev0/sgit_ai/core/actions/stash}/__init__.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/core/actions/tag → sgit_ai-0.26.1.dev0/sgit_ai/core/actions/status}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/tag/Vault__Sync__Tag.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/core/actions/verify → sgit_ai-0.26.1.dev0/sgit_ai/core/actions/tag}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/verify/Vault__Key_Fetch.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/actions/verify/Vault__Signatures.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/core/scope → sgit_ai-0.26.1.dev0/sgit_ai/core/actions/verify}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/scope/Vault__Scope.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/core/serve → sgit_ai-0.26.1.dev0/sgit_ai/core/scope}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/serve/Container__Command_Runner.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/serve/Container__Host.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/serve/Container__Runtime.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/serve/Container__Runtime__Apple.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/serve/Container__Runtime__Docker.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/serve/Container__Runtime__Installer.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/serve/Container__Runtime__Uv.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/serve/Container__Runtimes.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/serve/Vault__Serve.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/serve/Vault__Serve__Mirror.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/core/serve/Vault__Static_Server.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/crypto → sgit_ai-0.26.1.dev0/sgit_ai/core/serve}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/crypto/PKI__Crypto.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/crypto/Vault__Crypto.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/crypto/Vault__Key_Manager.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/crypto/Vault__Secret_File.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/crypto/pki → sgit_ai-0.26.1.dev0/sgit_ai/crypto}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/crypto/pki/PKI__Key_Store.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/crypto/pki/PKI__Keyring.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/crypto/pki/PKI__Known_Keys.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/migrations → sgit_ai-0.26.1.dev0/sgit_ai/crypto/pki}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/migrations/Migration.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/migrations/Migration__Registry.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/migrations/Migration__Runner.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/migrations/tree_iv → sgit_ai-0.26.1.dev0/sgit_ai/migrations}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/migrations/tree_iv/Migration__Tree_IV_Determinism.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/network → sgit_ai-0.26.1.dev0/sgit_ai/migrations/tree_iv}/__init__.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/network/api → sgit_ai-0.26.1.dev0/sgit_ai/network}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/network/api/Vault__API__Auto.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/network/api/Vault__API__Static.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/network/api/Vault__Backend.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/network/api/Vault__Backend__API.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/network/api/Vault__Backend__Local.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/network/api/Vault__HTTP_Pool.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/network/api/Vault__Transport_Errors.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/network/assets → sgit_ai-0.26.1.dev0/sgit_ai/network/api}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/network/assets/Swagger_UI__Assets.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/plugins → sgit_ai-0.26.1.dev0/sgit_ai/network/assets}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/objects/__init__.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/plugins/_base → sgit_ai-0.26.1.dev0/sgit_ai/plugins}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/plugins/_base/Plugin__Loader.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/plugins/_base/Plugin__Read_Only.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/plugins/_base/Schema__Plugin_Manifest.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/plugins/check → sgit_ai-0.26.1.dev0/sgit_ai/plugins/_base}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/plugins/check/CLI__Check.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/plugins/check/Plugin__Check.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/plugins/dev → sgit_ai-0.26.1.dev0/sgit_ai/plugins/check}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/plugins/check/plugin.json +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/plugins/dev/CLI__Dev.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/plugins/dev/Dev__Profile__Clone.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/plugins/dev/Dev__Replay.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/plugins/dev/Dev__Server__Objects.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/plugins/dev/Dev__Step__Clone.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/plugins/dev/Dev__Tree__Graph.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/plugins/dev/Plugin__Dev.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/plugins/dev/Schema__Profile__Clone.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/plugins/dev/Schema__Replay.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/plugins/dev/Schema__Server__Objects.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/plugins/dev/Schema__Step__Clone.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/plugins/dev/Schema__Tree__Graph.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/plugins/dev/workflow → sgit_ai-0.26.1.dev0/sgit_ai/plugins/dev}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/plugins/dev/plugin.json +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/plugins/dev/workflow/CLI__Dev__Workflow.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/plugins/file → sgit_ai-0.26.1.dev0/sgit_ai/plugins/dev/workflow}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/plugins/file/CLI__File.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/plugins/file/Plugin__File.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/plugins/history → sgit_ai-0.26.1.dev0/sgit_ai/plugins/file}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/plugins/file/plugin.json +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/plugins/history/CLI__History.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/plugins/history/Plugin__History.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/plugins/inspect → sgit_ai-0.26.1.dev0/sgit_ai/plugins/history}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/plugins/history/plugin.json +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/plugins/inspect/CLI__Inspect.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/plugins/inspect/Plugin__Inspect.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/safe_types → sgit_ai-0.26.1.dev0/sgit_ai/plugins/inspect}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/plugins/inspect/plugin.json +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Enum__Api_Docs_Mode.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Enum__Batch_Op.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Enum__Branch_Type.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Enum__Cache_Kind.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Enum__Cache_Mutability.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Enum__Cache_Target_Kind.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Enum__Clone_Mode.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Enum__Doctor_Status.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Enum__Fetch_Failure_Class.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Enum__Key_Kind.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Enum__Local_Config_Mode.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Enum__Provenance_Mode.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Enum__Published_Layout.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Enum__Step_Status.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Enum__Sync_State.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Enum__Transaction_Log_Mode.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Enum__Transport.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Enum__Visibility.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Enum__Workflow_Status.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Access_Token.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__App_Version.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Author_Key_Id.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Backup_Label.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Base64_Data.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Base_URL.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Bind_Address.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Branch_Id.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Branch_Name.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Cache_Id.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Cache_Path.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Commit_Id.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Commit_Message.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Container_Name.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Container_Runtime.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Content_Hash.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Content_Type.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Cover_Text.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Diff_Mode.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Diff_Text.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Doctor_Message.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Encrypted_Value.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Error_Message.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Feature.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__File_Id.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__File_Path.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Host_Path.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__ISO_Timestamp.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Image_Ref.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Index_Entry_Json.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Index_Id.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Key_Fingerprint.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Key_Id.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Key_Type.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Migration_Name.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Object_Id.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__PEM_Key.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Pending_Id.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Platform_Tag.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Published_File_Id.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Read_Key.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Ref_Id.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Remote_Name.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Restore_Mode.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__SHA256.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Schema_Version.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Secret_Key.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Semver.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Signature.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Step_Name.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Tag_Message.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Tag_Name.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Tag_Ref_Name.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Transfer_Id.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Vault_Id.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Vault_Key.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Vault_Name.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Vault_Passphrase.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Vault_Path.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Work_Id.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Workflow_Name.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_Str__Write_Key.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_UInt__Byte_Size.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_UInt__Cache_Size.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_UInt__File_Count.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_UInt__File_Size.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_UInt__Key_Size.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_UInt__Lock_Timeout.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_UInt__Port.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_UInt__Timestamp.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/safe_types/Safe_UInt__Vault_Version.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/schemas → sgit_ai-0.26.1.dev0/sgit_ai/safe_types}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/Schema__Batch_Operation.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/Schema__Batch_Request.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/Schema__Branch_Index.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/Schema__Branch_Meta.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/Schema__Change_Pack.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/Schema__Clone_Mode.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/Schema__Diff_File.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/Schema__Diff_Result.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/Schema__Doctor__Check.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/Schema__Doctor__Report.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/Schema__Dump_Branch.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/Schema__Dump_Commit.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/Schema__Dump_Diff.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/Schema__Dump_Object.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/Schema__Dump_Ref.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/Schema__Dump_Result.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/Schema__Dump_Tree.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/Schema__Fetch_Failure.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/Schema__Object_Commit.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/Schema__Object_Ref.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/Schema__Object_Tag.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/Schema__Object_Tree.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/Schema__Object_Tree_Entry.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/Schema__PKI_Key_Pair.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/Schema__PKI_Public_Key.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/Schema__Push_State.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/Schema__Reflog_Entry.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/Schema__Remote_Config.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/Schema__Secret_Entry.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/Schema__Stash_Meta.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/Schema__Tag_Ref.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/Schema__Tracking_State.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/Schema__Vault_Config.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/Schema__Vault_Index.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/Schema__Vault_Index_Entry.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/Schema__Vault_Meta.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/Schema__Vault_Policy.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/schemas/backup → sgit_ai-0.26.1.dev0/sgit_ai/schemas}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/backup/Schema__Backup_Manifest.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/schemas/cache → sgit_ai-0.26.1.dev0/sgit_ai/schemas/backup}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/cache/Schema__Cache_Pointer.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/cache/Schema__Cache_Tombstones.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/cache/Schema__Cache_Value.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/schemas/history → sgit_ai-0.26.1.dev0/sgit_ai/schemas/cache}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/history/Schema__History_Diff_File.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/history/Schema__History_Diff_Result.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/history/Schema__History_Log_Commit_Entry.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/history/Schema__History_Log_Result.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/schemas/inspect → sgit_ai-0.26.1.dev0/sgit_ai/schemas/history}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/inspect/Schema__Ignore_Reason.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/schemas/merge → sgit_ai-0.26.1.dev0/sgit_ai/schemas/inspect}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/merge/Schema__Merge_State.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/schemas/migrations → sgit_ai-0.26.1.dev0/sgit_ai/schemas/merge}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/migrations/Schema__Migration_Record.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/migrations/Schema__Migrations_Applied.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/schemas/move → sgit_ai-0.26.1.dev0/sgit_ai/schemas/migrations}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/move/Schema__Vault_Move_Record.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/move/Schema__Vault_Moves.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/schemas/publish → sgit_ai-0.26.1.dev0/sgit_ai/schemas/move}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/publish/Schema__Plaintext_Entry.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/publish/Schema__Published_Manifest.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/publish/Schema__Published_Object.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/publish/Schema__Vault_Cover.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/schemas/serve → sgit_ai-0.26.1.dev0/sgit_ai/schemas/publish}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/serve/Schema__Serve__State.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/schemas/workflow → sgit_ai-0.26.1.dev0/sgit_ai/schemas/serve}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/workflow/Schema__Step_Summary.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/workflow/Schema__Transaction_Record.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/workflow/Schema__Workflow_Manifest.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/workflow/Schema__Workflow_Step_Entry.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/schemas/workflow/backup → sgit_ai-0.26.1.dev0/sgit_ai/schemas/workflow}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/workflow/backup/Schema__Backup__State.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/workflow/backup/Schema__Restore__State.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/schemas/workflow/clone → sgit_ai-0.26.1.dev0/sgit_ai/schemas/workflow/backup}/__init__.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/schemas/workflow/fetch → sgit_ai-0.26.1.dev0/sgit_ai/schemas/workflow/clone}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/workflow/fetch/Schema__Fetch__State.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/schemas/workflow/move → sgit_ai-0.26.1.dev0/sgit_ai/schemas/workflow/fetch}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/workflow/move/Schema__Move__State.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/schemas/workflow/pull → sgit_ai-0.26.1.dev0/sgit_ai/schemas/workflow/move}/__init__.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/schemas/workflow/push → sgit_ai-0.26.1.dev0/sgit_ai/schemas/workflow/pull}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/schemas/workflow/push/Schema__Push__State.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/secrets → sgit_ai-0.26.1.dev0/sgit_ai/schemas/workflow/push}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/secrets/Secrets__Store.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/storage → sgit_ai-0.26.1.dev0/sgit_ai/secrets}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/storage/Vault__Branch_Manager.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/storage/Vault__Cache_Manager.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/storage/Vault__Commit.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/storage/Vault__Index_Reader.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/storage/Vault__Path_Guard.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/storage/Vault__Ref_Manager.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/storage/Vault__Reflog.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/storage/Vault__Scope.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/storage/Vault__Scoped_Tree.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/storage/Vault__Storage.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/storage/Vault__Verified_Write.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/storage/graph → sgit_ai-0.26.1.dev0/sgit_ai/storage}/__init__.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/workflow → sgit_ai-0.26.1.dev0/sgit_ai/storage/graph}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/Step.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/Workflow.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/Workflow__Runner.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/Workflow__Workspace.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/workflow/backup → sgit_ai-0.26.1.dev0/sgit_ai/workflow}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/backup/Backup__Workspace.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/backup/Restore__Workspace.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/backup/Workflow__Vault_Backup.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/backup/Workflow__Vault_Restore.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/workflow/backup/steps → sgit_ai-0.26.1.dev0/sgit_ai/workflow/backup}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/backup/steps/Step__Backup__Build_Zip.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/backup/steps/Step__Restore__Extract_Bare.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/backup/steps/Step__Restore__Extract_Working_Copy.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/backup/steps/Step__Restore__Resolve_Vault_Key.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/backup/steps/Step__Restore__Validate_Destination.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/backup/steps/Step__Restore__Verify_Zip_Integrity.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/workflow/clone → sgit_ai-0.26.1.dev0/sgit_ai/workflow/backup/steps}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/clone/Clone__Workspace.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/clone/Step__Clone__Check_Directory.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/clone/Step__Clone__Create_Clone_Branch.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/clone/Step__Clone__Download_Blobs.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/clone/Step__Clone__Download_Branch_Meta.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/clone/Step__Clone__Download_Index.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/clone/Step__Clone__Headless__Setup_Config.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/clone/Step__Clone__ReadOnly__Set_Keys.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/clone/Step__Clone__Walk_Commits.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/clone/Step__Clone__Walk_Commits__Range.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/clone/Step__Clone__Walk_Trees__Head_Only.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/clone/Workflow__Clone.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/clone/Workflow__Clone__Branch.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/clone/Workflow__Clone__Headless.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/clone/Workflow__Clone__Range.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/clone/Workflow__Clone__ReadOnly.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/workflow/fetch → sgit_ai-0.26.1.dev0/sgit_ai/workflow/clone}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/fetch/Fetch__Workspace.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/fetch/Step__Fetch__Derive_Keys.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/fetch/Step__Fetch__Fetch_Missing.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/fetch/Step__Fetch__Fetch_Remote_Ref.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/fetch/Step__Fetch__Load_Branch_Info.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/fetch/Workflow__Fetch.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/workflow/move → sgit_ai-0.26.1.dev0/sgit_ai/workflow/fetch}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/move/Move__Workspace.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/move/Workflow__Vault_Move.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/workflow/move/steps → sgit_ai-0.26.1.dev0/sgit_ai/workflow/move}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/move/steps/Step__Move__Backup_Old_Vault.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/move/steps/Step__Move__Build_Temp_Vault.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/move/steps/Step__Move__Delete_Source.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/move/steps/Step__Move__Derive_New_Keys.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/move/steps/Step__Move__Push_To_Target.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/move/steps/Step__Move__Verify_Target.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/move/steps/Step__Move__Write_Sentinel_Commits.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/workflow/pull → sgit_ai-0.26.1.dev0/sgit_ai/workflow/move/steps}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/pull/Step__Pull__Derive_Keys.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/pull/Step__Pull__Fetch_Remote_Ref.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/pull/Step__Pull__Load_Branch_Info.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/pull/Step__Pull__RO__Load_Named_Head.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/pull/Workflow__Pull.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/pull/Workflow__Pull__ReadOnly.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/workflow/push → sgit_ai-0.26.1.dev0/sgit_ai/workflow/pull}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/push/Push__Workspace.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/push/Step__Push__Check_Clean.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/push/Step__Push__Derive_Keys.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/push/Step__Push__Fast_Forward_Check.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/push/Step__Push__Local_Inventory.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/push/Step__Push__Update_Remote_Ref.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/push/Step__Push__Upload_Objects.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/push/Workflow__Push.py +0 -0
- {sgit_ai-0.25.0/sgit_ai/workflow/shared → sgit_ai-0.26.1.dev0/sgit_ai/workflow/push}/__init__.py +0 -0
- {sgit_ai-0.25.0 → sgit_ai-0.26.1.dev0}/sgit_ai/workflow/shared/Keys__Derivation.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sgit-ai
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.26.1.dev0
|
|
4
4
|
Summary: sgit — git for encrypted vaults. Clone, commit, branch and merge files encrypted client-side (AES-256-GCM) before they leave your machine.
|
|
5
5
|
Home-page: https://sgit.ai
|
|
6
6
|
License: Apache-2.0
|
|
@@ -66,6 +66,17 @@ pip install sgit-ai
|
|
|
66
66
|
|
|
67
67
|
This gives you two CLI commands: `sgit-ai` and the shorthand `sgit`.
|
|
68
68
|
|
|
69
|
+
### Pre-releases (the dev channel)
|
|
70
|
+
|
|
71
|
+
Releases come from `main`. Every change merged to `dev` is also published, as a pre-release
|
|
72
|
+
(`X.Y.Z.dev0`), which a plain `pip install sgit-ai` never selects. To try the newest one:
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
pip install --pre sgit-ai # or: sgit update --pre
|
|
76
|
+
sgit update # on a pre-release: the newest pre-release (stays on the dev channel)
|
|
77
|
+
sgit update --stable # back to the newest release
|
|
78
|
+
```
|
|
79
|
+
|
|
69
80
|
## Quick Start
|
|
70
81
|
|
|
71
82
|
```bash
|
|
@@ -38,6 +38,17 @@ pip install sgit-ai
|
|
|
38
38
|
|
|
39
39
|
This gives you two CLI commands: `sgit-ai` and the shorthand `sgit`.
|
|
40
40
|
|
|
41
|
+
### Pre-releases (the dev channel)
|
|
42
|
+
|
|
43
|
+
Releases come from `main`. Every change merged to `dev` is also published, as a pre-release
|
|
44
|
+
(`X.Y.Z.dev0`), which a plain `pip install sgit-ai` never selects. To try the newest one:
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
pip install --pre sgit-ai # or: sgit update --pre
|
|
48
|
+
sgit update # on a pre-release: the newest pre-release (stays on the dev channel)
|
|
49
|
+
sgit update --stable # back to the newest release
|
|
50
|
+
```
|
|
51
|
+
|
|
41
52
|
## Quick Start
|
|
42
53
|
|
|
43
54
|
```bash
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "sgit-ai"
|
|
3
|
-
version = "
|
|
3
|
+
version = "0.26.1.dev0"
|
|
4
4
|
description = "sgit — git for encrypted vaults. Clone, commit, branch and merge files encrypted client-side (AES-256-GCM) before they leave your machine."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = "Apache-2.0"
|
|
@@ -91,6 +91,43 @@ class CLI__Main(Type_Safe):
|
|
|
91
91
|
return f.read().strip()
|
|
92
92
|
return 'unknown'
|
|
93
93
|
|
|
94
|
+
def cmd_version(self, args):
|
|
95
|
+
"""`sgit version`: this build's version, and a note when the `sgit` first on the
|
|
96
|
+
PATH is another installation (a session whose /usr/local/bin/sgit stayed at
|
|
97
|
+
0.24.0 after a venv upgrade — newsroom field report, 26 Oct)."""
|
|
98
|
+
print(f'sgit-ai {self._read_version()}')
|
|
99
|
+
note = self.path_shadow_note()
|
|
100
|
+
if note:
|
|
101
|
+
print(note, file=sys.stderr)
|
|
102
|
+
|
|
103
|
+
def path_shadow_note(self, argv0: str = None, which=None) -> str:
|
|
104
|
+
"""'' when the `sgit` on the PATH is this program (or there is none), else one
|
|
105
|
+
line naming the other one and, when it answers, its version."""
|
|
106
|
+
import shutil, subprocess
|
|
107
|
+
on_path = (which or shutil.which)('sgit')
|
|
108
|
+
if not on_path:
|
|
109
|
+
return ''
|
|
110
|
+
this = argv0 if argv0 is not None else sys.argv[0]
|
|
111
|
+
try:
|
|
112
|
+
if this and os.path.realpath(on_path) == os.path.realpath(this):
|
|
113
|
+
return ''
|
|
114
|
+
if this and os.path.isfile(this) and os.path.isfile(on_path):
|
|
115
|
+
with open(this, 'rb') as a, open(on_path, 'rb') as b:
|
|
116
|
+
if a.read() == b.read(): # the same entry script, another path
|
|
117
|
+
return ''
|
|
118
|
+
except OSError:
|
|
119
|
+
pass
|
|
120
|
+
other = ''
|
|
121
|
+
try:
|
|
122
|
+
out = subprocess.run([on_path, '--version'], capture_output=True, text=True, timeout=10)
|
|
123
|
+
other = (out.stdout or '').strip().split('\n')[0]
|
|
124
|
+
except Exception:
|
|
125
|
+
other = ''
|
|
126
|
+
return (f'note: the `sgit` first on your PATH is {on_path}'
|
|
127
|
+
+ (f' ({other})' if other else '')
|
|
128
|
+
+ f', not this one ({this or "unknown"}). Commands typed as `sgit` run that one; '
|
|
129
|
+
f'upgrade it too, or put this one first on the PATH.')
|
|
130
|
+
|
|
94
131
|
def cmd_reference(self, args):
|
|
95
132
|
"""`sgit help --format json|markdown|llms` — the command surface, generated
|
|
96
133
|
by walking this parser tree rather than hand-maintained.
|
|
@@ -110,14 +147,46 @@ class CLI__Main(Type_Safe):
|
|
|
110
147
|
print(rendered, end='')
|
|
111
148
|
|
|
112
149
|
def cmd_update(self, args):
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
150
|
+
"""`sgit update`: the newest release from PyPI. Releases come from main; every dev
|
|
151
|
+
push is published as a pre-release (X.Y.Z.dev0) that a plain install skips. A
|
|
152
|
+
pre-release install stays on that channel (pip's plain --upgrade would never move
|
|
153
|
+
it to a newer dev build); `--pre` joins it; `--stable` leaves it for the newest
|
|
154
|
+
release (pip only goes down a version with --force-reinstall)."""
|
|
155
|
+
current = self._read_version()
|
|
156
|
+
channel = self.update_channel(current, pre=getattr(args, 'pre', False), stable=getattr(args, 'stable', False))
|
|
157
|
+
print(f'Current version: {current}')
|
|
158
|
+
print({'pre' : 'Updating sgit-ai to the newest pre-release (the dev channel)...',
|
|
159
|
+
'stable': 'Updating sgit-ai to the newest release (leaving the dev channel)...'}.get(channel, 'Updating sgit-ai...'))
|
|
160
|
+
result = subprocess.run(self.update_command(channel), capture_output=False)
|
|
117
161
|
if result.returncode != 0:
|
|
118
162
|
print('Update failed', file=sys.stderr)
|
|
119
163
|
sys.exit(result.returncode)
|
|
120
164
|
|
|
165
|
+
def update_channel(self, current: str, pre: bool = False, stable: bool = False) -> str:
|
|
166
|
+
"""'stable' when asked; 'pre' when asked or when this build is a pre-release; else
|
|
167
|
+
'release'."""
|
|
168
|
+
if stable:
|
|
169
|
+
return 'stable'
|
|
170
|
+
if pre or self.is_prerelease(current):
|
|
171
|
+
return 'pre'
|
|
172
|
+
return 'release'
|
|
173
|
+
|
|
174
|
+
def is_prerelease(self, version: str) -> bool:
|
|
175
|
+
"""Whether a version string is a PEP 440 pre-release (dev, a, b, rc): anything after
|
|
176
|
+
X.Y.Z, as the dev pipeline writes it (v0.26.1.dev0)."""
|
|
177
|
+
import re
|
|
178
|
+
m = re.match(r'^v?\d+\.\d+\.\d+(.*)$', str(version or '').strip())
|
|
179
|
+
return bool(m and re.match(r'^[-_.]?(dev|a|b|c|rc|alpha|beta|pre|preview)\d*', m.group(1), re.IGNORECASE))
|
|
180
|
+
|
|
181
|
+
def update_command(self, channel: str) -> list:
|
|
182
|
+
"""The pip command for a channel (-I: a pip.py in the cwd is never imported)."""
|
|
183
|
+
command = [sys.executable, '-I', '-m', 'pip', 'install', '--upgrade']
|
|
184
|
+
if channel == 'pre':
|
|
185
|
+
command.append('--pre')
|
|
186
|
+
elif channel == 'stable':
|
|
187
|
+
command.append('--force-reinstall')
|
|
188
|
+
return command + ['sgit-ai']
|
|
189
|
+
|
|
121
190
|
def build_parser(self) -> argparse.ArgumentParser:
|
|
122
191
|
self.branch.vault = self.vault
|
|
123
192
|
self.merge.vault = self.vault # for read-only gating (Q9)
|
|
@@ -183,9 +252,15 @@ class CLI__Main(Type_Safe):
|
|
|
183
252
|
doctor_p.set_defaults(func=self.doctor.cmd_doctor)
|
|
184
253
|
|
|
185
254
|
version_parser = subparsers.add_parser('version', help='Show sgit-ai version')
|
|
186
|
-
version_parser.set_defaults(func=
|
|
187
|
-
|
|
188
|
-
update_parser = subparsers.add_parser('update', help='Update sgit-ai to the latest version'
|
|
255
|
+
version_parser.set_defaults(func=self.cmd_version)
|
|
256
|
+
|
|
257
|
+
update_parser = subparsers.add_parser('update', help='Update sgit-ai to the latest version '
|
|
258
|
+
'(a pre-release install stays on the dev channel)')
|
|
259
|
+
update_channel = update_parser.add_mutually_exclusive_group()
|
|
260
|
+
update_channel.add_argument('--pre', action='store_true', default=False,
|
|
261
|
+
help='Install the newest pre-release (every dev push is one: X.Y.Z.dev0)')
|
|
262
|
+
update_channel.add_argument('--stable', action='store_true', default=False,
|
|
263
|
+
help='Leave the dev channel: install the newest release')
|
|
189
264
|
update_parser.set_defaults(func=self.cmd_update)
|
|
190
265
|
|
|
191
266
|
# sgit help [command|all]
|
|
@@ -215,6 +290,14 @@ class CLI__Main(Type_Safe):
|
|
|
215
290
|
help='Delete existing directory and re-clone from scratch')
|
|
216
291
|
clone_parser.add_argument('--sparse', action='store_true', default=False,
|
|
217
292
|
help='Download only structure (commits + trees); fetch file content on demand')
|
|
293
|
+
clone_parser.add_argument('--pack-store', dest='pack_store', action='store_true', default=False,
|
|
294
|
+
help='Pack vault: keep the packs in place and read objects from them by offset '
|
|
295
|
+
'instead of extracting every object into bare/data/ (sgit pack store status | '
|
|
296
|
+
'extract | rebuild)')
|
|
297
|
+
clone_parser.add_argument('--no-checkout', dest='no_checkout', action='store_true', default=False,
|
|
298
|
+
help='Selective working copy: the vault\'s objects and index, no file written; '
|
|
299
|
+
'sgit checkout <path> / --since-pull writes what you need (on a pack vault '
|
|
300
|
+
'every object is already local, so a checkout is a local write)')
|
|
218
301
|
clone_parser.add_argument('--read-key', default=None, metavar='HEX',
|
|
219
302
|
help='Read-only clone using a 64-hex AES-256 read key. When set, '
|
|
220
303
|
'the positional vault_key is the vault_id only (no passphrase prefix). '
|
|
@@ -317,6 +400,9 @@ class CLI__Main(Type_Safe):
|
|
|
317
400
|
pull_parser.add_argument('directory', nargs='?', default='.', help='Vault directory (default: .)')
|
|
318
401
|
pull_parser.add_argument('--accept-rewind', action='store_true', default=False,
|
|
319
402
|
help='Take a remote named branch that was rewound or rewritten (after a deliberate sgit push --force)')
|
|
403
|
+
pull_parser.add_argument('--no-checkout', dest='no_checkout', action='store_true', default=False,
|
|
404
|
+
help='Selective working copy only: move the head and list what changed, write no file '
|
|
405
|
+
'(sgit checkout --since-pull writes it)')
|
|
320
406
|
pull_parser.set_defaults(func=self.vault.cmd_pull)
|
|
321
407
|
|
|
322
408
|
push_parser = subparsers.add_parser('push', help='Push clone branch to the named branch',
|
|
@@ -341,9 +427,26 @@ class CLI__Main(Type_Safe):
|
|
|
341
427
|
fetch_parser.add_argument('--unshallow', action='store_true', default=False,
|
|
342
428
|
help='Shallow clone: fetch the history behind the boundary commit(s)')
|
|
343
429
|
fetch_parser.add_argument('--all', action='store_true', default=False,
|
|
344
|
-
help='Fetch
|
|
430
|
+
help='Fetch every tracked file (the clone stays sparse; sgit checkout --all makes it full)')
|
|
345
431
|
fetch_parser.set_defaults(func=self.vault.cmd_fetch)
|
|
346
432
|
|
|
433
|
+
checkout_parser = subparsers.add_parser('checkout', help='Write tracked files into a selective working copy '
|
|
434
|
+
'(a clone made with --no-checkout or --sparse); '
|
|
435
|
+
'sgit branch checkout <target> switches branches',
|
|
436
|
+
parents=[network_args])
|
|
437
|
+
checkout_parser.add_argument('paths', nargs='*', default=None,
|
|
438
|
+
help='Files or folders to write (a folder means everything under it)')
|
|
439
|
+
checkout_parser.add_argument('--since-pull', dest='since_pull', action='store_true', default=False,
|
|
440
|
+
help='Write what the last pull added or changed')
|
|
441
|
+
checkout_parser.add_argument('--changed-since', dest='changed_since', default=None, metavar='COMMIT',
|
|
442
|
+
help='Write what changed between COMMIT and HEAD')
|
|
443
|
+
checkout_parser.add_argument('--all', action='store_true', default=False,
|
|
444
|
+
help='Write every tracked file; the clone becomes a full one')
|
|
445
|
+
checkout_parser.add_argument('--force', action='store_true', default=False,
|
|
446
|
+
help='Overwrite uncommitted edits at the paths written (by default they are kept)')
|
|
447
|
+
checkout_parser.add_argument('--directory', dest='directory', default='.', help='Vault directory (default: .)')
|
|
448
|
+
checkout_parser.set_defaults(func=self.vault.cmd_checkout_files)
|
|
449
|
+
|
|
347
450
|
publish_parser = subparsers.add_parser('publish',
|
|
348
451
|
help='Generate the plaintext surface for static publishing '
|
|
349
452
|
'(.sg_vault/publish/ — the only path that changes)')
|
|
@@ -791,6 +894,41 @@ class CLI__Main(Type_Safe):
|
|
|
791
894
|
st.add_argument('--json', action='store_true', default=False)
|
|
792
895
|
st.set_defaults(func=self.pack.cmd_stats)
|
|
793
896
|
|
|
897
|
+
idx_p = pack_sub.add_parser('index', parents=[network_args],
|
|
898
|
+
help='Index packs beside the data packs (build the missing ones, verify, stats)')
|
|
899
|
+
idx_sub = idx_p.add_subparsers(dest='pack_index_command')
|
|
900
|
+
idx_p.set_defaults(func=lambda a: idx_p.print_help())
|
|
901
|
+
ib = idx_sub.add_parser('build', parents=[network_args], help='Write the index pack of every data pack that lacks one (needs the write key)')
|
|
902
|
+
ib.add_argument('directory', nargs='?', default='.')
|
|
903
|
+
ib.add_argument('--all', dest='all', action='store_true', default=False, help='Also rewrite the newest snapshot index')
|
|
904
|
+
ib.add_argument('--json', action='store_true', default=False)
|
|
905
|
+
ib.set_defaults(func=self.pack.cmd_index_build)
|
|
906
|
+
iv = idx_sub.add_parser('verify', parents=[network_args], help='Check every index pack against its data pack and the trees (read-only)')
|
|
907
|
+
iv.add_argument('directory', nargs='?', default='.')
|
|
908
|
+
iv.add_argument('--last', dest='last', type=int, default=0, metavar='N',
|
|
909
|
+
help='Check only the N newest index packs (commits and snapshots); "did my last push\'s index match"')
|
|
910
|
+
iv.add_argument('--json', action='store_true', default=False)
|
|
911
|
+
iv.set_defaults(func=self.pack.cmd_index_verify)
|
|
912
|
+
ist = idx_sub.add_parser('stats', parents=[network_args], help='Index packs per folder, sizes, gaps, generations')
|
|
913
|
+
ist.add_argument('directory', nargs='?', default='.')
|
|
914
|
+
ist.add_argument('--json', action='store_true', default=False)
|
|
915
|
+
ist.set_defaults(func=self.pack.cmd_index_stats)
|
|
916
|
+
|
|
917
|
+
st_p = pack_sub.add_parser('store', parents=[network_args],
|
|
918
|
+
help='The local pack store of a clone made with --pack-store (packs kept in place)')
|
|
919
|
+
st_sub = st_p.add_subparsers(dest='pack_store_command')
|
|
920
|
+
st_p.set_defaults(func=lambda a: st_p.print_help())
|
|
921
|
+
ss = st_sub.add_parser('status', parents=[network_args], help='Packs kept, objects read from them, loose objects')
|
|
922
|
+
ss.add_argument('directory', nargs='?', default='.')
|
|
923
|
+
ss.add_argument('--json', action='store_true', default=False)
|
|
924
|
+
ss.set_defaults(func=self.pack.cmd_store_status)
|
|
925
|
+
se = st_sub.add_parser('extract', parents=[network_args], help='Write every packed object loose and drop the kept packs: an ordinary clone from here')
|
|
926
|
+
se.add_argument('directory', nargs='?', default='.')
|
|
927
|
+
se.set_defaults(func=self.pack.cmd_store_extract)
|
|
928
|
+
sr = st_sub.add_parser('rebuild', parents=[network_args], help='Rebuild the object table from the kept pack files')
|
|
929
|
+
sr.add_argument('directory', nargs='?', default='.')
|
|
930
|
+
sr.set_defaults(func=self.pack.cmd_store_rebuild)
|
|
931
|
+
|
|
794
932
|
def _register_migrate(self, subparsers):
|
|
795
933
|
migrate_p = subparsers.add_parser('migrate', help='Run vault data migrations')
|
|
796
934
|
migrate_sub = migrate_p.add_subparsers(dest='migrate_command')
|
|
@@ -24,7 +24,7 @@ class CLI__Pack(Type_Safe):
|
|
|
24
24
|
|
|
25
25
|
def _progress(self, kind, message, detail=''):
|
|
26
26
|
if kind in ('step', 'warning', 'stats'):
|
|
27
|
-
print(f' {message}' + (f' — {detail}' if detail else ''))
|
|
27
|
+
print(f' {message}' + (f' — {detail}' if detail else ''), flush=True) # a file or a pipe sees each line now
|
|
28
28
|
|
|
29
29
|
def _convert(self, args, packs: bool):
|
|
30
30
|
from sgit_ai.core.actions.pack.Vault__Pack_Convert import Vault__Pack_Convert
|
|
@@ -136,3 +136,108 @@ class CLI__Pack(Type_Safe):
|
|
|
136
136
|
print('Local store:')
|
|
137
137
|
print(f' {local["objects"]} objects; {local["blobs"]} blobs on the branch, {local["deflated"]} deflated; '
|
|
138
138
|
f'{local["plain_bytes"] / 1e6:.1f} MB plaintext -> {local["cipher_bytes"] / 1e6:.1f} MB stored (x{local["ratio"]:.2f})')
|
|
139
|
+
|
|
140
|
+
# ------------------------------------------------------------------ sgit pack store ...
|
|
141
|
+
def _pack_store(self, args, directory: str):
|
|
142
|
+
import os
|
|
143
|
+
from sgit_ai.storage.Vault__Pack_Store import Vault__Pack_Store
|
|
144
|
+
from sgit_ai.storage.Vault__Storage import SG_VAULT_DIR
|
|
145
|
+
sync = self._sync(args, directory)
|
|
146
|
+
store = Vault__Pack_Store(vault_path=os.path.join(directory, SG_VAULT_DIR), crypto=sync.crypto).setup()
|
|
147
|
+
if store is None:
|
|
148
|
+
print('error: this clone keeps no packs in place (clone with --pack-store)', file=sys.stderr)
|
|
149
|
+
sys.exit(1)
|
|
150
|
+
return sync, store
|
|
151
|
+
|
|
152
|
+
def cmd_store_status(self, args):
|
|
153
|
+
import os
|
|
154
|
+
from sgit_ai.storage.Vault__Object_Store import Vault__Object_Store
|
|
155
|
+
from sgit_ai.storage.Vault__Storage import SG_VAULT_DIR
|
|
156
|
+
directory = getattr(args, 'directory', '.') or '.'
|
|
157
|
+
sync, store = self._pack_store(args, directory)
|
|
158
|
+
try:
|
|
159
|
+
packs = store.packs()
|
|
160
|
+
loose = Vault__Object_Store(vault_path=os.path.join(directory, SG_VAULT_DIR), crypto=sync.crypto).loose_object_ids()
|
|
161
|
+
report = dict(packs=packs, packed_objects=store.object_count(), loose_objects=len(loose),
|
|
162
|
+
bytes=sum(p['size'] for p in packs))
|
|
163
|
+
finally:
|
|
164
|
+
store.close()
|
|
165
|
+
if getattr(args, 'json', False):
|
|
166
|
+
print(json.dumps(report, indent=2)); return
|
|
167
|
+
print(f'Pack store: {len(report["packs"])} pack(s) kept, {report["bytes"] / 1e6:.1f} MB; '
|
|
168
|
+
f'{report["packed_objects"]} object(s) read from them; {report["loose_objects"]} loose object(s) (not pushed yet)')
|
|
169
|
+
for p in report['packs']:
|
|
170
|
+
print(f' {p["rel"]:<70} {p["members"]:>7} object(s) {p["size"] / 1e6:>8.1f} MB')
|
|
171
|
+
|
|
172
|
+
def cmd_store_extract(self, args):
|
|
173
|
+
import os
|
|
174
|
+
from sgit_ai.storage.Vault__Object_Store import Vault__Object_Store
|
|
175
|
+
from sgit_ai.storage.Vault__Storage import SG_VAULT_DIR, Vault__Storage
|
|
176
|
+
directory = getattr(args, 'directory', '.') or '.'
|
|
177
|
+
sync, store = self._pack_store(args, directory)
|
|
178
|
+
n = store.extract_all(Vault__Object_Store(vault_path=os.path.join(directory, SG_VAULT_DIR), crypto=sync.crypto))
|
|
179
|
+
cfg = sync._read_local_config(directory, Vault__Storage())
|
|
180
|
+
cfg.pack_store = False
|
|
181
|
+
Vault__Storage().write_local_config(directory, cfg.json())
|
|
182
|
+
print(f'Extracted {n} object(s) into the loose store; the kept packs are gone and this is an ordinary clone now.')
|
|
183
|
+
|
|
184
|
+
def cmd_store_rebuild(self, args):
|
|
185
|
+
directory = getattr(args, 'directory', '.') or '.'
|
|
186
|
+
sync, store = self._pack_store(args, directory)
|
|
187
|
+
try:
|
|
188
|
+
r = store.rebuild()
|
|
189
|
+
finally:
|
|
190
|
+
store.close()
|
|
191
|
+
print(f'Rebuilt: {r["packs"]} pack(s), {r["objects"]} object(s)' + (f', {len(r["refused"])} member(s) refused' if r['refused'] else ''))
|
|
192
|
+
|
|
193
|
+
# ------------------------------------------------------------------ sgit pack index ...
|
|
194
|
+
def cmd_index_build(self, args):
|
|
195
|
+
from sgit_ai.core.actions.pack.Vault__Pack_Index import Vault__Pack_Index
|
|
196
|
+
directory = getattr(args, 'directory', '.') or '.'
|
|
197
|
+
sync = self._sync(args, directory)
|
|
198
|
+
as_json = getattr(args, 'json', False)
|
|
199
|
+
result = Vault__Pack_Index(crypto=sync.crypto, api=sync.api).build_missing(
|
|
200
|
+
directory, rebuild_snapshot=getattr(args, 'all', False), on_progress=None if as_json else self._progress)
|
|
201
|
+
if as_json:
|
|
202
|
+
print(json.dumps(result, indent=2)); return
|
|
203
|
+
print(f'{len(result["written"])} index pack(s) written' + (f', {len(result["skipped"])} skipped (commit not local)' if result['skipped'] else ''))
|
|
204
|
+
if result['gaps']:
|
|
205
|
+
print(f' {len(result["gaps"])} gap(s) still recorded locally: ' + ', '.join(result['gaps'][:3]))
|
|
206
|
+
|
|
207
|
+
def cmd_index_verify(self, args):
|
|
208
|
+
from sgit_ai.core.actions.pack.Vault__Pack_Index import Vault__Pack_Index
|
|
209
|
+
directory = getattr(args, 'directory', '.') or '.'
|
|
210
|
+
sync = self._sync(args, directory)
|
|
211
|
+
as_json = getattr(args, 'json', False)
|
|
212
|
+
report = Vault__Pack_Index(crypto=sync.crypto, api=sync.api).verify_indexes(
|
|
213
|
+
directory, on_progress=None if as_json else self._progress, last=int(getattr(args, 'last', 0) or 0))
|
|
214
|
+
if as_json:
|
|
215
|
+
print(json.dumps(report, indent=2)); return
|
|
216
|
+
print(f'{report["packs"]} index pack(s), {report["members"]} member(s) checked against the trees in {report["seconds"]}s')
|
|
217
|
+
for bad in report['bad']:
|
|
218
|
+
print(f' BAD {bad["pack"]}: {bad["member"]}: {bad["error"]}')
|
|
219
|
+
for name in report['unsigned']:
|
|
220
|
+
print(f' unsigned {name}')
|
|
221
|
+
for name in report['orphans']:
|
|
222
|
+
print(f' orphan (no data pack) {name}')
|
|
223
|
+
for name in report['gaps']:
|
|
224
|
+
print(f' gap (no index) {name}')
|
|
225
|
+
print('ok' if report['ok'] else 'FAILED')
|
|
226
|
+
if not report['ok']:
|
|
227
|
+
sys.exit(1)
|
|
228
|
+
|
|
229
|
+
def cmd_index_stats(self, args):
|
|
230
|
+
from sgit_ai.core.actions.pack.Vault__Pack_Index import Vault__Pack_Index
|
|
231
|
+
directory = getattr(args, 'directory', '.') or '.'
|
|
232
|
+
sync = self._sync(args, directory)
|
|
233
|
+
stats = Vault__Pack_Index(crypto=sync.crypto, api=sync.api).index_stats(directory)
|
|
234
|
+
if getattr(args, 'json', False):
|
|
235
|
+
print(json.dumps(stats, indent=2)); return
|
|
236
|
+
print(f'Vault {stats["vault_id"]}')
|
|
237
|
+
for folder, f in stats['folders'].items():
|
|
238
|
+
print(f' {folder:<10} {f["index_packs"]:>5} index pack(s) for {f["data_packs"]:>5} data pack(s) {f["index_bytes"] / 1e3:>9.1f} KB'
|
|
239
|
+
+ (f' ({len(f["without_index"])} without an index)' if f['without_index'] else ''))
|
|
240
|
+
print(f' local generation memo: {stats["generations_known"]} commit(s) (highest {stats["highest_generation"]}); '
|
|
241
|
+
f'local gaps: {stats["local_gaps"]}')
|
|
242
|
+
if not stats['generations_known']:
|
|
243
|
+
print(' (the memo is filled when this clone writes an index; a clone that only reads them has none: that is fine)')
|
|
@@ -215,6 +215,8 @@ class CLI__Vault(Type_Safe):
|
|
|
215
215
|
directory = args.directory
|
|
216
216
|
force = getattr(args, 'force', False)
|
|
217
217
|
sparse = getattr(args, 'sparse', False)
|
|
218
|
+
no_checkout = getattr(args, 'no_checkout', False)
|
|
219
|
+
pack_store = getattr(args, 'pack_store', False)
|
|
218
220
|
depth = int(getattr(args, 'depth', 0) or 0)
|
|
219
221
|
scope_paths = list(getattr(args, 'scope_paths', None) or [])
|
|
220
222
|
try:
|
|
@@ -240,6 +242,10 @@ class CLI__Vault(Type_Safe):
|
|
|
240
242
|
vault_id_arg = vault_key.removeprefix('vault://')
|
|
241
243
|
print(f'Cloning (read-only) into \'{directory}\'...')
|
|
242
244
|
partial = ({'depth': depth} if depth else {}) | ({'scope_paths': scope_paths} if scope_paths else {})
|
|
245
|
+
if no_checkout:
|
|
246
|
+
partial['no_checkout'] = True
|
|
247
|
+
if pack_store:
|
|
248
|
+
partial['pack_store'] = True
|
|
243
249
|
result = sync.clone_read_only(vault_id_arg, read_key, directory,
|
|
244
250
|
on_progress=progress.callback, sparse=sparse, **partial)
|
|
245
251
|
if token:
|
|
@@ -259,7 +265,9 @@ class CLI__Vault(Type_Safe):
|
|
|
259
265
|
print( ' sgit fetch <path> — download a file on demand')
|
|
260
266
|
return
|
|
261
267
|
|
|
262
|
-
if
|
|
268
|
+
if no_checkout:
|
|
269
|
+
print(f'Cloning into \'{directory}\' (selective working copy: no file written until sgit checkout)...')
|
|
270
|
+
elif sparse:
|
|
263
271
|
print(f'Sparse-cloning into \'{directory}\' (structure only, no file content)...')
|
|
264
272
|
elif scope_paths or depth:
|
|
265
273
|
what = []
|
|
@@ -273,6 +281,10 @@ class CLI__Vault(Type_Safe):
|
|
|
273
281
|
|
|
274
282
|
try:
|
|
275
283
|
partial = ({'depth': depth} if depth else {}) | ({'scope_paths': scope_paths} if scope_paths else {})
|
|
284
|
+
if no_checkout:
|
|
285
|
+
partial['no_checkout'] = True
|
|
286
|
+
if pack_store:
|
|
287
|
+
partial['pack_store'] = True
|
|
276
288
|
result = sync.clone(vault_key, directory, on_progress=progress.callback, sparse=sparse, **partial)
|
|
277
289
|
except RuntimeError as e:
|
|
278
290
|
if 'Directory is not empty' in str(e):
|
|
@@ -632,9 +644,8 @@ class CLI__Vault(Type_Safe):
|
|
|
632
644
|
_cfg = _json.load(_f)
|
|
633
645
|
vault_id_now = _cfg.get('vault_id', '') or ''
|
|
634
646
|
api_url_now = _cfg.get('api_url', '') or Vault__API().default_base_url()
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
obj_count = sum(1 for f in _os.listdir(data_dir) if f.startswith('obj-cas-imm-'))
|
|
647
|
+
from sgit_ai.storage.Vault__Object_Store import Vault__Object_Store as _Store
|
|
648
|
+
obj_count = _Store(vault_path=sg_dir, crypto=Vault__Crypto()).object_count() # loose and kept-pack objects
|
|
638
649
|
|
|
639
650
|
if not new_vault_key and not yes:
|
|
640
651
|
import secrets as _secrets
|
|
@@ -855,9 +866,10 @@ class CLI__Vault(Type_Safe):
|
|
|
855
866
|
fetched = result.get('files_fetched', 0)
|
|
856
867
|
total = result.get('files_total', 0)
|
|
857
868
|
unfetched = total - fetched
|
|
858
|
-
print(f'
|
|
869
|
+
print(f'Selective working copy: {fetched}/{total} tracked file(s) checked out')
|
|
859
870
|
if unfetched:
|
|
860
|
-
print(f' {unfetched} file(s)
|
|
871
|
+
print(f' {unfetched} file(s) not checked out (not deleted) — run: sgit checkout <path>, '
|
|
872
|
+
f'sgit checkout --since-pull, or sgit checkout --all')
|
|
861
873
|
print()
|
|
862
874
|
|
|
863
875
|
if clone_branch_id:
|
|
@@ -967,6 +979,8 @@ class CLI__Vault(Type_Safe):
|
|
|
967
979
|
progress = CLI__Progress()
|
|
968
980
|
self._print_remote_banner('Pulling', remote)
|
|
969
981
|
pull_kw = dict(accept_rewind=True) if getattr(args, 'accept_rewind', False) else {}
|
|
982
|
+
if getattr(args, 'no_checkout', False):
|
|
983
|
+
pull_kw['checkout'] = False
|
|
970
984
|
result = sync.pull(args.directory, on_progress=progress.callback, **pull_kw)
|
|
971
985
|
from sgit_ai.core.Vault__Sync__Base import Vault__Sync__Base
|
|
972
986
|
linked = set(Vault__Sync__Base(crypto=Vault__Crypto())._linked_tracked_paths(args.directory))
|
|
@@ -1004,6 +1018,10 @@ class CLI__Vault(Type_Safe):
|
|
|
1004
1018
|
print(f' ~ {f}' + (' (not written: a symlink here)' if f in linked else '')) # 0a0707d nit
|
|
1005
1019
|
for f in result.get('deleted', []):
|
|
1006
1020
|
print(f' - {f}')
|
|
1021
|
+
not_written = result.get('not_written') or []
|
|
1022
|
+
if not_written:
|
|
1023
|
+
print(f' {len(not_written)} changed file(s) not written to this selective working copy '
|
|
1024
|
+
f'— sgit checkout --since-pull writes them, sgit checkout <path> one at a time')
|
|
1007
1025
|
if result.get('rewound'):
|
|
1008
1026
|
print(f'Rewind accepted: {added} added, {modified} modified, {deleted} deleted.')
|
|
1009
1027
|
if result.get('reapplied'):
|
|
@@ -2270,7 +2288,8 @@ class CLI__Vault(Type_Safe):
|
|
|
2270
2288
|
elif log_filter.active(): # filter the whole history, every parent (S6), then cut
|
|
2271
2289
|
names = self._branch_names(args.directory)
|
|
2272
2290
|
if stat: # --stat needs per-commit deltas: first-parent chain
|
|
2273
|
-
chain = inspector.inspect_commit_chain(args.directory, read_key=read_key, limit=100000
|
|
2291
|
+
chain = inspector.inspect_commit_chain(args.directory, read_key=read_key, limit=100000,
|
|
2292
|
+
changes_provider=self._index_changes_provider(args.directory, read_key, args))
|
|
2274
2293
|
else:
|
|
2275
2294
|
chain = inspector.inspect_commit_dag(args.directory, read_key=read_key, limit=100000)
|
|
2276
2295
|
chain = sorted(chain, key=lambda c: int(c.get('timestamp_ms') or 0), reverse=True)
|
|
@@ -2282,8 +2301,8 @@ class CLI__Vault(Type_Safe):
|
|
|
2282
2301
|
return
|
|
2283
2302
|
chain = chain[:limit or 50]
|
|
2284
2303
|
else:
|
|
2285
|
-
chain = inspector.inspect_commit_chain(args.directory, read_key=read_key,
|
|
2286
|
-
|
|
2304
|
+
chain = inspector.inspect_commit_chain(args.directory, read_key=read_key, limit=limit or 50,
|
|
2305
|
+
changes_provider=self._index_changes_provider(args.directory, read_key, args))
|
|
2287
2306
|
if limit:
|
|
2288
2307
|
chain = chain[:limit]
|
|
2289
2308
|
shallow_note = ''
|
|
@@ -2300,6 +2319,29 @@ class CLI__Vault(Type_Safe):
|
|
|
2300
2319
|
if shallow_note:
|
|
2301
2320
|
print(shallow_note)
|
|
2302
2321
|
|
|
2322
|
+
def _index_changes_provider(self, directory: str, read_key: bytes, args=None):
|
|
2323
|
+
"""On a pack vault that carries index packs, `history log` takes each commit's
|
|
2324
|
+
change list from its commit index (no tree is opened); None elsewhere. With the
|
|
2325
|
+
clone's remote reachable, the commit indexes a compaction archived are fetched
|
|
2326
|
+
for the commits the log reaches; offline those commits are diffed as before."""
|
|
2327
|
+
try:
|
|
2328
|
+
from sgit_ai.core.actions.pack.Vault__Pack_Index__Reader import Vault__Pack_Index__Reader
|
|
2329
|
+
api = Vault__API()
|
|
2330
|
+
c = None
|
|
2331
|
+
try:
|
|
2332
|
+
token = self.token_store.resolve_token(getattr(args, 'token', None), directory) if args is not None else None
|
|
2333
|
+
remote = self.token_store.resolve_remote(args, directory) if args is not None else None
|
|
2334
|
+
if remote is not None:
|
|
2335
|
+
sync = self.create_sync(remote['base_url'], token, tls_verify=remote['tls_verify'],
|
|
2336
|
+
transport=getattr(args, 'transport', 'auto'))
|
|
2337
|
+
api = sync.api
|
|
2338
|
+
c = sync._init_components(directory)
|
|
2339
|
+
except Exception:
|
|
2340
|
+
api, c = Vault__API(), None # no remote, no token: local indexes only
|
|
2341
|
+
return Vault__Pack_Index__Reader(crypto=Vault__Crypto(), api=api).changes_provider(directory, read_key, c=c)
|
|
2342
|
+
except Exception:
|
|
2343
|
+
return None
|
|
2344
|
+
|
|
2303
2345
|
def _branch_names(self, directory: str) -> dict:
|
|
2304
2346
|
"""{branch_id: name} from this clone's index, for --author; {} when unreadable."""
|
|
2305
2347
|
try:
|
|
@@ -2542,6 +2584,51 @@ class CLI__Vault(Type_Safe):
|
|
|
2542
2584
|
else:
|
|
2543
2585
|
print(f'\nFetched {fetched} file(s), {already} already local.')
|
|
2544
2586
|
|
|
2587
|
+
def cmd_checkout_files(self, args):
|
|
2588
|
+
"""`sgit checkout <path> | --since-pull | --changed-since | --all`: write tracked files
|
|
2589
|
+
into a selective working copy (`sgit branch checkout <target>` switches branches)."""
|
|
2590
|
+
token = self.token_store.resolve_token(getattr(args, 'token', None), args.directory)
|
|
2591
|
+
remote = self.token_store.resolve_remote(args, args.directory)
|
|
2592
|
+
sync = self.create_sync(remote['base_url'], token, tls_verify=remote['tls_verify'],
|
|
2593
|
+
transport=getattr(args, 'transport', 'auto'))
|
|
2594
|
+
paths = [p for p in (getattr(args, 'paths', None) or []) if p]
|
|
2595
|
+
since = getattr(args, 'since_pull', False)
|
|
2596
|
+
since_c = getattr(args, 'changed_since', None)
|
|
2597
|
+
all_f = getattr(args, 'all', False)
|
|
2598
|
+
if not paths and not since and not since_c and not all_f:
|
|
2599
|
+
print('error: say what to check out: sgit checkout <path> [...], --since-pull, --changed-since <commit> or --all',
|
|
2600
|
+
file=sys.stderr)
|
|
2601
|
+
sys.exit(1)
|
|
2602
|
+
progress = CLI__Progress()
|
|
2603
|
+
try:
|
|
2604
|
+
result = sync.checkout(args.directory, paths=paths or None, since_pull=since, changed_since=since_c,
|
|
2605
|
+
all_files=all_f, on_progress=progress.callback, force=getattr(args, 'force', False))
|
|
2606
|
+
except RuntimeError as exc:
|
|
2607
|
+
print(f'error: {exc}', file=sys.stderr)
|
|
2608
|
+
sys.exit(1)
|
|
2609
|
+
for p in result['written']:
|
|
2610
|
+
print(f' ✓ {p}')
|
|
2611
|
+
for p in result.get('kept_dirty', []):
|
|
2612
|
+
print(f' ≠ {p} (kept: yours, uncommitted; sgit checkout --force overwrites it)')
|
|
2613
|
+
for p in result.get('not_found', []):
|
|
2614
|
+
print(f' ? {p} (not a tracked file or folder at HEAD)')
|
|
2615
|
+
for p in result.get('missing', []):
|
|
2616
|
+
print(f' ! {p} (its object is not here and could not be fetched)')
|
|
2617
|
+
for p, why in (result.get('failed') or {}).items():
|
|
2618
|
+
print(f' ! {p} (could not be written: {why})')
|
|
2619
|
+
n = len(result['written'])
|
|
2620
|
+
if n == 0 and not result.get('not_found') and not result.get('missing') and not result.get('kept_dirty') \
|
|
2621
|
+
and not result.get('failed'):
|
|
2622
|
+
print('Nothing to check out.')
|
|
2623
|
+
else:
|
|
2624
|
+
fetched = result.get('fetched', 0)
|
|
2625
|
+
print(f'Checked out {n} file(s)' + (f', {fetched} object(s) fetched' if fetched else '')
|
|
2626
|
+
+ ('; this clone is now a full working copy.' if result.get('full') else '.'))
|
|
2627
|
+
if all_f and not result.get('full'):
|
|
2628
|
+
print('This clone stays selective: not every tracked file is on disk (see the lines above).')
|
|
2629
|
+
if result.get('not_found') or result.get('missing') or result.get('failed'):
|
|
2630
|
+
sys.exit(1)
|
|
2631
|
+
|
|
2545
2632
|
def cmd_cat(self, args):
|
|
2546
2633
|
"""Decrypt and print a vault file to stdout (fetches from server if not cached)."""
|
|
2547
2634
|
import json as _json
|