Skip to content

Support Git dependencies located in repository subdirectories #57

Closed

Description

@LunaStev

Motivation

Many repositories contain multiple packages or keep a Wave package below the repository root. Vex currently requires vex.ws at the Git checkout root.

Proposed behavior

Allow an explicit, validated subdirectory selector on a Git dependency while continuing to lock the repository commit.

Acceptance criteria

  • Define a manifest field and normalized portable path syntax.
  • Reject absolute paths, parent traversal, symlink escapes, and empty components.
  • Keep one repository checkout reusable by multiple subdirectory packages where safe.
  • Include subdirectory identity in source-conflict checks, lockfiles, tree, and metadata.
  • Recalculate transitive dependencies relative to the selected package manifest.
  • Add local Git tests for valid nested packages and traversal attempts.
  • Coordinate repository reuse with Add a shared Git object cache for dependencies #29.

Activity

  1. added
    discussion
    feature request
    dependencies
    on Sep 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dependenciesdiscussionfeature request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions