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

[Suggestion] "lazy mode" for torrent verify comamnd

Aperta
#535 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
rust
Ambito
cli

Direzione di ricerca

Inizia con il comando verify e determina in che modo associa attualmente i percorsi dei torrent ai file locali. Definisci l’ambito e il comportamento di un’opzione lazy per gli spazi iniziali o finali e i file di lunghezza zero, preservando la verifica degli hash. Il lavoro è completato quando l’opzione è documentata e la verifica gestisce i percorsi descritti, ripuliti da Transmission, senza falsi errori di file mancante.

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

Descrizione

imdl should be a bit more tolerant when checking torrents with regard to file names and other things.

Two simple examples:

In practice, torrents are sometimes created from very messy folders.

A classic example is the protruding space character.

Even 0-byte files occur frequently.

Torrent clients sometimes handle this quite clumsily. For example, Transmission removes protruding spaces and does not create 0-byte files.

This procedure means that these torrents are valid and clean for Transmission. In imdl a check fails because of missing files although they are actually there.

This can be remedied by "unclean" renaming and creating empty files with touch.

It might be useful if files were found even if they are there but really only have spaces in front of them. Also 0-byte files should be considered "irrelevant" and simply ignored. This should not break hashes. It would be useful to be able to activate this with an option in the verify command. Something like -lazy or something similar.

Edit: Transmission also appears to remove trailing spaces.

Edit 2: Transmission performs the cleanup for all path parts.

Lingua principale
Rust
Stelle
663
Fork
36
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

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 casey/intermodal

Tutte le issue di casey/intermodal

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.