Better support for monitoring DBus messages & example
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- ruby
- Ambito
- operating-systems
Direzione di ricerca
Start with DBus::Connection, its #process behavior, and the registered @signal_matchrules, then compare them with the linked functional example and dbus-monitor behavior. Define how BecomeMonitor should be exposed and how processing should handle the server write-close; done means monitoring works without monkey patching and matches the requested behavior.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
It would be nice to have better support for monitoring/eavesdropping on messages sent across the bus. I have made a functional example but it requires a bit of monkey patching to change the library's behavior. This is the same functionality provided by the dbus-monitor(1) command.
- Support for another flag in match rules, though I'm not 100% certain it's needed for new enough implementations. I'm doing this to behave the same way
dbus-monitordoes. - After calling BecomeMonitor, the socket becomes write-closed by the server. So the default behavior of
#processno longer applies.
I think this is a useful feature, so I'd like to see this upstreamed. Not certain on the exact design though. A special #become_monitor method on DBus::Connection that re-uses the registered @signal_matchrules?
- Lingua principale
- Ruby
- Stelle
- 174
- Fork
- 51
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
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.
Altre issue di mvidner/ruby-dbus
-
Specify rexml versioningAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
-
Rexml or Nokogiri?Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
-
NetworkManager.Settings.Connection cannot round-trip, calling Update with what GetSettings returnedAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 45/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
Tutte le issue di mvidner/ruby-dbus
Issue simili
-
[KLayout][DRC] Gat.b1 only checks gate regions, misses facing 3.3 V poly end caps (Figure 5.6)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
IHP-GmbH/IHP-Open-PDK#1266 ·
I maintainer di solito rispondono entro 2 giorni
-
Add ZammadForse già presa @Arslan-TR l’ha presa oggi. Apertarequest
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
endoflife-date/endoflife.date#11298 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
performance v/6
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
WITCodingClub/calendar-backend#689 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
rubys/roundhouse#571 ·
I maintainer di solito rispondono entro 1 giorno