Skip to content

Reject empty dependency paths, Git URLs, and selectors before resolution #116

Closed

Description

@LunaStev

Evidence

src/manifest.rs accepts any string for dependency path, git, branch, tag, and rev. Empty strings pass parsing. An empty path resolves against the parent manifest directory; an empty Git URL or selector fails later in Git instead of at the manifest boundary.

Acceptance criteria

  • Reject empty or whitespace-only path and git source values and branch, tag, or rev selectors in vex.ws.
  • Name the dependency, field, and manifest path in each error.
  • Fail before creating managed directories, changing vex.lock, or invoking Git.
  • Preserve valid local paths and selectors containing meaningful spaces.
  • Add parser and process-level tests for all five fields.

Related to #31, which covers unknown and source-inapplicable fields rather than empty values.

Activity

  1. added
    bug
    good first issue
    ui/ux
    dependencies
    on Sep 22, 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

    bugdependenciesgood first issueui/ux

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions