Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/QubesOS/qubes-core-admin

Qubes component: core-admin
https://github.com/QubesOS/qubes-core-admin

qubesd-query: Support reading a single line

Useful for e.g. admin.vm.volume.Import.

efe74f16fc7f17b29654facc3bc13baf67d0300e authored about 2 years ago
Use bash's read to parse qubesd response

This is faster and less error-prone than relying on external programs.

56638f0c9598f844e1207138ff3c3e525169efb2 authored about 2 years ago
admin.vm.volume.Import: fail if error happens

This reduces the chance of an unexpected situation being ignored.

a896e24a4d007c7ca4c27a6beb094d7df4b30f71 authored about 2 years ago
Quote temporary file name being deleted

This should not change behavior, but one cannot be too careful with
arguments to rm(1).

124425c204e20cdf857edcdc237111122c725cc0 authored about 2 years ago
admin.vm.volume.Import: Limit bytes read into bash variable

stdin is not trusted. Only read 22 bytes of it into the requested_size
variable, and error out ...

c10ce5b265d78fbc3b79e8e0627646f191fde84f authored about 2 years ago
Add -- after shebang

Theoretical issue only

d17f8bc831374f6b90c638845e0e382c87a646f1 authored about 2 years ago
Merge remote-tracking branch 'origin/pr/501'

* origin/pr/501:
Improve yaml formatting in qubes-hcl-report
Include actual TPM version dete...

24a7a97cde79efe7bc2326787a47de84884efe5d authored about 2 years ago
Improve yaml formatting in qubes-hcl-report

810edc8ffefd94b70d633ad1eca6e0681362581f authored about 2 years ago
tests: add gnome-text-editor to supported editors

699a9cb3aa9a5e4892fd0f45e2f31d3a0b2fa603 authored about 2 years ago
Merge remote-tracking branch 'origin/pr/502'

* origin/pr/502:
Replace ImageMagick with GraphicsMagick

3ab061e2f429b2d415238285903d79f7d37b97e7 authored about 2 years ago
tests/backup: compare property value only if non-default

Default property value may intentionally differ - for example if
template is different. Compare ...

804aa5a587227ce882c82ca4ff3f2be408bb7ab3 authored about 2 years ago
pylint fix

2646065570535af592e845b9b7a616a7e5ae8087 authored about 2 years ago
tests: clone properties too when cloning a template

This is especially relevant if extra kernel options are necessary - for
example for SELinux, oth...

a769de1be85fc1e661a2d479804478ecec91fe7f authored about 2 years ago
Merge remote-tracking branch 'origin/pr/473'

* origin/pr/473:
Add timeout to all suspend-related qrexec calls
Collect exceptions during s...

388a88543cf91eff1a700c9e31deaf450dca3e1c authored about 2 years ago
Merge remote-tracking branch 'origin/pr/487'

* origin/pr/487:
comment out `/etc/qubes-rpc/policy/qubes.UpdatesProxy`

4a6222866c7720e916497e2250cd2ad835cba4a1 authored about 2 years ago
Merge remote-tracking branch 'origin/pr/491'

* origin/pr/491:
Raise VM limit from 254 to 10000
net: avoid assigning .0 and .255 IPs for h...

2f7dfab25e04841fcb3095c129b7e12096fab1df authored about 2 years ago
Replace ImageMagick with GraphicsMagick

https://github.com/QubesOS/qubes-issues/issues/5009

66ae1d6707c4cd447d7fbcb753eb5ae65532087c authored about 2 years ago
Merge remote-tracking branch 'origin/pr/463'

* origin/pr/463:
Refuse to delete an entire volume group

93f269e41f601f30775ceccac88d6078dbefbab7 authored about 2 years ago
Merge remote-tracking branch 'origin/pr/496'

* origin/pr/496:
Use fsync and nocreat during import

6e939bc95eead3edeb37b5aa0eb8eff36b78c177 authored about 2 years ago
Merge remote-tracking branch 'origin/pr/499'

* origin/pr/499:
typo fix in a comment
tests: verify if update.qubes-vm works

13a2e4980be146369df9b9622eb0e5188a7a207a authored about 2 years ago
Include actual TPM version detection in qubes-hcl-report

31824b4581e6687d6e4b94657ca259939851e067 authored about 2 years ago
Add TPM info to yaml hcl report

8ef620213789d492eed681aa672cb4e88bc68289 authored about 2 years ago
Add document start and remove extraneous newline in qubes-hcl-report

91f222310389084ba1962a67f45dccd03e4a24db authored about 2 years ago
Make yaml output of qubes-hcl-report simpler

There was a strange one-element list that was just a
dict embedded in a list. Replaced it with a...

e5e7ec40002ed52c26937de51b46575d46201d0f authored about 2 years ago
Make sure the yaml output of qubes-hcl-report is yaml

That is, make sure there are no other random characters,
and that it is actually a single yaml d...

dc09366283488229e2039d47a35f25cf4545cfa4 authored about 2 years ago
Add nicer qubes release version to qubes-hcl-report

fb4d6515435bc5e8b9e80dd8189e5ae4649b61d3 authored about 2 years ago
Add a --yaml-only option to hcl report

Cause: need to improve machine-readability
Also minor refactoring of the script to make it
less ...

715c07e1750074fc819d92ebdcd72de3dcb82766 authored about 2 years ago
Merge remote-tracking branch 'origin/pr/492'

* origin/pr/492:
Add tests for bad service names
Validate service names

2c0fbdd697001c54c30f88593be011554b817413 authored about 2 years ago
Merge remote-tracking branch 'origin/pr/442'

* origin/pr/442:
Better error message when 'date' or 'hwclock' fail
Use a context manager to...

f189d099ce3a07fead5bbc3bee9f87393647bb0a authored about 2 years ago
Merge remote-tracking branch 'origin/pr/494'

* origin/pr/494:
tests/integ/backupcompatibility: hardcode MD5 algo for format v3

60839296c048fa29604d79dd3a058b83498ae928 authored about 2 years ago
Merge remote-tracking branch 'origin/pr/498'

* origin/pr/498:
Avoid using xxd

fc2bd4b94e53cb44a1d282a4f99f0d2b70b697e8 authored about 2 years ago
tests: add tests for last-update feature

f6e493de080bbe2d948e375c581f6a1e503de465 authored about 2 years ago
tests: take into account new features

take into account in misc tests last-update and last-updates-check features
add Actual and Expec...

6d8d39a0920598c01914f7828a1871314e9ee5d8 authored about 2 years ago
add last-update and last-updates-check features

2c874550e866dc947792aba62affa3da76ca41ee authored about 2 years ago
typo fix in a comment

1a385d67c228385876cff8e0a24d2ac8261c1f2c authored about 2 years ago
tests: verify if update.qubes-vm works

This salt state is (currently) rather important for qubes to work, so
besides basic salt tests, ...

79e3ddb3211f41c35c1e3de8f61c43c998830b9f authored about 2 years ago
Avoid using xxd

xxd is part of vim-common packages, which isn't mandatory. Use hexdump
instead, which is part of...

225ec69885413f1378b76ae689d6758ba147408d authored about 2 years ago
version 4.2.0

921cc8ef60f6d45ed980b056b6cfe67909ce15f4 authored about 2 years ago
tests: add more convenient wait-on-fail feature

Instead of requiring manually decorating test method, do that
automatically when QUBES_TEST_WAIT...

914b8b7f6a9ed7c484018f129ff4c40cb94ee9b3 authored about 2 years ago
tests: improve cleanup

Unset also 'management_dispvm' property as part of breaking dependency
loops.

05d67f762c4f3dd97af6f5a5b4a58a3ec322c248 authored about 2 years ago
tests/salt: workaround warning reported by Salt

Workaround for https://github.com/saltstack/salt/issues/60476
It prints warning to stdout(?!). T...

d17b669c19aa223eb48526536fc8c0129055ed2a authored about 2 years ago
tests: update comment

Default test env is now a copy of the host env.

6c036507e73ead57d53ca620451d3a7f04890349 authored about 2 years ago
Use fsync and nocreat during import

It is critical that dd properly flush data to disk, so that imported
data will not be lost in th...

87f98660ab6f9ed63cf6fa2addb5c1688310bec1 authored over 2 years ago
tests/integ/backupcompatibility: hardcode MD5 algo for format v3

QubesOS/qubes-issues#7852

fdbf1d792795b5914f2e0089451f685f990b55b1 authored over 2 years ago
Add timeout to all suspend-related qrexec calls

For now, lets use static value of 60s. In the future it may become
configuratble.

bbf6eca7a3aa7a2bf9f608fa1e612e7fa9eda5c4 authored over 2 years ago
utils: add sanitize_stderr_for_log

2b0da0e468fd300fa1a54e00860b101c11c0416a authored over 2 years ago
Collect exceptions during suspend

asyncio.wait() did wait for all calls to complete, but didn't gathered
exceptions - which result...

21aa678c26602ba09f77b692589eba657d538c01 authored over 2 years ago
qubesvm: do not prevent suspend if qubes.SuspendPre fails

The service is called to allow VM to prepare for suspend, but it's just
a notification - if the ...

b63d487ec9ba044d49c8c306d6a5ec0e0fbae171 authored over 2 years ago
Add tests for bad service names

This will prevent future regressions.

d04c5bf5d4c52cd658b77d234e65a42b8a7c0434 authored over 2 years ago
tests/salt: improve error logging on JSON decoding error

QubesOS/qubes-issues#7834

864acef1e62c03e26878f6bf78937e3982035d26 authored over 2 years ago
Validate service names

Service names are converted to paths in VMs, so make sure they start
with a letter. This (impli...

a3aea50671fe7b8263cd8a55cf9a8584d9887ad3 authored over 2 years ago
Fallback to pause if VM's OS doesn't support proper suspend

This applies to Mirage OS for example.

https://github.com/QubesOS/qubes-core-admin/pull/473#iss...

fcb185eaf254f43869077f1c2aed6b0238488dc6 authored over 2 years ago
Refuse to delete an entire volume group

LVM will happily delete the entire contents of a volume group if the
command line requests it, e...

e14956add062cbc68560843350fcab9e5506eca6 authored over 2 years ago
Merge branch 'salt-tests'

* salt-tests:
tests/salt: make sure to use correct dispvm for test
tests: salt function call...

c177aacbe1afc35034826ef538c0e49ed40b6bc7 authored over 2 years ago
Raise VM limit from 254 to 10000

Make max QID equal to max DispID.
Technically QID could be up to 64770 (because of how IP addres...

f65ab1f5fd9977cae657441ea0b78677e8593ab7 authored over 2 years ago
net: avoid assigning .0 and .255 IPs for higher VM ID

Those occasionally cause issues if OS within a VM (especially without
qubes tools installed) ass...

39ea3b389a45f6c433b6102b61191583ac381425 authored over 2 years ago
tests/salt: make sure to use correct dispvm for test

default_dispvm is default management_dispvm, but the test system can
have non-default set, so se...

bef1cbe24aebbb177035cf213f4c988f554b7c92 authored over 2 years ago
tests: salt function call and grains in jinja template

Regression test for saltstack/salt#62636 and saltstack/salt#61083

b3cb19512e4b186c06bdca612b06a57273e3ff7e authored over 2 years ago
Add test for correct event firing when vm icon changes

32f68db8f6573764059b6882ec17f9e65201d0cf authored over 2 years ago
Fix firewall test

Planned date in the future stopped being in the future.
Replaced it with dynamically calculated ...

646279d062a0854a001427ce305bf125148b9cdd authored over 2 years ago
Fire reset icon event when being a template for dispvms is changed

fixes QubesOS/qubes-issues#7646

d04278ab6d63ef8e632b255fe4da9604fdeac34e authored over 2 years ago
comment out `/etc/qubes-rpc/policy/qubes.UpdatesProxy`

Because legacy. Already replaced by `/etc/qubes/policy.d/90-default.policy`.

part of https://...

3999386cfc3f9e66a389b259b594017dab13773f authored over 2 years ago
fix no connection test and refactor tests

e7aa7b561b9235706efbe905973fe593917f2578 authored over 2 years ago
test cli version

`--no-progress` uses a direct call of cli commands instead of using a python API

9facf5052ef59c566fd19fae4f13a57534579718 authored over 2 years ago
add docs

6c78ff6614cea06f4cbe790bba90be2199ca94b1 authored over 2 years ago
add qubes-vm-update tests

1745f188a563d05267300a739b24de8993be6254 authored over 2 years ago
Merge remote-tracking branch 'origin/pr/485'

* origin/pr/485:
new terminology

d0819e1457c64754e33a1707cbce2c142860d677 authored over 2 years ago
new terminology

5bf291578012b52d3c5de0b44bf8fc822a817d5b authored over 2 years ago
storage/reflink,file: remove(): drop from pool volumes collection

Only a qubesd restart would have finally dropped these volume objects
from the pool (because the...

a5b990b1a0d5c83ca1955394947bbf2bafcfc2a0 authored over 2 years ago
storage/reflink: init_volume(): make it look a little neater

2b25a9c3279ee23b39b4fd0cffd9b742f1d8a7af authored over 2 years ago
storage/reflink: init_volume(): update comment

e4bcb16a41f3d93712a578dbafdeebac65a597d0 authored over 2 years ago
version 4.1.28

d1cc8b2f9cb44157a6ad84b241ac29586c74bce5 authored over 2 years ago
Merge branch 'tests20220707'

* tests20220707:
tests: handle new gedit's window title
tests: adjust qrexec_policy helper t...

4696376567667ea6a417feeb503aad4715764c99 authored over 2 years ago
Merge remote-tracking branch 'origin/pr/480'

* origin/pr/480:
Fixed a doctest in qubes-backup and a typo

8fff124b3afdf6d584abdaa71d701824ec3d73da authored over 2 years ago
Better error message when 'date' or 'hwclock' fail

The traceback is human-unfriendly and provides no additional
information. The stderr output and...

9b91a53c36549a98d1d30ecfb8fad98f26d420f0 authored over 2 years ago
Use a context manager to clean up after qrexec call

This avoids leaking a subprocess.Popen object.

8bc809e61bc9cba87b34ef3039a54bd4c6c73fbf authored over 2 years ago
Support nanosecond precision for dates

Along with several other changes:

- LC_ALL is set to 'C', so 'date' is executed in the C locale...

accfebc23e0d7ec2da7ccacc5c68b3d1800afee9 authored over 2 years ago
Merge remote-tracking branch 'origin/pr/464'

* origin/pr/464:
.qubesbuilder: replace 'spec' by 'build'
Add Qubes Builder v2 integration

3508eda9773d6e9605dcb2f924dcaa4d70ca380a authored over 2 years ago
Merge remote-tracking branch 'origin/pr/482'

* origin/pr/482:
Fix 2 typos

1ca014ef37580bc05397029eda2ab9a7fb4a1423 authored over 2 years ago
tests: handle new gedit's window title

It is now 'Text Editor', not 'gedit'. The change is visible in F36.

91800a2d7ed7d2f5828a07804e2d855a16eb336e authored over 2 years ago
tests: adjust qrexec_policy helper to use new policy location

This simplifies cleanup to a simple unlink.

86eeb3b3928c3959282332da9dbb9adcdcf803f5 authored over 2 years ago
Fix 2 typos

dce5ee86089a07275e88a99c91d4478e9baba441 authored over 2 years ago
make pylint happy: remove obsolete options

aa924eb69d697bfdd0961f58d32b8b070cfe9c90 authored over 2 years ago
make pylint happy: no-self-use was moved to optional extension

2204a579a558760daa4ff4721d63178485b46f05 authored over 2 years ago
make pylint happy: keep bad-functions option available

2b0360f8df555d496fd34db1496eb98bc08322ec authored over 2 years ago
make pylint happy: SafeConfigParser was renamed in Python 3.2+

https://github.com/python/cpython/blob/v3.10.5/Lib/configparser.py#L1234-L1236

fde8d75eea8c4fc1d58075d461512d7a1591243b authored over 2 years ago
app: stop_storage(): fix systemd activation timeout extension

The asyncio.wait() timeout argument is in seconds (not microseconds),
so qubesd wasn't prevented...

cd978eaaf166f229a2a20ee4b737166c535dc04c authored over 2 years ago
Fixed a doctest in qubes-backup and a typo

7786fdf7c8303bee18da6869c10091ee9e905bf1 authored over 2 years ago
Merge remote-tracking branch 'origin/pr/471'

* origin/pr/471:
Proper error on bad VM class
Better error message on invalid property values

bcdf577166a0f1921f41c41a5664cf0769eb4bd4 authored over 2 years ago
Merge remote-tracking branch 'origin/pr/476'

* origin/pr/476:
Fix pylint warning
Use LVM's JSON output

1ea5fa4d9fd6a8de140b0428e31ae04317c76e79 authored over 2 years ago
Fix pylint warning

Line was too long.

ff867a111a6a2c4f45dbb8502e1407c06016f532 authored over 2 years ago
Use LVM's JSON output

This avoids relying on various configuration options in
`/etc/lvm/lvm.conf` that impact the defa...

8bfdcfbf3ffcc5be8b1114a664365d2cbd9eddc7 authored over 2 years ago
.qubesbuilder: replace 'spec' by 'build'

f7960504daadbf72b3a3d74aaa74bafe69e0a09a authored almost 3 years ago
Add qrexec service links for admin.vm.device.usb.* too

The ones for mic were already there.

Fixes QubesOS/qubes-issues#7451

9d65dc4530610a6b4492cc46725e3c30746a684d authored almost 3 years ago
Proper error on bad VM class

If the VM class is incorrect during some operation, report a proper
error message instead of "Go...

e9c3a66f554918d6d3ab376254221dd72f0ecb83 authored almost 3 years ago
Better error message on invalid property values

This results in the exception being reported to the Admin API caller,
which is what is desired h...

76c0328842c92d4ba3cec7c6d4006010ad674185 authored almost 3 years ago
version 4.1.27

4bfd8084b7d5c48cb4b79c34b780e7f325e410bd authored almost 3 years ago
Merge remote-tracking branch 'origin/pr/472'

* origin/pr/472:
tests:dispvm: adjust TB clicking for Debian's TB/GTK version
tests/dispvm: ...

95b3391604b633a89c07f4f7688568c6edf52af5 authored almost 3 years ago
Merge remote-tracking branch 'origin/pr/441'

* origin/pr/441:
QWT handling - do not override explicit negative settings either
tests: mak...

5119f21f9ce6d9d6cfdb83da337c3324003c6aed authored almost 3 years ago
QWT handling - do not override explicit negative settings either

Do not override settings that user set to false/empty explicitly (like,
explicitly disabling aud...

76e5b63262906ccd8f3bcba6931b05cd24af0a3b authored almost 3 years ago