CDNJS: Re-check library info when a specific version is requested #119
Labels
No labels
bug
confirmed
critical
discussion
documentation
Doing
enhancement
experiment
suggestion
support
Testing
To Do
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: hazaar/framework#119
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, if a specific version is requested and it is not known in the last available library info, an exception is thrown. The problem is if the library info was created, then some time later a new version was added, trying to use this version will throw the exception because this version is not known in the stored library info and this info is never updated because talking to the CDNJS API is slow.
What I think we can do to fix half of this problem is, if a specific version is requested and that version is not found in the current library info, download the latest library info and check again. This will trigger an update and setting an explicit library version will work. If the version is still not found when that happens, THEN throw the exception.
The one thing this will not help with is using the automatic library version. But this can just be a known caveat.
closed via commit
6c7c968cf9
changed milestone to %4