godot-asset-library icon indicating copy to clipboard operation
godot-asset-library copied to clipboard

View files not pointing to specified commit

Open moritztim opened this issue 9 months ago • 2 comments

Clicking View Files should not lead to https://github.com/{user}/{repo} but to the state of the repo at the specified commit https://github.com/{user}/{repo}/tree/{hash} otherwise there might be a readme that was made for a newer version or other unaproved changes to files, which the user might end up downloading from github, thinking they must have been approved. Being able to optionally specify a tag instead of a commit hash would of course be even nicer:

image

moritztim avatar Nov 17 '23 08:11 moritztim

The URL to use to view the repository at the state of a commit is of the form https://github.com/{user}/{repo}/tree/{hash} (tree rather than commit).

Calinou avatar Nov 17 '23 11:11 Calinou

Right

moritztim avatar Nov 18 '23 13:11 moritztim