Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn dependency constant into table #745

Closed
wants to merge 1 commit into from
Closed

Turn dependency constant into table #745

wants to merge 1 commit into from

Conversation

Jan200101
Copy link
Contributor

based on #685
credits to @uniboi for the original implementation

turns dependency constant from a plain boolean value to an optional table with the following attributes:

  • version contains the raw version string of the dependency
  • major, minor, patch contains an attempt at parsing the above version string naively as semver.
    • if the relevant segment is empty or not a number it will default to -1

reworked from scratch to add fewer functions and fix some bugs all around.

This allows us to store information about the dependency, such as the version string an an attempt at parsing the version as semver.

Co-authored-by: uniboi <64006268+uniboi@users.noreply.github.com>
@Jan200101 Jan200101 added needs testing Changes from the PR still need to be tested needs code review Changes from PR still need to be reviewed in code labels Jun 27, 2024
@Jan200101 Jan200101 closed this by deleting the head repository Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs code review Changes from PR still need to be reviewed in code needs testing Changes from the PR still need to be tested
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant