aboutcode-org / aboutcode-org/dejacode

Construction of an Inferred URL for a Package is dropping the plus sign

未關閉
#181 3 則留言 0 個 reaction 已指派 1 人 已被 @tdruez 認領 在 GitHub 檢視
bug
主要語言
Python
星號
50
分支
27
平均合併
4 小時 51 分鐘
30 天內合併 PR
11

描述

Adding the Package available at https://github.com/facebook/sapling/archive/refs/tags/0.2.20240718-145624+f4e9df48.tar.gz to DejaCode is generally successful, but there is a problem with the Inferred URL:

Package URL: pkg:github/facebook/sapling@0.2.20240718-145624%20f4e9df48
Filename: sapling-0.2.20240718-145624-f4e9df48.tar.gz
Download URL: https://github.com/facebook/sapling/archive/refs/tags/0.2.20240718-145624+f4e9df48.tar.gz
Inferred URL: https://github.com/facebook/sapling/tree/0.2.20240718-145624 f4e9df48

Note that the Inferred URL has a gap (space) where there ought to be a `+` (plus) sign.
If you click on it in the DejaCode user UI you get a 404.
If you copy the whole thing, and edit it to restore the `+` then you get the intended repo page.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。