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

[feat] Support Versioning for Hub Validators #862

Open
CalebCourier opened this issue Jun 26, 2024 · 0 comments
Open

[feat] Support Versioning for Hub Validators #862

CalebCourier opened this issue Jun 26, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@CalebCourier
Copy link
Collaborator

Description
Currently installing a hub validator always installs the latest assuming it is not already installed or cached on the users machine. We should enable versioning on hub validators so a user can install and lock to a specific verison.

Why is this needed
Authors need to be able to specify what types of changes are occurring via semver.
Users need to be able to update only when they're ready and lock when necessary.

Implementation details
Since hub installs already utilize git installations via pip, we just need to track valid versions in the manifest index and allow authors to specify versions via branches, commit hashes, or tags (preferred).

End result
A user can install a specific version via guardrails hub install hub://guardrails/competitor_check@1.2.3

@CalebCourier CalebCourier added the enhancement New feature or request label Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant