Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Support uploading the binary directly as an input

Aperta
#1,782 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@AyanSinhaMahapatra ci sta già lavorando.

Dal 31/7/2025.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

Inizia leggendo scanpipe/pipelines/deploy_to_develop.py intorno alla riga 117, quindi riproduci i progetti d2d usando gli URL degli archivi e dei binari di PrismLauncher o MuseScore riportati nell’issue. Il lavoro è completato quando gli input binari diretti vengono copiati nella codebase scansionabile invece di essere estratti in sezioni, e quando vengono gestiti correttamente sia gli input da from/ sia quelli da to/.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Python
Stelle
223
Fork
214
Merge medio
2g 3h
PR unite (30g)
13

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di aboutcode-org/scancode.io

Tutte le issue di aboutcode-org/scancode.io

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.