Initial Manifest Support Tracking Issue

Aperta
#363 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
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
rust
Ambito
cli

Direzione di ricerca

Inizia esaminando la directory imdl proposta e le decisioni sul formato del manifest in questa issue. Definisci la struttura iniziale del manifest, l’hashing Blake3, l’integrazione con le release, la verifica su disco e l’hashing stabile del manifest radice prima di identificare i punti di ingresso dell’implementazione. Il lavoro è completato quando le release possono includere manifest e gli hash dei file possono essere verificati.

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

Descrizione

enhancement

After much thought about the manifest format, including starting to write my own format, I'm going to go with the following for the initial implementation:

  • Manifest data will be in imdl directory in root. This is unlikely to conflict with anything, and gives people a term to search for.

  • Initial format will be Bencode. Bencode + Serde support is already integrated into the project. Although it's slow, there is no perfect choice here. At a later date, it's possible that there will be a transition in manifest formats.

  • Hashes will be Blake3 hash of each file.t

  • Structure will likely be a list of hashes, and then a directory structure where the leaf data is the index of the hash of that file.

  • Initial functionality will be adding a manifest to a release, and verifying hashes in that manifest against the files on disk.

  • Also important will be calculating a stable hash of the root manifest, that commits to all data, so the hash of the manifest can be communicated and used for verification.

Lingua principale
Rust
Stelle
660
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.