-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 05/04/18 02:04, Marek Marczykowski-Górecki wrote:> There is ongoing work on domains widget to use qubesadmin module > directly (skipping dbus layer). Copying Marta, who is working on > it. > > Long story short - dbus services was introduced before we've > decided to implement Admin API in 4.0 (initial plan was to have it > in 4.1 or later). But since we've done it in 4.0, there is very > little sense to use dbus, which serve similar purpose (provide info > and events about domains), but adds additional complexity. > > As for Qube Manager, there is a little problem - events handling > in qubesadmin is based on asyncio python module. At the same time, > both GTK and Qt use its own event loop. We have it worked out for > GTK, using gbulb module[1][2], it's simple. But we haven't tried it > with Qt. In theory there is quamash module for it, so hopefully > that's simple too. One catch is that, similar to gbulb, there is no > package for it in Fedora... For gbulb we've created one[6], > probably the same needed for quamash. > > By using qubesadmin directly, you avoid this qid problem and > additionally things are simpler and there is less places where > state can get out of sync.
Thanks for your attention Marek. Bad moment for start doing this hehe but was funny :) At least I guess the structure of Qube Manager should be very similar using dbus or another events system so I can try to finish it which is nearly finished. Probably will be a better place to start a migration to qubesadmin events than current version. There are some things that can't be handled with dbus (network/template changes) and other which could be but I don't know if you want (CPU usage, memory...) also I think that there is an strange bug with qubesadmin[1] So if nobody is working on Qube Manager migration at this moment I would like to finish the dbus-version and then consider the other api :) Regards. [1] https://github.com/QubesOS/qubes-issues/issues/3875 -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEznLCgPSfWTT+LPrmFBMQ2OPtCKUFAlrrqNIACgkQFBMQ2OPt CKX+yxAAj25/RFtbDhf7FFGeIEAbAx35HhX5Rr87HxgL50n+Qp2URiZ3Q0LWCCHk 56mf3p3m+O62BHqJ/oX7MI3t6FRR28/8SZK+Y6crjFlzuW6zqhCEklACmgrs4sjj ftKu/nC6pZKyk1nCKe5Vqde51TD+4xw3iS/1qYcul8vgQ653h8FWg+zuG8w3GlcW iMCLZ0va2IsO6uF68jIFKk55pHI5ZJhD3cpx5Ljq34YKbNB5mscwZpQoIlG8csPa 1lBpuh8PrWJVpdAAO41ifYSFXa7h+RTuoxn+30Pz71ykmgTWJEgtu1sJIFjNt/M0 t7V5SNqbDcjAAxJIZHBkk0AZpmZIjglgL7sy4fx9FveGeOw2f9yGnEFqwSAjCPyR KVep08VF3oX0aiEUZsQ97uQTtAM/60HngiqRKDmamyQ+euMPIUU7KM1huabvAF+u 9npMOx4f8PoaMeu2h0wd7QicW4/X69iZcgXyVSHy3XuP2ogx2MQNHXEn0oiZyMrA q9MZZkU0BdBlN1pvo+t7lJWpSVlfOCM/wA4Dbh6raYW5iXKfAo9TGDzvDHrHHLSN wB+Nabsw7yac5G53hPKLM5F7+hO/lPPhEbM1KLGNE4uYhevSqDFIPHT1CBQvc+/k QUY0LqW/US0oP8i7bLVtF/MsXKiESgkR3fPLsH/GpQ7ogbY8fM4= =ARU3 -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/f236b915-42a6-6fa9-3df4-31d368ea712c%40riseup.net. For more options, visit https://groups.google.com/d/optout.