make_ssl_certs: run at build time, update reference test data automatically
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 77.2k
- Fork
- 35.9k
- Metriche di merge delle PR
- Metriche PR in attesa
Descrizione
Bug report
Bug description:
As discussed here:
https://github.com/python/cpython/pull/107594
make_ssl_certs.py has a few shortcomings. In particular:
- it generates certificates, but does not update reference data in tests that use them, instead asking the user to copy paste the data by hand (expiration dates and serial numbers in particular)
- it is supposed to be run by hand and isn't executed in builds, which means its output has to be checked into git, cluttering the source tree, and complicating reviews of pull requests that change that output.
- expiration dates are hardcoded into the tool and can't be passed in as parameters
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Linked PRs
- gh-119401
Guida per i contributori
Apri la guida per i contributori
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.
Direzione di ricerca
Inizia leggendo make_ssl_certs.py e la PR collegata gh-119401, quindi esamina i dati di test di riferimento che utilizzano i suoi certificati. Il lavoro è completo quando la generazione dei certificati viene eseguita durante le build, aggiorna automaticamente i dati di riferimento e accetta le date di scadenza come parametri senza richiedere output generato salvato nel repository.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- build-system, testing
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 25/100