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

Use 'pluggy' to manage extension points

Aperta
#492 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
python
Ambito
tooling

Direzione di ricerca

Start by inventorying the existing register functions, monkeypatching, and module imports used to extend Taskgraph. Read the Pluggy documentation and map those mechanisms to proposed hook points. Done means extensions such as mozilla_taskgraph have documented, consistent hooks without the current monkeypatching or import side effects.

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

Descrizione

BREAKING CHANGE

Currently we use an adhoc mish-mash of "register" functions and monkeypatching in order to extend Taskgraph. These places are not well documented and tend to be implemented inconsistently.

Pluggy is the extension manager used by Pytest and several other prominent projects. It would allow Taskgraph to expose well defined hook points that "plugins" can then call.

This would give extensions (like mozilla_taskgraph or project specific Taskgraph modules) well defined places to insert things into Taskgraph. We could then get rid of all the hacky monkeypatching and random importing of modules to trigger decorators.

Lingua principale
Python
Stelle
26
Fork
55
Merge medio
2g 6m
PR unite (30g)
15

Guida per i contributori

Apri la 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 taskcluster/taskgraph

Tutte le issue di taskcluster/taskgraph

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.