Skip to content

Conversation

@jaypipes
Copy link
Member

@jaypipes jaypipes commented Dec 1, 2025

Overhauls the parsing of the Dependency structs and subfields to actually use semver constraint checks and improve the error messages returned when an invalid dependency struct is specified or a dependency version doesn't meet the specified constraint, as shown in this example:

$ gdt run scenario/testdata/depends-not-satisfied-version-constraint.yaml
Error: runtime error: dependency not satisfied: "ls" failed version constraint ">99.9.9"

Issue gdt-dev/gdt#60

@jaypipes jaypipes force-pushed the jaypipes/depends branch 2 times, most recently from e6ee0a5 to 5118b11 Compare December 1, 2025 17:13
Overhauls the parsing of the Dependency structs and subfields to
actually use semver constraint checks and improve the error messages
returned when an invalid dependency struct is specified or a dependency
version doesn't meet the specified constraint, as shown in this example:

```
$ gdt run scenario/testdata/depends-not-satisfied-version-constraint.yaml
Error: runtime error: dependency not satisfied: "ls" failed version constraint ">99.9.9"
```

Issue gdt-dev/gdt#60

Signed-off-by: Jay Pipes <jaypipes@gmail.com>
@jaypipes jaypipes requested a review from a-hilaly December 1, 2025 17:17
@jaypipes jaypipes merged commit 7c05a0e into gdt-dev:main Dec 5, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant