ort
ort copied to clipboard
Come up with a generic way to create IDs for local packages with missing metadata
We have different fallbacks for this case in different package manages (GoDep, Npm, Pip, Unmanaged, and probably more), but we should unify the handling.
Some more thoughts on the topic of "generating" project IDs: Running e.g. GoDepFunTest via Travis CI on a fork of ORT currently fails as the expected result hard-codes the upstream URL "github.com/oss-review-toolkit/ort". But actually I believe just having the name "ort", the path inside the repository, and the revision should be enough to uniquely identify the project (actually, the Git SHA1 alone should already be), and as a bonus, unmodified forks would be considered as the same project.
Edit: The above will for now be addressed by https://github.com/oss-review-toolkit/ort/pull/3207.
The situation has improved since https://github.com/oss-review-toolkit/ort/pull/6544, but it is not used consistently yet.
Closed as part of backlog grooming. Feel free to comment if you would like to contribute to this.