Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/QubesOS/qubes-core-admin-client
Qubes management API client
https://github.com/QubesOS/qubes-core-admin-client
follow core-admin change.
5ac7632dd09d986b42ef2d50eb1ccc25cfbc3c88 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Don't start GUI daemon for given VM twice when qvm-start-gui was started
during VM startup (whil...
qubesd may be restarted during different stages of connection - either
while attempting to conne...
This way we don't need separate admin.vm.Clone call, which is tricky to
handler properly with po...
But do not fetch any additional info just for this purpose.
a5a459840a91689c5b388105efb66be94c106f95 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>Clone volume without retrieving all the data.
QubesOS/qubes-issues#2622
998a42703f379da5df9fb6588330a4c2e61e6ca3 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>90141a1befc80e02bc8df301ac2145976dffa1fb authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
12fd4eb035c6d8730d3cf4a5ba70fff765381eea authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Be compatible with core-admin
e94bdca2065ad7957574dfbb6f54972986ecb475 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>QubesOS/qubes-issues#2388
8e5f90c27316178c93f03a389cce22d3d369d6b5 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>QubesOS/qubes-issues#2622
31988a9bd8386c277871d134f6c693d0b8786868 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>d1b67daa63ef3ab4c19d765144c528d4065acc76 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Enable 'qrexec' VM feature to wait for qrexec initialization - it is
required to call qubes.Post...
64f7eecf581032d0ff0f0bc2abeb99893bbc871d authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
* qubesos/pr/7:
qvm-ls: hide flags (aka status), get more descriptive
qvm-ls: fix -O with up...
* devel-1:
toos: fix handling default command (qvm-device, qvm-volume, ...)
events: fix pars...
Enterprise™ continues.
59eda6392324d5aaa1010cc82b4a801c93bad45c authored over 7 years ago by Wojtek Porczyk <[email protected]>934f8fcdd9578cad4e23db9f290fbf3e48f344d0 authored over 7 years ago by Wojtek Porczyk <[email protected]>
23fe5e431c9e045f673b6c1ada2f22943bfea8d9 authored over 7 years ago by Wojtek Porczyk <[email protected]>
033125932ca8b7b60f364e4c0cf59928a3410e7a authored over 7 years ago by Wojtek Porczyk <[email protected]>
Since Admin API, qvm-ls takes a long time to complete. Therefore,
Corporate Headquarters command...
When command isn't specified, command variable is set to None. Lets
handle this situation gracef...
Empty parameter value is encoded as b'parameter\0\0', so we can't simply
read the data until b'\...
It require qubesd running. Firstboot will take care of it.
96b27fdf14b959f925cfcbba4785b0c8c1303b29 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>This is to prevent leaking file descriptors.
QubesOS/qubes-issues#2622
0a556fad8c10a1b77aa516540e17c05fba31e20f authored over 7 years ago by Wojtek Porczyk <[email protected]>Tool to be called from template's rpm post-installation script.
2675d63579a87acc29f05006b168038bc321d003 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>9cdf9a0e60fa343d75f09f9b81b670b8bc86c9ac authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
fe51e8862a68b218ae98bb82c28f77e1d9ef99cc authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
c435de06a10f3d2a66c779eda80315d7bc0ba14b authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
This makes it much easier to write tests...
93d7249ef033aeede504ed5ab6f163566da53621 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Use newly introduced payload_stream= argument to qubesd_call to pass
data directly from some fil...
None value should be encoded as empty string.
c988ef41a3512e5771ce36c0c503e9b8ccf476b5 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
If cache was already populated, trying to reference newly created VM
would fail as it isn't the ...
Wrap setting events handling machinery for just this purpose in a single
function, to not duplic...
Add qubesd_call(..., payload_stream=...) argument to allow streaming
payload directly from some ...
1aab64d5b0b35e56ed92ad03a17918b694bf13e0 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Since migration to Admin API, qvm-ls no longer have list of all VM
properties in advance, so can...
It inherits from AttributeError, so standard handling should just work.
de2f23b9fe95a24a200695e1dac9a73edef3647a authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>fa667636284ab0a910932f503da123de0cecca8d authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Don't terminate qvm-run on any SIGCHLD, check if the process we're
waiting for have finished.
C...
54d5ec79b5774484ab60d860de13b5072ac44141 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>Make it behave more like a dict.
17ca883c7cc4bbf62137a83cf7728a4e32c92029 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Make it easy to retrieve DeviceInfo object out of DeviceAssignment
object. The only missing piec...
3edbc8528217808106f49d687f8cf99806477608 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
In Fedora it's python-daemon, not python2-daemon.
d1387a93b3c0dbdf1dcebe3a5d9deab103e63a7f authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Make it convenient wrapper around qrexec-client{-vm}, which would start
a VM, wait for user sess...
d7671e48561b82146a0c037c881f61fc9a024489 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
f5e102177cfe0a868da79fda3fba8bd17f778657 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
It is supported only from dom0, but it's still useful to have, to save
on simultaneous vchan con...
bbd0beb830d414a87102262668becac71eec4e1e authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Since we use qubes.VMShell service now and send requested command on its
stdin, we need to termi...
d0bcd3ead23cdcf431a78573f09a78d946bdccce authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Register SIGCHLD signal handler later - do not stop data processing when
qubes.WaitForSession se...
7f5fc6ac3d904a5c6365089cfa91188807832742 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
qubesd_call expect "bytes" type. Additionally serialize false value as
empty string (which is tr...
Enable master-staging -> master update
Use new "Build Stages" Travis-CI feature, to deploy only ...
116c45071fbaf0e8c5a3ef6faf5cd69c9eb3efaa authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Do not color qvm-run diagnostic messages, but also avoid ANSI control
sequences in logs. While a...
Avoid race condition with X server startup, especially important for
qvm-run --autostart.
210876bd8f2be6c3e1fb68a440c2349bbd53aca8 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
qubesadmin.exc.QubesVMError (in contrast to qubesa.exc.QubesVMError)
does not take VM instance a...
When events handling is enabled, use it for cache invalidation too.
88b559d98556a391e7831ea8f4c9ea78a113de14 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]><^-^>
57b87da9d1a5ccb32f7fea3fc8813b726389a71f authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>QubesOS/qubes-issues#853
cfc9ff2ce50d3400bb1ecd2604648ce22c262f7e authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Since core-admin no longer install them, this package finally can
provide them without conflicts.
6c477658849504b729a24c3d26cf3259b76a8a32 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
This result only in small limitation in qvm-start-gui tool, but allow
to use the tools from Debi...
QubesOS/qubes-issues#853
4ceff0f8c07d9046435dc026b4a56d2690c47e83 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Most of them are moved from core-admin repository, even if tool is not
implemented yet. Some are...
1b7a58b84b993c078f8812e7490ba8fe0ecd1851 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
39a888df4d49fe60de1bdf591a86ddc699501670 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
78c28a70e92c7b9cb0b567111f2af875b55c8549 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
d3439694c88d66bb4d5bfb23fc2bbc7131f9e502 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Some parts (especially in qubesmgmt/dochelpers.py) copied from
core-admin repo.
The tool and tests.
Use '-' for empty fields in the table, to work also with old 'column'
progr...
To keep API compatibility with core-admin, most data structures are
copied from there.
At best lets skip tests in such a case.
206f1a7c5b2b2bd421edb8e5977dfcae1ea2aaa8 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>09acf4729b8f15f30b88d2a3033633887c603fe4 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
The tool and tests.
d5bf5a1d751098ecc4ee168f1737e81eed160679 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>6f46faba6c0990567c1533198d8170f537762007 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
54dcec2cf55c2500302e84882a03c201898a4448 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Allow use StdoutBuffer context manager inside another similar context
manager. This allows runni...
Will ease vm.qubesd_call usage.
14ba770c1a5043cbe589a921bb31826d63003b6b authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>9aa242751375140f88d7fdfcaedd626f7eb8d3e3 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Lets also test basic communication primitives. `mock` python module
makes it _much_ easier, so l...
Also put non-VMCollection related tests into separate class.
786bb7d94fa8edc4b3b663e0eda5b2318f121ffc authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>The tool and tests.
8ce10168ef7ddfd4454adc75a74b205cf9e76cb9 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>b8a8394d2da6df8e3fd708afed3156abb90e6243 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
6e844220620387f3f7d7166a9bf9c40a0e791bed authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
When no localcmd is given, it should only affect last argument(s) of
qrexec-client-vm call, not ...
This differ from main core-admin API, because Admin API do not expose
separate `create_on_disk()...
The tool and tests.
b61844ae5d20b842e3088e9a726bb2ea6485a712 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>04593b273d75fa88ade4b9f3a8d625f6ad822bc2 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Start it using XDG Autostart feature, but exclude starting in
qubes-session - so even if package...
self.default={} is mutable, so instead of modifying value derived from
that default, retrieve va...
For positional arguments default is sent to __call__ even when not
provided on command line. Exc...
It is required by qvm-start-gui tool.
47cea5d146a4f37501f68d820104d0a398fdc2ca authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>The tool and test.
bf053769bfcf77002188e0f1c971afceb50121d8 authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>This is mostly what 'qubes-monitor-layout-notify' tool did in Qubes 3.2.
8eed5088641c5a5361542af6b588327553f0762c authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>The tool and tests.
77a96b8b2156f3d902153281d926164fa2d9a1bd authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>6cbfd74631c2199b0f806ddcc7ddc4ee6b3a4a4b authored over 7 years ago by Marek Marczykowski-Górecki <[email protected]>