-
Notifications
You must be signed in to change notification settings - Fork 149
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
ghcup: update metadata version to 0.0.9 #271
Merged
Merged
Conversation
This file contains 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
if not, ghcup will try to retrive ghcup-0.0.8.yaml from github
Co-authored-by: taoky <[email protected]>
…opy/paste experience
…n on different platforms
I would prefer this: create a symlink to the latest one in the ghcup sync script. |
Erchiusx
added a commit
to Erchiusx/ustcmirror-images
that referenced
this pull request
Jan 3, 2025
1 task
1 task
taoky
requested changes
Jan 3, 2025
Co-authored-by: taoky <[email protected]>
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.
ADVISE WANTED
The
ghcup
team seems to be releasing patches for versions very frequently. As a result, the documentation often requires updates to reflect these changes. However, these updates and commits often feel redundant and contribute to polluting the commit history.There seem to be two potential solutions to address this issue:
Provide a
latest
version for each metadata channel:This would involve creating the following files that always point to the latest version of the respective metadata:
ghcup-latest.yaml
ghcup-cross-latest.yaml
ghcup-vanilla-latest.yaml
ghcup-prereleases-latest.yaml
Make the site more dynamic:
One option is to embed a JavaScript snippet that dynamically generates the latest version in the documentation. Alternatively, the site could be built daily, retrieving the latest version during the build process. While this could be generalized for other documents, it might be harder to maintain in the long term.
Additionally, these solutions are within our control. Beyond this, we could also consider reaching out to upstream to request that they provide the
latest
metadata directly to us, as a mirror site, so that we don't need to manage this manually.