aboutcode-org / aboutcode-org/scancode.io

When downloading from Git/GH repo main/master/default branch, find the exact commit

Open
#2,158 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
215
Forks
203
Avg merge
4d 8h
Merged PRs (30d)
6

Description

When downloading from Git/GH repo main/master/default branch, find the exact commit, rather a ref that is not pointing to a specific commit.

For instance rather than https://github.com/aboutcode-org/license-expression/archive/refs/heads/main.zip the download URL should be updated to point to the current, latest commit in that branch e.g., https://github.com/aboutcode-org/license-expression/archive/a3c00c09986bcca1240afd5b1844b56de3f581c1.zip

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.