5
2
Fork
You've already forked umami
0

Template installation doesn't actually do anything yet #1

Open
opened 2023年08月13日 21:28:41 +02:00 by eaon · 0 comments
Owner
Copy link

Context

Because right now qvm-template is fundamentally a cli tool that has its logic interspersed with output, it means as opposed to most other VM and template related functionality there's no library to use that would give access to progress information or even just the ability to install anything in the first place.

This would best be solved upstream by breaking apart functionality and UI in qvm-template, however that's probably a bigger task then umami development itself, so maybe parsing cli output is the way to go at least temporarily.

[Context](https://codeberg.org/eaon/umami/src/commit/1230d30ad2a542426cdb2ebdef2bbc8f9653a603/umami/__init__.py#L324-L326) Because right now [`qvm-template` is fundamentally a cli tool](https://github.com/QubesOS/qubes-core-admin-client/blob/main/qubesadmin/tools/qvm_template.py) that has its logic interspersed with output, it means as opposed to most other VM and template related functionality there's no library to use that would give access to progress information or even just the ability to install anything in the first place. This would best be solved upstream by breaking apart functionality and UI in `qvm-template`, however that's probably a bigger task then `umami` development itself, so maybe parsing cli output is the way to go at least temporarily.
Sign in to join this conversation.
No Branch/Tag specified
main
No results found.
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
eaon/umami#1
Reference in a new issue
eaon/umami
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?