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

`compatibility_hints.py` should be split up

Aperta
#778 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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
32/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python, yaml
Ambito
api

Direzione di ricerca

The work centers on compatibility_hints.py, which mixes the hint lookup and default-derivation framework, the hint definitions, and the database of known server implementations. Read the two comments first, since the issue leaves open whether the data should move to YAML, and that choice decides the shape of the split. Done means the three concerns live in separate modules, with the data format settled and agreed in the thread.

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

Descrizione

compatibility refactoring

I thought there existed an issue on this already, but apparently not.

compatibility_hints.py today consists of three things:

  • framework for handling the hints and the database (looking up, defaults, derivation of implicit values based on parent/children nodes, etc)
  • the definitions of the compatibility hints
  • the "database" of known server implementations

Those should probably be split up in three different files. Or at least the first should be cleaned away.

The hint definitions and compatibility database should further be rewritten in a way that it's nice-looking and easy to read, even for someone that doesn't understand python. (maybe it shouldn't be python? Maybe it should be yaml?)

Lingua principale
Python
Stelle
412
Fork
113
Merge medio
1g 2h
PR unite (30g)
43

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 python-caldav/caldav

Tutte le issue di python-caldav/caldav

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.