You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to be able to ensure that the host running hab has a valid version installed. We can use the site files to define a requirement for hab. If specified and the hab version is not valid, hab should exit with a clear error telling the user to update hab.
Essentially this makes it so you know that a host has all of the required features for your hab configuration.
Solution
If hab_requirements is defined in a site json file, hab will error out if it doesn't match the requirements.
{"set": {"hab_requirements": ["hab>=0.20.0"]}}
This would check hab.__version__ against the hab_requirements setting and if it doesn't match, it would raise an exception.
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Description
It would be nice to be able to ensure that the host running hab has a valid version installed. We can use the site files to define a requirement for hab. If specified and the hab version is not valid, hab should exit with a clear error telling the user to update hab.
Essentially this makes it so you know that a host has all of the required features for your hab configuration.
Solution
If
hab_requirements
is defined in a site json file, hab will error out if it doesn't match the requirements.This would check
hab.__version__
against thehab_requirements
setting and if it doesn't match, it would raise an exception.Additional Context
No response
The text was updated successfully, but these errors were encountered: