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

Added tests and minor correction to vm_usage helper function

Now the function returns a list of tuples, not a list of lists.

f9564ffa2bb58a901fcb93456f30cf835c3887f3 authored over 6 years ago by Marta Marczykowska-Górecka <[email protected]>
doc: add linux-stubdom feature to man qvm-features

b6c1c6e99cd200d5e6756aca60aed5a3b97f580c authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Helper function that lists where a given VM is used

A helper function to list vm's usage added to the utils.

e6427f97dc02c87535ef9647e3d728106f6c3bc4 authored over 6 years ago by Marta Marczykowska-Górecka <[email protected]>
Merge branch 'backup-logging-deadlock'

* backup-logging-deadlock:
backup: avoid deadlock on logging during restore

55c9a82c0a38e6a1b3309aba75119f821b7bed56 authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
backup: avoid deadlock on logging during restore

When both threads and processes are used, logging module can deadlock.
Workaround this by re-ini...

a7bfc03509e60f9715a154463c562b7e48b248b7 authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge branch 'windows-tools'

* windows-tools:
doc: add info what properties are inherited from template
Add 'gui-emulated...

87122e54c978d58feb79d3cf4f21660c6272a024 authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge remote-tracking branch 'qubesos/pr/71'

* qubesos/pr/71:
Deleted a duplicate man qvm-services entry

60a295a36d9faa7a5ad4de881eb7af98866cac65 authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Add 'gui-emulated' feature

Add an explicit method for forcing emulated VGA output. Previously it
was possible only by remov...

4d61407f5d5843611c108f024fa79b4009b1e00e authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
doc: add info what properties are inherited from template

860102b3006e9fa9fc4c8dfcdb5507a64f6ddcd4 authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Fixes for pylint 2.0

Ignore most of them - we still support python 2.7 here.
Fix no-else-return.

16064f6fb4929289905f8e7bfa6025d22b1b732c authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Deleted a duplicate man qvm-services entry

qubes-network entry in 'man qvm-services' was duplicated, and now it is
de-duplicated.

58820f44393f9f9fe677df55afbf2d6f687f365c authored over 6 years ago by Marta Marczykowska-Górecka <[email protected]>
app: fix error reporting when connection to qubesd fails

Properly report QubesDaemonCommunicationError, instead of confusing
IOError or FileNotFoundError

a481490d601a0c78fbd098e24407530d3a5fae15 authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
tools/qvm-start-gui: do not crash on qubesd restart

Do not crash if qubesd restart exactly the moment event handler was
called.
Event listener prope...

72a2fd646d5feb94dcd8e2d976c36dda8faf1f33 authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-start-gui: fix handlign rpc-clipboard feature

Pass -Q option to both stubdoman's gui daemon and actual VM's gui
daemon.

QubesOS/qubes-issues#...

95ce30a9e3b62cbd4975213110fb03014059aa11 authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
version 4.0.18

86a4f59fd4e253948535ce737a859eb2b7f39814 authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge remote-tracking branch 'qubesos/pr/68'

* qubesos/pr/68:
Add test of qvm_prefs for specal case "None"
Change "None" in qvm_prefs
C...

d995e2b213739b0d15e43407f1c91f545f07436a authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
tools: don't fail qvm-template-postprocess on shutdown race condition

It may happen that shutdown timeout expires at exact time that template
has stopped.

b359f9ca5eb1a891a4778c47b7fc4490d8ba664a authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Fix reporting events even if its source is not available anymore

This is especially the case for domain-shutdown event for DispVM - when
handled, DispVM can be a...

0caf6f735d65dba04ed8db048f520e6f64fd07b6 authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Add test of qvm_prefs for specal case "None"

d1455ce6c301efc3c52dfadf946d01200e50cb48 authored over 6 years ago by jimtahu <[email protected]>
Change "None" in qvm_prefs

The string "none" is now changed to '' in qvm_prefs, and
only for certain properties (eg netvm).

4156fa38a59887d53b6640cad435f37bb603b37f authored over 6 years ago by jimtahu <[email protected]>
Change "None" to Property None

This changes to accept the string none as the value None,
as if an empty string was entered. Thi...

c0373980af0a266b3990ced4168c3e2e589c4864 authored over 6 years ago by jimtahu <[email protected]>
tools/qvm-firewall: improve manpage and --help output

b2a70f3794673b8f8975b2b3d921bc8ac5d9b029 authored over 6 years ago by Peter Gerber <[email protected]>
.gitignore: add doc/_build/

771b49d8613de16bbd54951e1f10aba930b7afa8 authored over 6 years ago by Peter Gerber <[email protected]>
tools/qvm-firewall: add dst4 and dst6 as synonyms for dsthost

00fbfdd77aaa200eed5874b1f70d8ef9a24f8d05 authored over 6 years ago by Peter Gerber <[email protected]>
tools/qvm-firewall: Show EXPIRE column in list output

ed9b42d5b4138695e14ae59aa2b2b506f1c1593e authored over 6 years ago by Peter Gerber <[email protected]>
tools/qvm-firewall: make 'list' a default action

ab79bd2a4490f21a3299dfdf34527474b0ea2a7f authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
tools/qvm-firewall: add 'expire' rule support

7f790750887651944ff6a4590be23b8f7e3b790b authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
tools/qvm-firewall: Describe available rules in --help output

e69b4fb1bd6a03d29fa678b18c2edbdf07ce8f3b authored over 6 years ago by Peter Gerber <[email protected]>
version 4.0.17

50407e5d754d786ece94b16aa9224b57d3d15a28 authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
tools/qvm-template-postprocess: fix reinstall action

Do not remove template directory after reinstalling it in dom0.

Fixes QubesOS/qubes-issues#3169

c75c0176dc23dbb50dc1420c2bfe181844e4ae47 authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
tools/qvm-ls: add --kernel option for compatibility with R3.2

There was such option on Qubes 3.2, so add it here too. This is
especially useful for kernel pac...

fbd5ca41504fba7db2df64e17173f8ad91354f74 authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge remote-tracking branch 'qubesos/pr/65'

* qubesos/pr/65:
Add 'make clean' target, use it for Debian build
doc: adjust example in qvm...

f46afecfe4cfe07bad4a121bf43c3c89e0a0d4f4 authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge remote-tracking branch 'qubesos/pr/63'

* qubesos/pr/63:
spec.in: add changelog placeholder
doc: handle release definition when not ...

63d294ce92a6107c1171efb748eea29e9d6c5b09 authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
Add 'make clean' target, use it for Debian build

Since orig tarball exclude files from .gitignore, make sure make clean
remove them - otherwise d...

65f0f028f8fe67954d58d0f29b0b893b4e0d8f20 authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
doc: adjust example in qvm-pool man page

'xen' driver does not even exists.

c669e9f9f6582372b814ca1c5a2253224d94681e authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
tools/qvm-pool: add --set to modify pool properties

Fixes QubesOS/qubes-issues#3256

90df051f4f7854a29843ee6cd9c57884c8323fbb authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
tools: fix error reporing on unknown storage pool

471523167e0055b7ff76da981073bea4ffc3f228 authored over 6 years ago by Marek Marczykowski-Górecki <[email protected]>
spec.in: add changelog placeholder

9f76d0ef85e69abc21c1e33735fb341616c2a402 authored over 6 years ago by Frédéric Pierret <[email protected]>
Remove _builddir and useless condition on qubes_builder

aba6f98cd9a095d266dbfee4619f0f103a99923b authored over 6 years ago by Frédéric Pierret <[email protected]>
Create .spec.in and Source0

329aed3460ae76fde2030e5849801cb102719404 authored over 6 years ago by Frédéric Pierret <[email protected]>
doc: handle release definition when not being in a git repository

9fe403e3c72050b86072d55a77fcca34387c3b66 authored over 6 years ago by Frédéric Pierret <[email protected]>
version 4.0.16

5e6b8aac02f7c6f7b18cbd12f7a5d1c22bd67158 authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge branch 'template-postprocess-fail'

* template-postprocess-fail:
qvm-template-postprocess: do not remove VM on failed reinstall
...

efae2dfd38811bfd7079ed7ea070de5fca4f299b authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge branch 'improved-tools-messages'

* improved-tools-messages:
tools: suppress full traceback in console tools
tools: add SubPar...

a99acc68dad3d163276281a7dd57f1cbd6492718 authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-volume: refuse to shrink volume unless --force option is used

Right now Admin API backend will refuse to shrink volume anyway, but
we're planning to relax thi...

70b15c2eae66acd5896afcbc58fe8108ef0cb0bf authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
doc: update qvm-volume parameters

Use *VMNAME:VOLUME* instead of *POOL_NAME:VOLUME_ID*, because this is
the default form.

25803fd6af6173265e9ce4ccfc1ab86bf1fb782b authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
storage: make Pool.{size,usage} integers

And return None (instead of raising KeyError) when pool driver
does not provide such information.

4638a019e526eb62bf2cf155262a89939ef51dd1 authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-template-postprocess: do not remove VM on failed reinstall

If root volume import fails on template reinstall, do not remove it -
keep it alone, with old vo...

96a32bd096bcc5a5019422f47538358101904720 authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-template-postprocess: resize volume only when needed

If needs to be extended - do it before import. If needs to be reduced -
after. This way, if data...

562137c36d4f54d26f8b01915469e76a63edef0d authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-volume: add 'info' and 'config' actions

This allows to get and set volumes properties.

Fixes QubesOS/qubes-issues#3256

034e9b3a24a02f5acb8c944db9d93a38414e7ffa authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
tools: suppress full traceback in console tools

QubesException class is used with meaningful messages and should be ok
to use it directly as err...

6ca54e18a37fbd446f067d04dccc77a3ba828b3a authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
tools: add SubParsersHelpAction, which include subcommands details in --help

c70e440a6c1fbca28a8c1cf61b3fb6873fa7ab6a authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
storage: add 'rw' and 'revision_to_keep' setters

QubesOS/qubes-issues#3256

b57b101b04d4ccfec04da8d067031b189a4a908d authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
doc: fix module index generation

Result of `sphinx-apidoc qubesadmin`

b9b9eb1f3b440510af7b5fed56d895cd156fde79 authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
doc: typos

4904d2a36095b46edb5a0a538828042af2fd7a52 authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
version 4.0.15

7439353031b99d54a0456d01b9ea353d1e96541c authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
tests: add tests for various 'qvm-prefs vm pref' cases

b1237bfe1ff01f6eb8750e0745ca078768163a6e authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-template-postprocess: call fstrim after removing image file

This is especially important on LVM thin pool, where space after
removing the file needs to be g...

4a9b57f91fdf3a2b35a5cf707970d05bf9cadba7 authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
tools/qvm-prefs: fix printing None value

Don't print None value as 'None' string, but as empty one (same as at
API level). Otherwise it i...

2459b8108bb2187ee0d0569a847632fcf5170940 authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge remote-tracking branch 'qubesos/pr/56'

* qubesos/pr/56:
qvm-backup-restore: also handle absent --ignore-missing

090cccd4683142dc5b89e71e04eff6fa4765f13e authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
tools: terminate qvm-start-gui when X server is terminated

qvm-start-gui lifecycle should be bound to X server lifecycle. It should
be restarted when user ...

9bf404f7bf027c61791d0bc8340de17cae631e6d authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-backup-restore: also handle absent --ignore-missing

This was forgotten in 2d8bade.

cf063a963888b4656e627cc045180c2f227947d8 authored almost 7 years ago by Rusty Bird <[email protected]>
Merge remote-tracking branch 'qubesos/pr/54'

* qubesos/pr/54:
Add support for python34-sphinx: package is provided in Qubes repository

aea2dc079022aec091f43408c69d1cbd62d9d77b authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge remote-tracking branch 'qubesos/pr/55'

* qubesos/pr/55:
restore.py: add template-related debug log messages
restory.py: restore tem...

fceb7ff7c0b9d1ee50697c22c847a1ae9381f5b8 authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
doc: add 'pci-e820-host' feature description

70ac72b57917de15e2288c89be114290d5001ecc authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
restory.py: restore template_for_dispvms property early

ab65338cfbb04289fdeb5a13c277a4f4420c7401 authored almost 7 years ago by Rusty Bird <[email protected]>
restore.py: sort into three tiers in _templates_first()

68c8b7fafcfdee50aa9b18b479e2cabffa2ba61d authored almost 7 years ago by Rusty Bird <[email protected]>
restore.py: deal with DispVM templates

2ace32bb73ca63898e076aa6d26c478dc50a909b authored almost 7 years ago by Rusty Bird <[email protected]>
restore.py: factor out _restore_property() helper

c86b731d3e2315f69714f1181992a1eeee5d559f authored almost 7 years ago by Rusty Bird <[email protected]>
restore.py: add template-related debug log messages

0171269138c73c16fa13201018e23c392c74a50c authored almost 7 years ago by Rusty Bird <[email protected]>
restore.py: don't try to restore dispid property

01ce5387d3b1fa64af9bc29149a2d620f9acc182 authored almost 7 years ago by Rusty Bird <[email protected]>
qvm-backup: let backup core handle default VM selection

This takes the include_in_backups property into account, and does not
omit dom0.

78571898da829b4cdb020c1b1ffca4fc33f4a79b authored almost 7 years ago by Rusty Bird <[email protected]>
qvm-backup-restore: really pass options

2d8bade8b29d03b02ccb0368092b1e946663aab6 authored almost 7 years ago by Rusty Bird <[email protected]>
qvm-backup-restore: remove orphaned --replace-template option

a0d63275329683e7a9464717e8f34de398d48525 authored almost 7 years ago by Rusty Bird <[email protected]>
Add support for python34-sphinx: package is provided in Qubes repository

3b8fec933ade8c26cbdcce5e3ac062e25ad57978 authored almost 7 years ago by Frédéric Pierret <[email protected]>
version 4.0.14

26a96fd034d9ec65b6ef09bc0ba34368c9c20bcb authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge remote-tracking branch 'qubesos/pr/53'

* qubesos/pr/53:
template-postprocess: fast path for file-reflink, like file

5a4577417f5fd773f4021e8e63655ec069134e95 authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge remote-tracking branch 'qubesos/pr/52'

* qubesos/pr/52:
backup: don't crash when no 'qubes' group is present
tests: dom0 backup res...

d07475427fb2741e1caae5498a526582bea152cf authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
backup: add support for openssl 1.1.0 options

The command for listing available algorithms have changed:
old: openssl list-message-digest-algo...

a8210346537f69ce2ce1a77e37b7665ffadfef95 authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
backup: don't crash when no 'qubes' group is present

This is specifically the case on Travis-CI. But since dom0 backup is
restored into separate dire...

56dc984507dbbfbfca46d2ce72cf3e82d3b93aac authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
tests: dom0 backup restore, both v3 and v4

QubesOS/qubes-issues#3467

060171f19f428368438a0292830573e62823eb70 authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
backup: skip dom0's properties while restoring core2 backup

Fixes QubesOS/qubes-issues#3467

04635e7e80303f7d724baa5e3bb11c2b5cf82706 authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
vm: restore force_shutdown->kill deprecated alias

Apparently there are still users of this function - qubes manager.

24cfb4a581106d90f0ab5225a528e636d1777a4d authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
template-postprocess: fast path for file-reflink, like file

I don't know if any template currently hits this code path, even the
fedora-26-minimal root.img ...

e6466c3783b985f7ee6d6aef57936f9b780559bf authored almost 7 years ago by Rusty Bird <[email protected]>
unused variable

e81c2f3cf6c72fa6e65aa8f551478f22730413b5 authored almost 7 years ago by Christopher Laprise <[email protected]>
style issues

e3d12fb96df5b93bda289d8ceb6f2e726cf1f033 authored almost 7 years ago by Christopher Laprise <[email protected]>
Fix dom0 restore

30dd7acaa9deb0734f7c6b0a2bf9ff450702b94f authored almost 7 years ago by Christopher Laprise <[email protected]>
Fix dom0 handling

60bfd63a255afbb3458355ea4e2d8859b73bf010 authored almost 7 years ago by Christopher Laprise <[email protected]>
Fix AdminVm class name

4b46d5917903888d0f2cc8f92b0b46cb689a9d09 authored almost 7 years ago by Christopher Laprise <[email protected]>
version 4.0.13

7f286766d06eed0a15c6871bb115db3c1202cf18 authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
backup/restore: do not shrink volumes on restore

This operation is blocked in current storage pool implementations.

2861d46dfaf35497056f4957bac452768d28ce31 authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
storage: add size and usage properties

It's already available in config dict, but lets provide uniform API. And
also it's a bit weird t...

7211c7daff4538be4da87899fea1f0ce17d1c67b authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge remote-tracking branch 'qubesos/pr/51'

* qubesos/pr/51:
qvm-run: wait for X11 in --dispvm --gui case
vm/DispVM: use 'qrexec_timeout...

3d4f62651511f02f4265c8fa1a016030e7d1aebb authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge remote-tracking branch 'qubesos/pr/50'

* qubesos/pr/50:
Add property_get_default method

4a28c560d9313f12bffeac45a2956291be475b96 authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-run: wait for X11 in --dispvm --gui case

'qvm-run --dispvm' cannot easily make a separate qubes.WaitForSession
call. Instead, if --gui is...

c83deccdd39005e64666f08040f83f3f2a178720 authored almost 7 years ago by Rusty Bird <[email protected]>
vm/DispVM: use 'qrexec_timeout' also for call connection timeout

When calling a service in DispVM, the connection is established only
after session is ready (if ...

c98b33bcd684b41db222c992fecd4587891e4cee authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
Add property_get_default method

It is useful to get property default value, without changing it to
default. For example to list ...

ce0d2308668e1e8fc264863aa6350eacbec79ce8 authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
tools/qvm-ls: clarify that disk usage is in percents

8584ca4057dc90c9764d75142f3bc995f5b6d723 authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
base: make WrapperObjectsCollection behave like a dict

In core-admin matching collections are real dicts, so clone this API
behaviour here too. Specifi...

04f8d85819ec307d20a26ad743cdbb4e13a55269 authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>
rpm,deb: add missing python lxml dependency

Dom0 have this package installed anyway, but it is missing in VM.

215540e3b3c12b78670cc4cf166812074e385d01 authored almost 7 years ago by Marek Marczykowski-Górecki <[email protected]>