Skip to content

Prepare support for other backends#737

Merged
meisenzahl merged 33 commits intomainfrom
prepare-backends
Oct 3, 2024
Merged

Prepare support for other backends#737
meisenzahl merged 33 commits intomainfrom
prepare-backends

Conversation

@meisenzahl
Copy link
Copy Markdown
Member

This serves as preparation to be able to support other installer backends.

@meisenzahl meisenzahl marked this pull request as ready for review September 26, 2024 10:30
@meisenzahl
Copy link
Copy Markdown
Member Author

meisenzahl commented Sep 26, 2024

I successfully tested this with elementaryos-8.0-daily.20240925.iso.

Steps to test this
  • Try Demo Mode
  • Add # to deb cdrom in /etc/apt/sources.list
  • sudo apt update
  • sudo apt install git
  • git clone https://github.com/elementary/installer
  • cd installer
  • git checkout prepare-backends
  • sudo apt build-dep io.elementary.installer
  • meson build --prefix=/usr
  • ninja -C build
  • sudo ninja -C build install
  • sudo systemctl daemon-reload
  • sudo systemctl restart io.elementary.InstallerDaemon
  • Log Out
  • Install as usual

@meisenzahl meisenzahl requested a review from a team September 26, 2024 10:33
Copy link
Copy Markdown
Member

@danirabbit danirabbit left a comment

Choose a reason for hiding this comment

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

A couple questions :)

Comment thread common/DBusStructures.vala
Comment thread src/Utils.vala Outdated
Comment thread src/HostnameValidator.vala Outdated
Comment thread src/HostnameValidator.vala Outdated
Comment thread src/HostnameValidator.vala
@danirabbit
Copy link
Copy Markdown
Member

@meisenzahl Would it be too much to ask to propose the hostname validator bit as a separate branch? I think that's probably worth its own commit

@meisenzahl meisenzahl mentioned this pull request Oct 2, 2024
Copy link
Copy Markdown
Member

@danirabbit danirabbit left a comment

Choose a reason for hiding this comment

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

This looks good to me! I can confirm that the new DistinstBackend file is basically what was in Daemon plus a few methods to convert from Distinst structs to our internal structs

@meisenzahl meisenzahl merged commit c35927a into main Oct 3, 2024
@meisenzahl meisenzahl deleted the prepare-backends branch October 3, 2024 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants