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
3bc4ec1e98760da2c8026da3eac1f5eafe23e4a1 authored almost 8 years ago
Current pylint (any released version) stumbles on async def'ined
functions. Let's use @asyncio.c...
0) All those methods are now awaitable rather than synchronous.
1) The base method is run_servi...
78693c265c829b7555b156e44af09b8aaa5541b7 authored almost 8 years ago80a06b0d8de333af61cd96a12f4e891e42e016da authored almost 8 years ago
Thanks @marmarek for spotting this.
QubesOS/qubes-issues#2622
a520e8d768b23d94b5d0758b14570d62e3f7dde8 authored almost 8 years agoQubesOS/qubes-issues#2622
45d5a1e049c388b1aa5f2281ae90642f282a9996 authored almost 8 years ago
- Get rid of @not_in_api, exchange for explicit @api() decorator.
- Old @no_payload decorator be...
- mgmt.vmclass.List
- mgmt.vm.Start
- mgmt.vm.Shutdown
- mgmt.vm.Pause
- mgmt.vm.Unpause
- mgmt....
2ec65e595632c8a8ed8ef382b8181279b760374d authored almost 8 years ago
Conflicts:
qubes/mgmt.py
This also means we don't check if a VM with given name (in case of
VMProperty) exists in the sys...
QubesOS/qubes-issues#2622
8defc883a4ce69796417a924eb777ce50a121957 authored almost 8 years agoQubesOS/qubes-issues#2622
cce809c2cbae00e55e20862e41f1ef85432ebf89 authored almost 8 years agoThis will be needed by VMProperty class in the next commit.
QubesOS/qubes-issues#2622
ce3bedbf2c9c8194cb4305ae4f5ccb607e3f9615 authored almost 8 years agoper @woju review
QubesOS/qubes-issues#2622
ad456a338710fc291a69b5c6c17efa76b44ac8ac authored almost 8 years agoQubesOS/qubes-issues#2622
8e3621c4e5cc2cd0dca8f4328ae0cb279a8a353a authored almost 8 years ago
Added a check to qvm-prefs to see if the specified VM is dom0 and,
if so, error out with a messa...
Don't force `return ''` everywhere.
QubesOS/qubes-issues#2622
2c115bb64890eb9e57ffbc0af16a32e141939d5b authored almost 8 years agoQubesOS/qubes-issues#2074
6924ec3b85b735bbb86bc2513144d3439dfbeb8b authored almost 8 years agoIt makes easier to check what functions lack unit tests.
b225cefdf84b98e070269967cd82721a47c6620e authored almost 8 years ago
Since we've added type= argument to property.Get format, it isn't
useful anymore.
QubesOS/qubes...
f93674de1acca91741fb833d33a6b3a1bcd65d2e authored almost 8 years agoFixes QubesOS/qubes-issues#2687
d21f54887df88857063157acccd7d1ee9b8c8b72 authored almost 8 years agoQubesOS/qubes-issues#2622
8371ffcd0f943d49157b353628179d95ca8a41fa authored almost 8 years ago
Instead of creating such tests for each method separately, use unittest
subTest functionality to...
2a223811a56831e9e96548d1973d2618db29604e authored almost 8 years ago
If kwargs contains dict as one of values, it isn't hashable and can't be
used as value in frozen...
Since enforcing keyword arguments for event handlers, it's important now.
35d11678935b49ede7e2a5e8268583bcc0723b17 authored almost 8 years ago944bb2636961fbf7e9b5c7f63e344f975922feb3 authored almost 8 years ago
This provide clearer information for UI.
2c4303efc4f48a98af5d957e72b89d954565b8b8 authored almost 8 years ago
Notify every VM that is affected, not only those providing network
itself.
In theory any call could modify config (through events), but lets keep
writes to qubes.xml low. ...
QubesOS/qubes-issues#2622
010d40dc1e729caf6910ae03d434c58fb969f66e authored almost 8 years ago
Don't allow characters potentially interfering with qrexec. To be on the
safe side, allow only a...
Sanitization of input value is tricky here, and also very important at
the same time. If propert...
It isn't used anywhere - in core3 each storage volume have pool assigned
- which may be differen...
Don't allow anything else than firewall.xml.
2d2672ec583c749047a30d3e024304bcfdae1d4a authored almost 8 years ago
Split it into two functions: validate_name - context-less verification,
and actual _setter_name ...
This also require having property.type public.
QubesOS/qubes-issues#2622
dbf2066dfdfb52780c9b180c082a9d65e34a48f8 authored almost 8 years ago
It would give VM access to some files outside of
/var/lib/qubes/vm-kernels.
3b36e92b6d36d5dc470a68ebb9c727ec36da4b9b authored almost 8 years ago
This allow getting info about a single VM.
QubesOS/qubes-issues#853
10a07c8726d1dc465581e15cab1438c85704395c authored almost 8 years agoQubesOS/qubes-issues#2622
fb7bd6823a434c81fe7f9913db05124dfba770b7 authored almost 8 years ago
It is required property. Additionally, define icon_path to None,
otherwise it tries to access do...
This will allow property being accessed through management API
772293d0b53d78318338c1966e9116c31630aa8e authored almost 8 years ago
eof_received callback should return True, if connection should not be
automatically closed just ...
QubesOS/qubes-issues#2622
80807fb8727d8b7ea50fabd17989f029968efe3a authored almost 8 years ago
This commit makes sure that the Python list vms_list is not mutated
while the code is iterating ...
Prior to this commit, the qubes-core.service inherited systemd's default
timeout value of 90 sec...
Prior to this commit, qvm-shutdown had a limitation where only one
VM name could be passed in vi...
1d9d59a3351b59c043fb950cb07ea4aa946b1808 authored almost 8 years ago
As discussed/agreed, this commit removes the dates from the manual pages
belonging to the qubes-...
qvm-trim-template manually assemble device dict, fix it to include
also 'desc' field, as it is n...
QubesOS/qubes-issues#2622
a5c59a50756de239b8db6c78d0451fb8d5ed799d authored almost 8 years agoQubesOS/qubes-issues#2622
93153da893e851567a1e50d93e7fe27431502f6f authored almost 8 years agoArguments to events are now keyword-only and require exact names.
417cb6e9121bd858d1fc43c32c3eac4b3be15713 authored almost 8 years ago4a247b1b1bece13b95152179b3925655bd878de4 authored almost 8 years ago
Pylint deprecated-method report interferes with asyncio.ensure_future
compatibility monkeypatch....
f7d73893d78b1dfeff7e784fc2cfdf04579180c5 authored almost 8 years ago
c2a0d34ade6de59d2ef571fe89ecfe2c12479849 authored almost 8 years ago
QubesOS/qubes-issues#2622
865ab10a0cc097f06a959d952d954903c31904c3 authored almost 8 years ago
This will allow checking if a given name is valid property name, using
simple `name in vm.proper...
Type is not 16 bit big-endian. Encode it as 8bit code and \x00 as
delimiter explicitly.
QubesOS...
216907580736b749d28d6f9950d89700191cef54 authored almost 8 years agoThat's how it is in the specification.
QubesOS/qubes-issues#853
6ab7032b11bbdb0a8ed29c940d1775865a094b9b authored almost 8 years agoQubesOS/qubes-issues#853
f4616fc36649ec351f9d4221f224e1732a333718 authored almost 8 years agoQubesOS/qubes-issues#853
c4549735963c023e8bf60a6dda5d71d92d8cc4b9 authored almost 8 years agoCheck HMAC file size, read it as binary or with 'ascii' encoding only.
751415434c6409ed284743c3ceeadf189c28ea9f authored almost 8 years ago
Don't fail even if qubes-test.xml do not load at all because of syntax
error - for example empty...
c5a8135fdbc2a1039e9858970b3eaeb8f5ca12ce authored almost 8 years ago
45709b510aa72d40b9da8f63c1d9f51b60763f68 authored almost 8 years ago
13fc8103630a6150502d588992db7bc2226f0c8c authored almost 8 years ago
Check fired events - inspired by qvm-device test.
3ecc0a9bcbe11ef042f292317f062427ffce5b22 authored almost 8 years agoThis reverts commit 0f1672dc6393e61649d096debc1405d22ed6fc65.
Bring it back. Lets not revert th...
1363251438718a3c11f3a2f2470ae3e7efc3f05b authored almost 8 years ago7f2ca33774a55361ae69b0b5d696ebeb3a92c58f authored almost 8 years ago
3726c7d9c39be6455eff6d681a810ed929f4e4d5 authored almost 8 years ago
We already have property ordering defined in property_list(), lets move
it to proper place: prop...
This just make the code compatible with py3k, but nothing more.
Converting to asyncio is probabl...
9ace4e66f1efe883999698f6caa7beef8022dcf7 authored almost 8 years ago
3f29345d3262e3a7f0ce5f9a51ef99c833b81ab6 authored almost 8 years ago
2c3e11295188bd269300899592290d768a6d188d authored almost 8 years ago
cae68f64ca7f857099c6423c7476cc24473bd0c3 authored almost 8 years ago
This will allow more flexible API usage, especially when using mgmt API
- we need to use VM type...
Sync with 0141e1a "qubes/app: Allow keeping lock after load"
5ee05e06e50f9fff4688882a57917b3d7a141f65 authored almost 8 years ago570cbe5225580c1004deff6b19c49bb7457489e8 authored almost 8 years ago
- str/bytes usage
- functools.reduce
- dict.items instead of dict.iteritems etc
d68499f17f161d60d4ba0873e5c2d3f21db7ce54 authored almost 8 years ago
Adjust usage of bytes vs str type.
9cad353939ca3fe365a10ddc6b88e0beb58605b2 authored almost 8 years agof2a1687879985ffa16b93598a6a7f3922d0f0e18 authored almost 8 years ago
QubesOS/qubes-issues#2622
48f10a79c94918ec62e8969c91ad4634be1a55db authored almost 8 years agoPositional arguments are hereby deprecated, with immediate effect.
QubesOS/qubes-issues#2622
be53db4db9250ee6d3cbf057ce0ac3a1d2eb77f1 authored almost 8 years ago25d81b8ab66e8731f49ae4d7ad09082b132da17d authored about 8 years ago
0c433291882308c6238f8f8ab5072267c96652b5 authored about 8 years ago
reduce number of return statements.
e50b17a6b35f9ceccffec6166537f9853443a069 authored about 8 years agoc3fc4062d8293053932271998ca10e0b4845e6e4 authored about 8 years ago
It's moved to /var/run/qubes and now is built based on $DISPLAY.
a317e81d7e5b26b2dd9c26829b1e0b0f13cd75f5 authored about 8 years agoQubesOS/qubes-issues#2185
1c20aae98aff7e86fc40cb39f98cf3e8e9bf5ceb authored about 8 years ago
If template choosen for the tests is installed in non-default storage
pool, this pool also needs...
It's args.domains[0], not args.vm.
98edc9779c39995763ebb76ab66d0a6e5c89e5b5 authored about 8 years ago
Have dm-snapshot of dm-snapshot. The first layer is to "cache" changes
done by base volume holde...
If qmemman socket isn't closed, it will block other VM startups.
bcab92ee64c9024b265d863909f484f566b6fe8f authored about 8 years ago
Content should be reset back to base volume at each VM startup.
Disposable VMs depend on this be...