feat: add versioned package installation and caching - #1158
Closed
httphypixelnet wants to merge 4 commits into
Closed
feat: add versioned package installation and caching#1158httphypixelnet wants to merge 4 commits into
httphypixelnet wants to merge 4 commits into
Conversation
Member
|
Thanks for the work here, but I think this is out of scope for Vale. For pinning, this is already supported: give a release URL in place of the name. Packages = https://github.com/errata-ai/Google/releases/download/v0.7.0/Google.zipThat works for any host, and What's left beyond that is resolving version ranges, and that's where I'd rather Vale not go:
The middle ground you're after is a real want. It's just the expensive end, and I'd rather keep Vale at the two ends than maintain a package manager to reach the middle. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add version-aware package installation for packages hosted on GitHub. Package
references can now specify a Semver constraint, and Vale resolves the
latest matching GitHub release before installing it.
Add an on-disk cache for GitHub release metadata and downloaded release
archives. Cache locations follow platform conventions and can be overridden
with
VALE_CACHE.Details
Packagesentries such asGoogle@0.7.0and version ranges againstGitHub releases.
versions, and cache output.