You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add a shared Git object cache for dependencies #29
dependenciesIssues related to dependency resolution, Git and path sources, and lockfiles.discussionIssues that require technical or community discussion before implementation.feature requestA request for new functionality in Vex.performanceIssues related to performance, caching, or unnecessary work.
Every project clones each Git dependency into its own .vex/deps/<package> checkout. This duplicates objects, increases network traffic, and slows clean builds across projects and CI jobs.
Proposed direction
Use a global bare or object cache keyed by normalized source identity, while keeping project-local checkouts and exact commits controlled by vex.lock.
Requirements
The cache must be an optimization only; the lockfile remains authoritative.
--offline may use cached objects but must never access the network.
--locked must never change the selected commit.
Concurrent processes must not corrupt cache state.
Different URLs or credentials must not be conflated unsafely.
Cache paths and diagnostics must not leak credentials.
Acceptance criteria
Write a design covering identity, locking, corruption recovery, pruning, and platform paths.
Reuse cached objects without unnecessary fetches.
Preserve isolated project-local working trees.
Add integration tests proving offline reuse across two projects.
Document cache location and a safe cleanup procedure.
dependenciesIssues related to dependency resolution, Git and path sources, and lockfiles.discussionIssues that require technical or community discussion before implementation.feature requestA request for new functionality in Vex.performanceIssues related to performance, caching, or unnecessary work.
Activity