aboutcode-org / aboutcode-org/dejacode

BUG: creating package brow6el-main.tar.gz generates unexpected PURL values

オープン
#449 コメント 3 件 リアクション 0 件 担当者 1 名 @tdruez が担当を希望しています GitHub で見る
bug design needed enhancement
主要言語
Python
スター
50
フォーク
27
平均マージ
4時間 51分
マージ済み PR(30日)
11

説明

**Describe the bug**
Creating a package in DejaCode from https://codeberg.org/janantos/brow6el/archive/main.tar.gz results in unexpected PURL values.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to Packages user list view
2. Click on Add Package
3. enter https://codeberg.org/janantos/brow6el/archive/main.tar.gz and click Add
4. Note that the generated PURL is `pkg:generic/main.tar.gz?download_url=https://codeberg.org/janantos/brow6el/archive/main.tar.gz` even though it correctly generates the Filename field as `brow6el-main.tar.gz` and it correctly records the Download URL.

**Expected behavior**
The Name value in the PURL should be `brow6el-main-tar-gz` rather than `main.tar.gz`

**Context (OS, Browser, Device, etc.):**
DejaCode v5.5.0

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。