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

t-rust: Source repo comparison flags auxiliary repo directories as "source_repo_only"

Aperta
#2,256 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
57/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python, rust
Ambito
backend, data

Direzione di ricerca

Start by locating the Rust source repository comparison code and the tests that produce source_repo_only results; the issue does not name specific files. Trace how crate contents and Cargo.toml include/exclude rules affect comparison, using the syn example as a reference. Done means auxiliary directories omitted from the published crate no longer appear as mismatches, while real repository differences remain reported.

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

Descrizione

Reference: https://github.com/aboutcode-org/scancode.io/issues/1767#issuecomment-4051759506

When a Rust crate lives at the repository root, the source repo comparison reports every file in directories that exist in the repo but are not shipped in the published crate — such as benches/, dev/, ci/, fuzz/, examples/, tests/, assets/ — as source_repo_only mismatches.

These are not actual discrepancies. They are auxiliary directories that are present in the upstream repository but stripped from the published crate tarball (or excluded by the crate's Cargo.toml include/exclude rules).

Sample:
syn at the repo root, https://github.com/dtolnay/syn/tree/2.0.117, has benches/, dev/, ci/, .github/ alongside the crate source. Comparing the published syn crate against its repo archive currently produces a source_repo_only list with dozens of entries, all noise.

source_repo_only should list only real differences between the repository and the published crate, not auxiliary directories.

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.