-
Notifications
You must be signed in to change notification settings - Fork 8
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
Allow skipping validation when installing packages #129
Comments
Actually I just rediscovered that in PR #119 (commit d69e567) I added a But this is not documented in the One could still also have a |
I've addressed this in e9922c8 by relaxing the requirement to pass validation when being installed. The documentation for
It therefore doesn't seem reasonable to require a passing validation in order to call an installation successful. This was a bit of an abuse of We do need at least some stuff in PackageInfo.g for a successful install. I've therefore introduced The separate discussion about not deleting directories can continue in #66. |
I was just asked how to install Frank Lübeck's FUtil package.
Unfortunately my first idea, installing it via PackageManager, failed:
Oops -- the package predates the introduction of the License field, so of course it doesn't validate -- but that's fine, the package works, so it should be installable!
So I think there should be a way to ignore the validation. Some additional thoughts:
ValidatePackageInfo
perhaps needs to be changed, it has too many roles: validating whether a package satisfies the minimals to be usable is different from validating that a package is satisfactory for distribution in the GAP package distro, and then there are certainly levels in between. Perhaps we need options toValidatePackageInfo
to control how strict it is; or let it return a value more complex than just "true" or "false"The text was updated successfully, but these errors were encountered: