-
Notifications
You must be signed in to change notification settings - Fork 351
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
Framework validation issue #105
Comments
This issue also exists for libraries from here libraries should also be able to have |
These should both also allow underscores which could simplify the regex to |
There may be a larger issue with this. I've seen a few specs including specific versions I assume with something like |
|
Another weird one: |
At this point all the libraries that showed up because of this stricter check and were actually broken have been fixed. All the rest are currently correct with one of the above issues. |
To recap tests should accept:
|
👍 sorry kept running into new ones. |
I think the best way to validate this would just be to check for lib in the beginning and the dylib at the end. I was hoping we could verify with dot's but that obviously wouldn't work either. |
Just to summarize, frameworks just need the regex modified but libraries need to be reverted? |
I believe so. Frameworks shouldn't be able to specify versions like that (I don't think). I didn't see any frameworks trying to do that in the list I was going over yesterday. |
The main purpose of the regex was to prevent the accidental specification of:
So it shouldn't be completely reverted. I also think that we should add the examples above to the specs. Finally, I am of the opinion that we should not be over restrictive, and although not framework uses versions like that it is still a valid name and should be allowed. |
Frameworks should be allowed to have more than just letters and numbers. As it currently stands those are the only characters allowed although some frameworks have
-
in the name. This can be fixed by changing the regex to/[^a-zA-Z\-\d]/
and writing a test or two.The text was updated successfully, but these errors were encountered: