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

version 4.1.15

fedc63bdec67ff952c2f0019d5131a4f86d076d0 authored about 3 years ago by Marek Marczykowski-Górecki <[email protected]>
storage: add Volume.ephemeral property

QubesOS/qubes-issues#904

4b9fe24d0a75ff591e68a7e82384d0456a31815d authored about 3 years ago by Marek Marczykowski-Górecki <[email protected]>
tools/qvm-volume: improve formatting

- use double quotes for docstrings
- adjust empty lines line breaks

dfc909bef499339a8ab79594794a993be465bc95 authored about 3 years ago by Marek Marczykowski-Górecki <[email protected]>
storage: fix formatting

- use double quotes for docstrings
- fix line breaks and empty lines

No functional change

49f71dbb11b2518c988f92cc6ae5a962f9239b08 authored about 3 years ago by Marek Marczykowski-Górecki <[email protected]>
Fix fallout from qvm-appmenus --force-root

qvm-appmenus now refuses to run as root by default, for a good reason.
Run it as a normal user w...

5cb6f0fb0906ea187ff03c3b6f8269c361b98eef authored about 3 years ago by Marek Marczykowski-Górecki <[email protected]>
version 4.1.14

ab94319603034fa6eed8ed469ebe2b7cf747c2f2 authored about 3 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge remote-tracking branch 'origin/pr/182'

* origin/pr/182:
Better error reporting on backup errors

af395612f2d5503ecf5e92609052a4115379968a authored about 3 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge remote-tracking branch 'origin/pr/185'

* origin/pr/185:
qvm-create.1: more detailed --root-copy-from description
qvm-create.1: impr...

b2befc2530d1df3973adaaa1884f12d8de03ea31 authored about 3 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge remote-tracking branch 'origin/pr/184'

* origin/pr/184:
Clarify 'internal' feature usage

9afb3ad4316e85194a6377701361cf22c34b2748 authored about 3 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge branch 'devel20210830'

8f07e756667b2a370c19d4d14835c2fc58736afa authored about 3 years ago by Marek Marczykowski-Górecki <[email protected]>
Do not interrupt the whole dispatcher if a single handler fails

Catch exceptions from event handlers (and log them), instead of
interrupting the whole event dis...

ecf9723e1ebe579ea842aee38c6fd6881d9f7723 authored about 3 years ago by Marek Marczykowski-Górecki <[email protected]>
Add EventsDispatcher.stop()

Avoid using exceptions to interrupt the dispatcher

f7ebf96bac5a4f29c84cb62bc2b3588cde3838df authored about 3 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-create.1: more detailed --root-copy-from description

Signed-off-by: Yann Dirson <[email protected]>

1a8913aaa146420cddb15b2f6a133833dcf779fb authored over 3 years ago by Yann Dirson <[email protected]>
qvm-create.1: improve --root-move-from description

Describe by its difference from --root-copy-from, and be clear about
what the difference is.

Si...

764ca71c75959589c0de0d3ac0ff92ed02b81c01 authored over 3 years ago by Yann Dirson <[email protected]>
Better error reporting on backup errors

qvm-backup-restore will now show output from the rpc command
if backup restore fails at the very...

d78365e7019b86f0a32fc388b470968458a17432 authored over 3 years ago by Marta Marczykowska-Górecka <[email protected]>
Clarify 'internal' feature usage

Or, to be exact, discourage its use.

fixes QubesOS/qubes-issues#6604

7b4ef75ec3ebeb2a581425a8a3b7070be55255c5 authored over 3 years ago by Marta Marczykowska-Górecka <[email protected]>
Merge remote-tracking branch 'origin/pr/183'

* origin/pr/183:
Make --force-root parameter optionally visible again

baf503790d29853119d6aa771a3cfc1bdc760824 authored over 3 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge remote-tracking branch 'origin/pr/181'

* origin/pr/181:
Improve TestVM and TestVMCollection capabilities
Fix too-narrow exception c...

f24b18daaac1496b35cc75841e1d935fadbce45a authored over 3 years ago by Marek Marczykowski-Górecki <[email protected]>
Make --force-root parameter optionally visible again

While tools in this repo don't need it anymore, it still applies to
qvm-appmenus

QubesOS/qubes-...

6c77cc48d6e0c9e839ba230289308350047b3303 authored over 3 years ago by Marek Marczykowski-Górecki <[email protected]>
Improve TestVM and TestVMCollection capabilities

Added an is_network method to TestVM and get_blind
to TestVMCollection.

4b865eda64f0a3a9f6cba0f9aaa6f82915c52680 authored over 3 years ago by Marta Marczykowska-Górecka <[email protected]>
Fix too-narrow exception caught in qvm_shutdown

Instead of QubesVMNotStartedError, QubesVMNotRunningError
(which is a subclass) was being caught...

3f8200ec08050d1747182d09c9cbf690c7135844 authored over 3 years ago by Marta Marczykowska-Górecka <[email protected]>
Merge remote-tracking branch 'origin/pr/178'

* origin/pr/178:
Add Qubes.domains.get() method

c4d2b8f1d4fe71ace3d3016e7be37b4575f758d3 authored over 3 years ago by Marek Marczykowski-Górecki <[email protected]>
version 4.1.13

f186f7a64fe1f1f0f0187f8913d8c49970e161b8 authored over 3 years ago by Marek Marczykowski-Górecki <[email protected]>
app: fix pool-preserving VM clone mode used by GUI

Contrary to the old comment, this section deals with adjusting the new
volumes' pool field - whi...

75d965053b47ec79a2727fd896b4af0b66358498 authored over 3 years ago by Rusty Bird <[email protected]>
Add Qubes.domains.get() method

Make it more similar to a normal dict.

0a00c45ceb40fb66be99b93febe49c92f0af7f79 authored over 3 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge remote-tracking branch 'origin/pr/174'

* origin/pr/174:
Do not crash on unexpected output from xrandr

d0be4ee47e900ed79526feba2eb4d6f2df4c131b authored over 3 years ago by Marek Marczykowski-Górecki <[email protected]>
Do not crash on unexpected output from xrandr

If xrandr prints something unexpected, it is better to ignore the
unexpected output than to cras...

9594cb3ce8dca568147092368dbdd05310fb3626 authored over 3 years ago by Demi Marie Obenour <[email protected]>
Merge remote-tracking branch 'origin/pr/175'

* origin/pr/175:
Use fcntl locking for the PID file

8a8db63bc000462ec65ae40b73d8b118471d10b5 authored over 3 years ago by Marek Marczykowski-Górecki <[email protected]>
Use fcntl locking for the PID file

This handles the case where qvm-start-daemon gets killed and leaves a
stale PID file. Previousl...

26e8a461ac6e71432b6750006f37e5edce95b0b7 authored over 3 years ago by Demi Marie Obenour <[email protected]>
Rip out @asyncio.coroutine

It is deprecated and will be removed in Python 3.10.

ddcc29156c5083e61b2c1c976dbc953d5793540d authored over 3 years ago by Demi Marie Obenour <[email protected]>
Convert tests to use stdlib's AsyncMock()

asynctest doesn't work with Python 3.8+, but AsyncMock() and few other
parts are available in th...

1a2ce723c474935c8e8960315012db3603a62d0f authored over 3 years ago by Marek Marczykowski-Górecki <[email protected]>
manpages: be more precise on guivm services

From @marmarek's suggestions

fce4685d04a2eb914dd38e177916e0ff5197b3ac authored over 3 years ago by Frédéric Pierret (fepitre) <[email protected]>
doc: point complete author list to git repo

be334f99b782d52389a78d5102b8f52761fd4d6e authored over 3 years ago by Frédéric Pierret (fepitre) <[email protected]>
doc: add set-created-guivm features and guivm related services

6636d2f5d361680ade2a1aa932a4884f76cc7464 authored over 3 years ago by Frédéric Pierret (fepitre) <[email protected]>
version 4.1.12

30ab52dfd8cd735ac4b25a205df4e7159ae2e120 authored over 3 years ago by Marek Marczykowski-Górecki <[email protected]>
Uniformly handle QubesVMNotFoundError when accessing a property

If domain was just removed, it the qrexec call may result in a
QubesVMNotFoundError exception. I...

5cf08b5b03502c5d28375c29fc6c62f0cc8ec9cc authored over 3 years ago by Marek Marczykowski-Górecki <[email protected]>
Fix gui-daemon cleanup

The cleanup requires XID of the domain, but when it's shut off already,
it's too late to retriev...

638dbf6143b42cb8f7277fbef8b44f7b6753ab39 authored over 3 years ago by Marek Marczykowski-Górecki <[email protected]>
Guard qvm-start-daemon with generic 'guivm' or 'audiovm' services

Not a flavor-specific one (guivm-gui-agent).

QubesOS/qubes-issues#4186

8be74249df342c78cb0226dfd3733f64911a0d36 authored over 3 years ago by Marek Marczykowski-Górecki <[email protected]>
version 4.1.11

416532ba42bc7dda470de9dec3b94d0670f4fa6a authored over 3 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge remote-tracking branch 'origin/pr/168'

* origin/pr/168:
qvm-ls & qvm-device: Handle removal of VM during on_shutdown.

c5da14e42ba27147965fd704ce22ae8032f571b5 authored over 3 years ago by Marek Marczykowski-Górecki <[email protected]>
spec: add BR make

dea6f440bfdf9dcf6fbed1038ffaa1dd04423c36 authored over 3 years ago by Frédéric Pierret (fepitre) <[email protected]>
qvm-ls & qvm-device: Handle removal of VM during on_shutdown.

Fixes QubesOS/qubes-issues#5105

7c977f98a5a30c35c68a312aabda2422ca34b0c8 authored over 3 years ago by 3hhh <[email protected]>
doc: update default values on qvm-template man page

1471a569dcf1102c7dd7a1577b7e8b7fa0c32639 authored over 3 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-template: fix installing already cached templates

And also enhance tests to verify download() function return value.

6c376d68c4a661e4f53c87768d529216ab24d63e authored over 3 years ago by Marek Marczykowski-Górecki <[email protected]>
Merge remote-tracking branch 'origin/pr/145'

* origin/pr/145: (119 commits)
qvm-template: fix downloading template for install
tests: add...

7978e17aeb4f933527e68ab3e0339011c6d008b6 authored over 3 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-template: fix downloading template for install

Donwload a template into a cache dir, not into default of `qvm-template
download` (current direc...

9020f2e1fd0f26e2c19ada0beb9f33219e0a0283 authored over 3 years ago by Marek Marczykowski-Górecki <[email protected]>
tests: add tests for other qvm-template functions

d1ce8d3a95d13942205b3f910323808e74b8aca3 authored almost 4 years ago by WillyPillow <[email protected]>
tests: improve TestProcess behavior

- Have it actually write to the given stdout handle.
- Return the return code for `poll` instead...

64e9c240542062d350acc05d22e35bc184f5afce authored almost 4 years ago by WillyPillow <[email protected]>
Merge remote-tracking branch 'origin/pr/166'

* origin/pr/166:
qvm-backup: dom0 dst relative to cwd of tool, not qubesd

0d2877bd9c5cafae39ee1746c23b94e468bad738 authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
tests: add tests for qvm-template reinstall/up/downgrade when nothing needs to be done

4083b74284236399b4b63510ca921b1d9e0b1823 authored almost 4 years ago by WillyPillow <[email protected]>
tests: fix mock return values of get_dl_list when testing `qvm-template reinstall`

a9d03d199b6bbc7627adcf85911f66e6350e2143 authored almost 4 years ago by WillyPillow <[email protected]>
qvm-template: update comments to reflect e424c7d

fc520f8ed4440e62eb92b449500f7a7ada3ef75e authored almost 4 years ago by WillyPillow <[email protected]>
qvm-template: only ask for confirmation during install if something is being done

dedf5ac6e6232cfa68b07e0139a019b265c8eb2c authored almost 4 years ago by WillyPillow <[email protected]>
tests: add more tests re. install, remove, and get_keys_for_repos

764a56ade1785906819150076d50ad45c3d0f8be authored almost 4 years ago by WillyPillow <[email protected]>
qvm-template: test != 1 instead of == 0 for template-dummy feature

60f5ba0e23828e8455c07c2746671a30a562a578 authored almost 4 years ago by WillyPillow <[email protected]>
tests: fix tests for verify_rpm involving incorrect template names

33d205c1dd4ded82e83b1439a6e5a43be3ba8604 authored almost 4 years ago by WillyPillow <[email protected]>
tests: add tests for qvm-template remove

ed3e368673b2d001bc0b59fd8c12f7f473647c37 authored almost 4 years ago by WillyPillow <[email protected]>
tests: some more for qvm-template

QubesOS/qubes-issues#

e00f35b9c31356bb40078bc0b27b7fed33d17c1c authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-template: mute pylint complains about typing.NamedTuple

This is false positive, PyCQA/pylint#3732

f4e826e65dc7de8a2b40fbae1201dbb4c08f8c5c authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
gitlab-ci: fix codecov call

2c1e7927f6d429297095f961c7bd8fcedb7711c3 authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-template-postprocess: fix allowed features list

Add missing coma, otherwise 'gui-emulated' and 'qrexec' were glued
together.

2c5572b3d9253c1ba4a0fcc6ff80420d888fa5f0 authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
tests: qvm-template-postprocess - template.conf handling

b86408a36d9c57df65705d21ed646f446ad21fee authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-template-postprocess: extract config handling into separate function

Keep post_install() short.

c4efdf41c54115e7d5d8480aac17fe2c9d9c2549 authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-template-postprocess: treat missing appmenus files as warnings only

Do not fail if *-whitelisted-appmenus.list files are not included in the
template package, only ...

bcf59579f16273e17a6c318d1db28b7e5c210525 authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-template: default confirm to 'n'

Capital 'N' in the prompt suggests it is the default - really make it
the default.

e6360da22e347181a706ff5026f98b86f840dbb1 authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-template: verify template package signature directly at download

Make the download() function save the package into a temporary space and
move to the target loca...

e424c7df9c402d8a730052efe7805d84a0becb77 authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-template: improve error reporting

Do not print the whole traceback by default - do that only when
--verbose is used.

ce36dc55c590cc59a6e93513ca6fffd97568ab4e authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-template: factor filter_version() out of get_dl_list()

This allows reusing version filtering (getting only a single version per
template) in other plac...

86326b53c4a5415d26a9bf95b8dfe8a2f1d9bad8 authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-template: allow global arguments after action name

It's convenient to use for example
`qvm-template list --enablerepo=*-testing`
Previously, _some_...

10bea1b77e15429120f726aa1ca384d1439254ae authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-template-postprocess: do not generate appmenus twice

Skip initial generate, as it's done before actual menu entries are
extracted from the template. ...

8795668233faad672cd7b12f6313ad7f20b8d02c authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-template: by default list only latest available template

But add --all-versions option to get all the available versions.

4f9757ca88633671fd328d582c516e0f99747bb2 authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-template: use key specified in the repo definition if possible

This makes the package verified against _only_ the key specified in the
repo config, not all the...

b7446afe3baaf1093a229ecdcef56df7cc305476 authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-template: use QubesArgumentParser

It produces consistent help for subcommands and already handles
--verbose/--quiet.

e0063d880844f555309703147721705cccfc3e63 authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
Store template repo configuration in /etc

This way it's easier to permanently enable repos.

6980e7ba14981496c66fb520bf330f7f6f348721 authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-template-preprocess: remove confusing message

Don't confuse user during normal template install.

ed6aff3b1e1ada20c2a22c2e62033f3b1e09061e authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-template: cleanup install function

Remove now unused try/finally in install() and reduce indentation.

No functional change.

fe369ce523bffa82b245ee8c9529a95c94e5cab5 authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-template-postprocess: improve data validation

- validate if IP has correct syntax
- print warning if value is invalid

QubesOS/qubes-issues#2534

febf014d147a67837d35984bb540997b5d951bed authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-template: remove downloaded package after installation

At least by default. Otherwise they will pile up in the cache dir.

f053f51644c06f200009c365281fdb07b852e5f4 authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
deb,rpm: depend on qubes-repo-templates

For package repos definitions + keys.

b2e4d0ee34fe9a89e44dd8e1f565d41c597e304b authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-template: improve install lock

Use fcntl.flock() instead of just file existence check, so it won't fail
on a stale lock file. W...

f1424812b0b4df7d3c89b2430e6407d36f5a9797 authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-template: minor improvements

- rename parser_gen to get_parser - for consistency with other tools
- clarify 'storage pool'
- ...

940124948a848b46873ac68799c8fcbf7bb0d54b authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-template: call rpmkeys --checksig for signature verification

RPM API is confusing and it's easy to get it wrong when verifying
package signatures.
Call 'rpmk...

f3f6750a3ff8b114b2a598dc7b76354b1daa1b76 authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-template: handle template extraction failure

QubesOS/qubes-issues#2534

aeeb3daa809f6a0c1325dc31e6f09a17546e9558 authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-template: download templates to a temporary directory

Avoid risk of conflicting downloads to the same directory, reusing
partial downloads, leaving br...

f3954fb225fdda96d619f83e8f3321a840c4ef4a authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-template: add copyright header

8aede943cca9c3de866687d6659b0902d284d1d5 authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-template: use UpdateVM by default

Do not hardcode sys-firewall

b500462abbe4f8818a176e8cce555907006333dd authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
qvm-backup: dom0 dst relative to cwd of tool, not qubesd

e78512b4b11d77fe80bec3185abb0b3fe6d82610 authored almost 4 years ago by Rusty Bird <[email protected]>
tests: restoring a backup bigger than available space in /var/tmp

This test uses three tricks to test /var/tmp space monitoring:
1. Creates a big uncompressed bac...

0f42fd0580eadf6041fca30d19dfab2b8ada37a1 authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
tests: fix preparing multi-part disk volume

Storing encrypted filename into f_name shadowed unencrypted source file
name.

af13c198be0780c4a14d42ed6f34d8ad5a31ab5e authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
backup: throttle backup extracting if there is not enough disk space

Instead of failing the restore process, pause data extracting, until
already extracted data gets...

93608658a9cb6b75fd73168f4fefcc909eb41b09 authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
backup: check if there is enough disk space available to restore

Avoid failing restore after potentially lengthy processing - check
available space first.

This ...

10d4381c14c13a81fd23879310bf6a423723d207 authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
backup: cleanup retrieve_proc on failure

16ff6d0552eb704ee44d52efa0b0b6f514b42953 authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
backup: add function parameter for override temp directory

This will be useful for tests.

QubesOS/qubes-issues#

d906fbc4bb4ccfc6d1ac32fe600bcae34d548737 authored almost 4 years ago by Marek Marczykowski-Górecki <[email protected]>
tests: avoid 'xrandr' call

Don't rely on tool existence, nor on a specific monitor layout in test
env.

25a6a305c8602c0f02bca879472cec47c94524d3 authored about 4 years ago by Marek Marczykowski-Górecki <[email protected]>
gitlab-ci: adjust custom job

- split into two
- add codecov

2266e432bfbaba520c65e79335e4c23a0ce05af6 authored about 4 years ago by Marek Marczykowski-Górecki <[email protected]>
Add .gitlab-ci.yml

e2de2bc0c490df34bde868364d9144cc74fca0f5 authored about 4 years ago by Frédéric Pierret (fepitre) <[email protected]>
tools/qvm-run: do not check if DispVM is paused before starting it

DispVM is created on start, so it can't be paused - it doesn't exist
yet.

Fixes: 4a6b5db "qvm-r...

6f39533a65cce78cdf83477ff04cf6d705309828 authored about 4 years ago by Marek Marczykowski-Górecki <[email protected]>
version 4.1.10

a57396d4624e76e22ce98491b2286d1cc2815841 authored about 4 years ago by Marek Marczykowski-Górecki <[email protected]>
Better error reporting in qvm_start

When user provides incorrect image name/path, the tool
will now inform what's wrong.

fa396a6da9d3b5cd51c3ba746a0c1a26185b2959 authored about 4 years ago by Marta Marczykowska-Górecka <[email protected]>
qvm-template: Add tests for download function and fix minor bugs

1671b4216fe61e46dc0022a0a147c76fbdfd9d51 authored about 4 years ago by WillyPillow <[email protected]>