Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update installer status #4

Merged
merged 14 commits into from
Dec 29, 2021
Merged

Update installer status #4

merged 14 commits into from
Dec 29, 2021

Conversation

imobachgs
Copy link
Contributor

@imobachgs imobachgs commented Dec 24, 2021

  • Probing and installation do not block the D-Bus server anymore. For the time being we are using an EventMachine::PeriodicTimer, but probably there is a better way.
  • Add a method Installer#on_status_change in order to inject a callback which is called when the status change. There was some kind of a circular dependency between DBus::Installer and Installer (I only was able to call the #StatusChanged signal through the `DBus::Installer).
  • The DBus::InstallerClient does not exist anymore because of the previous change.
  • Status changes are now properly propagated to the web UI.

TODO: the status update is not handled in the web UI yet.*

Some videos

Partitioning the disk (you need to uncomment the inst_prepdisk client call:

partitioning-a-disk

Delivering properties and status changes to the browser:

fake-installation

@imobachgs imobachgs marked this pull request as ready for review December 24, 2021 17:04
* This call is still commented, but now it will work if it is
  uncommented.
To build and run this software you need a few tools. To install them on openSUSE
Tumbleweed just type:

$ sudo zypper in gcc gcc-c++ make openssl-devel ruby-devel npm
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 to document it

@jreidinger
Copy link
Contributor

lets merge it now as it can do partitioning and software installation

@jreidinger jreidinger merged commit d7e51c7 into master Dec 29, 2021
@jreidinger jreidinger deleted the update-status branch December 29, 2021 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants