[2.8] Safe handling of 24-byte long names

Aperta
#460 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
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

The payload names no files, so start by searching the Python code for where node long names are stored or truncated to 24 bytes. The only acceptance criterion is tests with multi-byte names cut at 24 bytes, so add those cases and make them pass. The issue depends on pskillen/meshflow-api#445 (ID-8), so check that issue first and expect to ask the maintainer how "longest consistent name" should be chosen.

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

Descrizione

enhancement meshtastic-2.8

Part of pskillen/meshflow-api#437 (Meshtastic 2.8.x support). Code: NI-1 · Priority: Should · Size: S

Summary

2.8 caps long names at 24 bytes. Handle UTF-8 truncated mid-character; prefer the longest consistent name; document.

Acceptance criteria

  • Tests with multi-byte names cut at 24 bytes

Depends on: pskillen/meshflow-api#445 (ID-8)

Lingua principale
Python
Stelle
1
Fork
0
Merge medio
23h 9m
PR unite (30g)
15

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

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 pskillen/meshflow-api

Tutte le issue di pskillen/meshflow-api

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.