Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Support uploading the binary directly as an input

オープン
#1,782 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@AyanSinhaMahapatra がすでに取り組んでいます。

2025年7月31日 から。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
backend

調査の方向性

まず 117 行目付近の scanpipe/pipelines/deploy_to_develop.py を読み、その後、issue にある PrismLauncher または MuseScore のアーカイブ URL とバイナリ URL を使って d2d プロジェクトを再現します。完了の条件は、直接のバイナリ入力がセクションに抽出されるのではなくスキャン可能なコードベースにコピーされ、from/ と to/ の両方の入力が正しく処理されることです。

索引モデルが issue の本文から書いたものです。

説明

back2source

There are two issues encountered when uploading the binary directly as an input instead of an archive:

  • we do not have a to/ side at all (because we could not extract from the binary)
  • we have the binary extracted with it's internal sections in files (and this causes errors in the symbol extraction/mapping)

If you start a d2d project with the following links as inputs:

https://github.com/PrismLauncher/PrismLauncher/archive/refs/tags/9.1.zip#from
https://github.com/PrismLauncher/PrismLauncher/releases/download/9.1/PrismLauncher-Windows-MinGW-w64-Setup-9.1.exe#to 

We get only a to/ side and no from/ side as we cannot extract the binary.

Image

If you start a d2d project with the following links as inputs:

https://github.com/PrismLauncher/PrismLauncher/archive/refs/tags/9.1.zip#from
https://github.com/PrismLauncher/PrismLauncher/releases/download/9.1/PrismLauncher-Windows-MinGW-w64-Setup-9.1.exe#to 

We get only a to/ side and no from/ side as we cannot extract the binary.

If you start a d2d project with the following links as inputs:

https://github.com/musescore/MuseScore/archive/refs/tags/v4.4.4.zip#from 
https://github.com/musescore/MuseScore/releases/download/v4.4.4/MuseScore-Studio-4.4.4.243461245-x86_64.paf.exe#to 

The binary is extracted into it's sections into files and this is not intended.

Image

We need to just copy the binary to the scannable codebase instead of trying to extract the contents into the scannable codebase. This is done here. This is a follow up to this commit where we tried to fix this initially but it seems like there are more cases.

Other project examples with incorrectly extracted binaries from https://github.com/aboutcode-org/scancode.io/issues/1470:

sqlitebrowser-v3.12.2
Notepad3-RC3_6.24.309.1
Tengine-lite-v1.2-pre
keepassxc-2.3.4
sdrangel-v7.22.5
FreeCAD-1.0.0

主要言語
Python
スター
223
フォーク
214
平均マージ
2日 3時間
マージ済み PR(30日)
13

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

aboutcode-org/scancode.io のほかの issue

aboutcode-org/scancode.io の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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