-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Point pre-installed sample source links to permanent URIs #2721
Comments
It seems @numerology has already been doing this: #2722 |
Summarize some discussion in #2722 here. Pointing source links to permalinks can fix the 404 error for now, but it falls short in that our future update to READMEs and source codes won't be reflected in the preload samples in a timely manner. One possible solution of that would be include some |
But the source code would be correct (corresponding to the preloaded sample). We can use version tag instead of commit hash to make it easier to update the samples config. Another option might be to build/modify the config during the image building. |
Not exactly sure I understand... Are you suggesting there is a way to use permalink while keep the source code up-to-date at the same time? |
This sounds like a good idea to me. |
Adjusting on that
Extra benefit comparing to pinning directly in source code:
|
@Bobgy That looks good to me. I can try to do item 2. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
We've done this in above PRs. |
Otherwise the links stop working when the samples are moved.
The text was updated successfully, but these errors were encountered: