RFE: sd_pid_get_unit and related functions from sd-login

Aperta
#135 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
c, python

Direzione di ricerca

Start with the linked sd_pid_get_unit manual page and review the python-systemd wrapper entry points for sd-login functionality. Determine the related functions to expose and how the Python C API is used in this library. Done means the requested sd-login functions are available through the Python bindings without reimplementing their /proc-based behavior.

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

Descrizione

sd_pid_get_unit and related functions provided by sd-login do not use D-Bus and thus seem appropriate for this library. They are "just" string manipulation based on /proc/, but they don't seem trivial enough to just reimplement.

I haven't worked with the Python C API before, but if the maintainers agree this is in scope, I can take a stab at implementing them.

Lingua principale
C
Stelle
522
Fork
79
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

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

Tutte le issue di systemd/python-systemd

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.