ZIM file digests (checksums) should be introduced in the OPDS feed
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 42/100
Direzione di ricerca
Start by tracing how the CMS builds the OPDS feed at /catalog/v2/entries and where entry data is stored or retrieved. The issue says digest storage is missing and suggests collecting digests from Zimfarm or the warehouse; identify which source the project uses before changing the feed. Done means known lowercase MD5, SHA-1, and SHA-256 digests appear in each entry, with absent digests omitted.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Related to https://github.com/kiwix/libkiwix/issues/1358 (implemented in https://github.com/kiwix/libkiwix/pull/1413)
libkiwix can now read ZIM file digests from an OPDS entry and pass them on to readers and kiwix-manage. But the CMS feed doesn't include them yet. For example, there is no digest in https://library.kiwix.org/catalog/v2/entries.
The expected format, inside each <entry>, is:
<kiwix:zimdigests>
<kiwix:zimdigest type="md5">...</kiwix:zimdigest>
<kiwix:zimdigest type="sha1">...</kiwix:zimdigest>
<kiwix:zimdigest type="sha256">...</kiwix:zimdigest>
</kiwix:zimdigests>
- Supported
typevalues aremd5,sha1andsha256. They are case-sensitive and always lowercase. - Each digest is optional. Emit only the ones that are known, and leave out the
<kiwix:zimdigests>element if there are none.
As far as I can see, the CMS doesn't store ZIM file digests yet, so this probably means collecting them first (e.g. from Zimfarm or the warehouse).
- Lingua principale
- Python
- Stelle
- 8
- Fork
- 4
- Merge medio
- 1g 1h
- PR unite (30g)
- 16
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di openzim/cms
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
openzim/cms#658 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Branded apps: tag release as latest after creating the release.Forse già presa @benoit74 l’ha presa 8 giorni fa. Aperta
openzim/cms#653 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
openzim/cms#652 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
upstream
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
openzim/cms#642 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
openzim/cms#636 · 6 commenti ·
I maintainer di solito rispondono entro 1 giorno
Issue simili
-
auto-reported bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
stix-atlas.json: the same relationship id is used for several different mitigates relationshipsAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
-
backend bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
nolte/kamerplanter#3193 ·
I maintainer di solito rispondono entro 1 giorno
-
soup prune-prompt exits 1 after writing its output on a file over 100,000 rows, and reports a capped row count otherwiseForse già presa @abdulwaarith0 l’ha presa oggi. Apertaneeds-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
MakazhanAlpamys/Soup#3690 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno